on 07-10-2007 12:33 AM
Hi,
Anybody have good suggestions on how to skip a record(xi not process the record) based on certain conditions? I don't want to use bpm, anybody has experience with file to idoc can advise how to deal with this situation?
Thanks,
Meg
Meg,
Can u explain little bit more. Based on conditions u want to skip the field or the entire struture prevetnting to post in IDOC.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Thanks for your response, my scenario is e.g. I have 10 material master record in one flat file that I want to send to xi then to r3, on my 7th material master record, it has a Delete status, so I do not want xi to process this record but to continue on the 8th record, I hope I make myself clear...do you know how to handle this kind of situation using xi?
Thanks,
Meg
Meg,
Its very clear. It can be easily done. I hope u might be knowing about Michal's changing the IDOC occurence blog. Based on that blog change the IDOC occurence to 0...Unbounded.
Now map all the necessary fields to the target IDOC. On the IDOC root node set condition from source if the source field is not Delete then create IDOC else don't create.
Source --- If without else[Check condition if the source is delete] -
IDOC(root node).
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Hope its clear, if not kindly revert back.
Best regards,
raj.
Maggie
Please note down the below steps. In your message mapping your target must be the External Definition IDOC. But in case of Interface Mapping your target must be the actual IDOC. After clicking read Interfaces, and while choosing mapping you won't find the Mapping , bcoz the mapping is done between your source and External Definition. So what you have to do while choosing the mapping , in the top of the Mapping selection pop-up choose any & any for source and target and locate ur mapping manually.
Best regards,
raj.
Jai,
Thats true, I didn't thought of saying it,inspite I haven't thought in that angle itself. Coz we want to duplicate the IDOC segment only, So I suggested him not to use Changing the occurrence using messages tab.
@Maggie: I said that it will change the occurrence of MATMAS node only, in addition to that as Jai said, we can't use bcoz Multimapping is not supported by Inbound IDOC's. The next method(Michal's blog) as we discussed will work perfectly.
Thanks for reminiding both of us Jai.:-)
Best regards,
raj.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.