cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI - example

Former Member
0 Kudos

Hi All,

I have a PDM system where all BOms are designed and a ERP system. Boms are created at PDM level are moved to ERP on regular basis with the help of an IDOC.

Before posting Data i need to verfiy few validations for the ERP system from PDM system. Basically, i have to retrive ERP systems Data at PDM system to do some validations.

I understand taht RFC or BAPI's can help in this regard.

Can any one suggest more on this. May be a existing Example in SAP ?

Thanks and Regards,

Manohar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manohar,

You can use RFC for this purpose. BAPIs are also Remote enabled functions. so you can search if any existing BAPI is there or not which fetches the data you want. otherwise you will have to create a remote enabled function (RFCs) which selects required data. then this function you can call from your PDM system. you can see RFC API documentations for how to call a RFC from outside.

Regards,

Komal.

Answers (1)

Answers (1)

nablan_umar
Active Contributor
0 Kudos

Manohar,

I assumed your PDM system is an R/3 system. Based on this, you probably need to do the validation in your user exit of idoc input function module. Look at function module IDOC_INPUT_BOMMAT. See whether you can make use of one of the the business transaction event provided in this function module.