cancel
Showing results for 
Search instead for 
Did you mean: 

File to IDoc scenario

Former Member
0 Kudos

Hi experts,

IMy scenario is File to IDoc i am sending xml file with it has 100 records to receiver sap system here we are using IDoc ,

requirement is not trigger or not post the first 50 recorrds , it should be ignored and remaining 50 records will have to post sucessfully. please give the suggestion how to resolve it.

Regards,

Sudeepth.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear All,

For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.

For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.

I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.

Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

Former Member
0 Kudos

Hi Sudeept,

Can i ask in detail why the first 50 records need to be ignored?

Are those 100 records has any header or line item level or simple stand alone records.

If it is first 50 records, you can use shab's advice on index creation. If it is random records, you need to have some sort of validation to be done in the mapping itself.

Regards

Krish

Shabarish_Nair
Active Contributor
0 Kudos

you will have to handle it in your mapping itself.

use the index function to return the occurance and then have a logic to create the target IDoc for only messages after 50