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

Upload the data for AR line items

Former Member
0 Likes
922

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

7 REPLIES 7
Read only

Former Member
0 Likes
873

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.

Read only

0 Likes
873

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

Read only

0 Likes
873

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.

Read only

0 Likes
873

Ya Aneesh,

thanks a lot for your reply......

thanks for the link also aneesh......

Can anyone guide me further on this issue plzzzz......

SRI

Read only

0 Likes
873

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.

Read only

Former Member
0 Likes
873

please see the below link for user exit in the BAPI

reward points if it is usefull ...

Girish

Read only

0 Likes
873

Girish,

Can u check the link once its not working..........