Sap Idoc Lookup 追蹤
How can I get data from an IDOC segment that is not linked to my Master segment as a parent-child.
Would it be in some way possible using repeating segment rules? I tried that, but only the left hand side has a drop down for segment and segment field, the right hand only has criteria. I'm not sure how to refer to another segment field in the criteria field..
Would it have to be done using VB script. Is there some sample code you can share with me?
I could extend the SAP IDOC to have all the label fields in 1 segment, but that would mean future maintenance in SAP .
If there is some way this can be done using Bartender itself, that would be great.
Just as an FYI, I do have a field common in both the segments..
Like for example 1 segment X has the following fields...
Material #, Qty
and segment Y has the following fields
Material #, Material Description
Segment X and Y do have have a parent child relationship, but occur on the same level on the IDOC
and there could be multiple segments for X and Y, because there could be multiple materials on the IDOC.
So I need to be sure that I am printing the correct Description on the label.
I have segment X as the master segment, but I need some way to read all the segment Y's and pick up the Material Description only from the segment Y that has the same Material # as the Material # from Segment X.
Thanks in Advance.