Application Development 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: 

file mapping

Former Member
0 Kudos

Hi

I have to develop BAPI PO posting prog. But the mapping file

I got is according to BDC. Can anyone suggest whats the best

way to convert BDC formal mapping into BAPI mapping format.

BAPIs i am using are BAPI_INCOMINGINVOICE_CREATE and

BAPI_ACC_DOCUMENT_POST.

Thanks

7 REPLIES 7

former_member191735
Active Contributor
0 Kudos

If you can read the file into internal table and you know the fields and required fileds... I would suggest bapi. with bapi, you dont really map the file but read the contents into internal table and call bapi according to the data.

Former Member
0 Kudos

Hi,

There is no automatic mechanism to convert BDC mappings to BAPI. So need to pass data from Source internal tables to BAPI internal tables and finally need to call the BAPI.

For Sample code you can refer : [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-BAPIIncomingInvoicePost%28MIRO%29]

0 Kudos

Thank you Sampath and Satya.

Just asking an unusual question here... is it possible some one can guide me over phone so I can understand things better

0 Kudos

That is unusual though where are you? i mean in which country?

matt
Active Contributor
0 Kudos

The publishing of personal information on these forums is forbidden

If you want to be contacted, you can maintain email addresses, phone numbers etc. on your business card. At your own risk.

0 Kudos

USA

0 Kudos

Sorry. See MATT response.