cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI required fields

Former Member
0 Kudos

Can someone tell me that

How can we figure out the REQUIRED FIELDS needed to pass to the BAPI_xxx, inorder to complete the change we aim from this BAPI_xxx.

As this BAPI_xxx is already available, not created by me so need to find a way to get the IMPORTING fields info.

Thanks,

Narendra.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Narendra,

(after importing to XI) Add any BAPI to a "test" Message mapping ->target -> all the fields in Green color are Mandatory.

Regards

Vishnu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Narendra,

Go to transaction SE37 in your SAP system,enter the name of your BAPI and press on display.

On Imoprt/Tables Tab you will find a Check box Column called 'Optional'. If this is checked for a particular field then it is optional otherwise it's mandatory.

Apart from this the field could be mandatory based on business requirements (i.e validation within the BAPI code). For this go through the documentaion of the BAPI in the transaction BAPI.

You can also have a look at the occurances in the XML message in XI if you have imported this BAPI in XI.

Regards

Anand