‎2009 Oct 26 4:55 AM
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
‎2009 Oct 26 5:32 AM
what is the dump report ?
I guess its becauase of type conflicts in import/export parameters.
‎2009 Oct 26 7:22 AM
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
‎2009 Oct 26 10:05 AM
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.
‎2010 Jun 01 7:13 AM