. Net connection to SAP system topic: C # (NO3) Call bapi (V)

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.