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

IDOC for FB01

Former Member
0 Likes
2,673

Hi

I need IDOC type Message type to populate the data from external files.Its an Inbound interface where i would populate the data into idoc segments and create the inbound idocs...Upon processing the idocs the accounting documents should be generated.

Its mostly FB01...Data is external so i will have text files..so i will create a program to populate the IDOC data and create inbound idocs...

Please let me know which IDOC type / Message type i should use..and settings in partner profiles in WE20 i.e.Logical system,port etc(useful info) to create inbound idocs

Thanks

govi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,423

Hi Govi,

In order to to post the file in to the system and create a accounting document post,

there is a standard bapi availble : BAPI_ACC_DOCUMENT_POST.

The message type is ACC_DOCUMENT.

you customise this bapi as per your requirements.

in the port definition:in the inbound paramters under message type give the message type,

process code as BAPI, check the cancel processing after syntax error

and check the radio button trigger immedaitely.

3 REPLIES 3
Read only

Former Member
0 Likes
1,424

Hi Govi,

In order to to post the file in to the system and create a accounting document post,

there is a standard bapi availble : BAPI_ACC_DOCUMENT_POST.

The message type is ACC_DOCUMENT.

you customise this bapi as per your requirements.

in the port definition:in the inbound paramters under message type give the message type,

process code as BAPI, check the cancel processing after syntax error

and check the radio button trigger immedaitely.

Read only

0 Likes
1,423

Thanks for your reply

Could you please let me know How can i populate the IDoc data?

Since its a BAPI and a message type...what is the idoc type?

you mean to say when i populate the Data to the BAPI and settings in the inbound side for message type it will automatically create the IDOCs?

Please let me know

Govi

Read only

0 Likes
1,423

Thanks Naga ...It helps