Current position:  Home > Default > IDOC to file....bpm or without bpm...help needed..

IDOC to file....bpm or without bpm...help needed..

Time:October 11
Advertisement
Hi XI friends,
its IDOC to file Scenario..
its daily scheduling report..if we run that report.....Number IDOCs are generated in SAP..
we have 5 legacy systems..
for one legacy systems file type is .txt file and for remaining xml files..
the catagarization based on one of the field in IDOC..
if that field is 01 the file type should be .txt file
for others xml file..
if that field is 01 then ..XI need to collect all the IDOCS into one .txt file for other values direct conversion into XML file i.e..each idoc gets into one xml file
if that filed is 01..then XI need to collect all the IDOCs in that day into single .txt file and the fileds are Fixed lenghts...and at the same time ..that idoc contains number of segments ..if any Idocs doesnt contain some segments..ther should be no more blank lines...each segment should placed in new row...and also..for some segements ..XI should collect into seperate .txt file....
please help me....how to achive,,,,,,
regards
Munna
Advertisement
<i>if that field is 01 then ..XI need to collect all the IDOCS into one .txt file for other values direct conversion into XML file i.e..each idoc gets into one xml file
if that filed is 01..then XI need to collect all the IDOCs in that day into single .txt file and the fileds are Fixed lenghts...and at the same time ..that idoc contains number of segments ..if any Idocs doesnt contain some segments..ther should be no more blank lines...each segment should placed in new row...and also..for some segements ..XI should collect into seperate .txt file....</i>
in this case BPM will be required to collect the IDOCs ref: http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
base the correlation on the field that contains the value 01
also then later using XPATH in your receiver det. you can check for the value and route the message to the particular receiver as u want to
ref:
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers