2007 Jul 09 10:54 PM
hello experts,
I got one bapi to upload the data for AR line items and G/L line items <b>BAPI_ACC_BILLING_POST</b>. This bapi is containing all the fields to be mapped.... except BSEG-ZUONR, RSTGR and WSKTO.
If I add these 3 fields also into the the bapi extension1 table and write the logic in the corresponding user exit it will fulfill the requirement.
Can anyone guide me how to add these fields to the above function module IN EXTENSION1 table....
Please its bit urgent... can anyone guide me plz plz
SRI
hello experts,
I got one bapi to upload the data for AR line items and G/L line items <b>BAPI_ACC_BILLING_POST</b>. This bapi is containing all the fields to be mapped.... except BSEG-ZUONR, RSTGR and WSKTO.
If I add these 3 fields also into the the bapi extension1 table and write the logic in the corresponding user exit it will fulfill the requirement.
Can anyone guide me how to add these fields to the above function module IN EXTENSION1 table....
Please its bit urgent... can anyone guide me plz plz
SRI
2007 Jul 10 12:52 AM
Hi Sri,
I have used LSMW for uploading AR open items as I have to create a ZBAPI for the above conditions(the ones that you specified) to be satisfied and creation of a ZBAPI is a bit harder than using LSMW.
Object 0100
In mappings, use TCODE = 'FB01'.
Regards
Aneesh.
2007 Jul 10 1:03 AM
Ya Aneesh I can understand that but my requirement is not so simple to upload the data only for the AR items. I have to upload the data for G/L item details also which comes in another file... so its really hard to upload the data seperatly... so thats y i am going with this bapi it is containing all the fields what ever i require to upload for both the files. Just those 3 fields are not there if i can add those fields then its quite easy to go with this bapi...
Can any one guide me plz how to use the Extension1 in the above bapi.....?
SRI
2007 Jul 10 1:28 AM
Hi,
I have uploaded G/L items also. But I dont have SAP right now. Once I go to office tomorrow I can paste the code for both of those.
Sorry for the trouble.
Also check this link for ZBAPI creation.
http://www.erpgenie.com/abap/bapi/example.htm
Regards
Aneesh.
2007 Jul 10 4:33 AM
Ya Aneesh,
thanks a lot for your reply......
thanks for the link also aneesh......
Can anyone guide me further on this issue plzzzz......
SRI
2007 Jul 10 4:40 AM
Hi Sri,
You can go thru this link and find the Steps needed to Add new fields to the BAPI - EXTENSIONIN parameter.
http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099a68b8911d396b70004ac96334b/content.htm
Hope this will help u.
2007 Jul 10 4:50 AM
2007 Jul 10 4:52 AM