Working overtime on SaturdayProgramThe original case was accidentally discovered, that is, to allow the user to apply for an SAP User on the current OA, and then submit it to the relevant personnel for review. After the application is passed, the user is directly generated in SAP, you do not have to log on to sap as a system administrator. As for this step, it is certainly implemented using bapi, and it is impossible to add data to the user table. This would be a disaster if a lot of associated tables and some logical judgments are lost.
The previous articles talked about C # To Call RFC. Since bapi is also an RFC, if the remote is selected as the standard, it is reasonable to say that the call can be implemented. However, the difficulty is that many bapi parameters reference the structure, rather than the string and INT types. This is a bit difficult. In C #, I checked whether NO3 has related structural classes. Unfortunately, none of them exist!
I checked the relevant content and found that there were almost no examples of calling bapi. It seems that there are very few people using NO3.
I have to be self-reliant. Fortunately, after a lot of rigorous thinking and attempts, I finally realized that I had to call bapi in C # To input business data. I tried to use the bapi "bapi_user_create" to add a user.
Then, the related content andCodeNote: Let's release it in the next blog!