Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in BAPI FM

Former Member
0 Likes
562

Hi Experts,

I am using bapi FM: BAPI_PO_GETDETAIL1'. In this Fm i am passing PO number and account_assignment. I am getting poitem and poaccount. but when i am execute my program it is going dump.

So know i am using direct fetch the data from tables . But i want POITEM structue acctasscat and trackingno fields. As same as POACCOUNT structure costcenter and control-area. If i want these fields data, which table's based can i use.

Please help me on this.

Thanks

Srinu Vasu

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
509

what is the dump report ?

I guess its becauase of type conflicts in import/export parameters.

Read only

Former Member
0 Likes
509

Analyse the dump. BAPIs are standard APIs provided by SAP. They should work in any program. Just see, if there is any data type mismatch error in your program. You can see the example by searching the usage of this BAPI via where used list link.

Regards,

Prashant

Read only

Former Member
0 Likes
509

Hi Srinu,

Check the input values while passing to the Function Module.

You may get the required info. from the table EK*...for ex: EKKN - Account Assignment in Purchasing Document.

Regards,

Shiva.

Read only

Former Member
0 Likes
509

Solved