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

Inbound file for IDOC processing

Former Member
0 Likes
2,859

Hi SAP Gurus,

I want to create an IDOC by using <b>INBOUND FILE</b> option in <b>WE19</b>. Can anybody suggest, how the flat file will look like ?

FYI, my Idoc type is <b>BBP_PCSTAT01</b> ( Procurement Card Statement).

Any idea ?

Thanks and Warm Regards.

Pras Durafe

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,502

Go to a server and find yourself an idoc that you want to use as a template.

Display the idoc using WE19.

Click Inbound file

Type in a file name - for example /tmp/test (you need to use an AL11 directory).

Make sure the option 'Start inbound idoc processing of the file immediately' is unchecked.

Choose overwrite file

Then click the tick.

This will write you an idoc into the AL11 directory structure in the system you are operating in.

Using the download and upload functions (CG3Z & CG3Y), get the file transferred to the production AL11 directories.

Use WE19 to process your downloaded idoc.

Use the option 'File as template' to pick up your file.

You should now be able to process your idoc as you wish

regards

Aveek

5 REPLIES 5
Read only

Former Member
0 Likes
1,502

This is an example of idoc with flat-file:

EDI_DC40 100000000000413988546B 2 INVOIC01 INVOIC MM E97A INVOICSNDPRN LIRS86092747 SAPITZ LS CLNTITZ100 20040210105203

E2EDK01005 100000000000413988500000000000001 USD INVO4139885

The first record indicate the header data; after this, for each segment type, the information about the segment.

If you send me your email address, I can send you a complete example file.

Gianluca

Read only

Former Member
0 Likes
1,503

Go to a server and find yourself an idoc that you want to use as a template.

Display the idoc using WE19.

Click Inbound file

Type in a file name - for example /tmp/test (you need to use an AL11 directory).

Make sure the option 'Start inbound idoc processing of the file immediately' is unchecked.

Choose overwrite file

Then click the tick.

This will write you an idoc into the AL11 directory structure in the system you are operating in.

Using the download and upload functions (CG3Z & CG3Y), get the file transferred to the production AL11 directories.

Use WE19 to process your downloaded idoc.

Use the option 'File as template' to pick up your file.

You should now be able to process your idoc as you wish

regards

Aveek

Read only

0 Likes
1,502

Thanks for your help Aveek / Simmone.

Warm Regards.

Pras Durafe

Read only

Former Member
0 Likes
1,502

Hi,

I am having a problem in uderstanding how the bank settlement file is received by EBP and then processed.

Do you have some time to answer?

1 - the idoc BBP_PCSTAT01 has something to do with the bapi BBP_PCSTAT? This bapi message is between SRM and R/3 or is the one that is in charge of entering the bank file in SRM?

question 2: if the procurement card statement is the one the bank sends, then is it an inbound idoc and in particular the BBP_PCSTAT01?

question 3: which format is the bank file and how do you convert it into an idoc?

Could you explain briefly which are the steps that take place?

Thank you

Matteo

Read only

0 Likes
1,502

Hi,

could you meanwhile identifly the necessary steps in detail for Procurement card settlemtn processing with IDOC BBP_PCSTAT in SRM? Could you please share your experinces?

Thanks & Regards,

Paparao Madasu.