cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt on Mapping, Context handling/Node functions

Former Member
0 Kudos

Hi Experts...

This is the structure of a sample message that we get from Agile. BOM1 and BOM2 are two BOMs (basically a material) having BOM Items A,B,Cu2026. (basically Material components)

PARTS and DOCUMENTS have the material related information.

Apart from that we have certain segments inside each BOM, called REDLINES, REDLINE BOM CURRENT, REDLINE BOM PREVIOUS (not depicted below) which contains information whether the material item has been added, changed, deleted or unchanged and some more information.

ROOT
	R1
		R2
			BOM1						
			B-Item A
			B-Item B
                R2
                        BOM2
			B-Item C
			B-Item D
		        B-Item F
       PARTS
	        BOM1
       PARTS
	        B-Item B
       PARTS
	        B-Item D

       DOCUMENT
	        B-Item A
       DOCUMENT
	        BOM2
       DOCUMENT
	        B-Item C
       DOCUMENT
                B-Item F

The target structure has 4 different tables. One of them is a table structure called MATERIALS where we should have 7 records in this case.

For BOM1 and BOM2 we need to pass details from inside the same node + additional info from Parts/Docs

Same applies for B-Items.

Qn:1

How do I link Parts/Doc/R2 nodes  MATERIAL so that I can get 7 records?

When I link ROOT I get one record

When I link R2; I get 2 records (I tried changing the context to ROOT; dint work!)

When I link Parts I get 3 records

When I link Docs I get 4 records

Is there a way to link PARTS nodes + DOCS nodes to MATERIAL?

Qn2:

Do you think that for this case we need to split the entire document to 1: n as shown below? Is there a way without splitting? Coz I have a BPM calling a sync abap proxy to post, process and return data (ya we using BPM + a Sync call!!!!)

ROOT
_____________________________________________
BOM1						
	B-Item A
	B-Item B
PARTS
	BOM1
PARTS
	B-Item B
DOCUMENT
	B-Item A
______________________________________________
BOM2
	B-Item C
	B-Item D
	B-Item F
PARTS
	B-Item D
DOCUMENT
	BOM2
DOCUMENT
	B-Item C
DOCUMENT
        B-Item F

Qn3.

I read from somewhere that when we use sync call; the BPM as to get a response back within 30 s, else it will fail.. is that true?

Please help!!!!

Thank you.

Regards,

Smitha

Edited by: Smitha Madhavan on Jul 23, 2008 9:35 PM

Edited by: Smitha Madhavan on Jul 23, 2008 9:40 PM

Edited by: Mike Pokraka on Jul 24, 2008 1:42 PM

Edited by: Smitha Madhavan on Jul 24, 2008 6:41 PM

Read the "Rules of Engagement"

Edited by: Juan Reyes on Jul 25, 2008 8:44 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Smitha,

Qn:1

How do I link Parts/Doc/R2 nodes  MATERIAL so that I can get 7 records?

the structure is not clear. Please provide the source and target structure with examples ( what is expected).

Qn3.

I read from somewhere that when we use sync call; the BPM as to get a response back within 30 s, else it will fail.. is that true?

No . You can set how much time the interface need to wait for response in dedaline branch

Regards,

Kishore

Former Member
0 Kudos

Thanks Kishore.

The sample file is very very big and data is distributed and difficult to understand. The one I have provided is therefore a simplified model of the file. Let me narrow down to one step further:

How can we perform: if A_NUM = B_NUM; pass NAME

to the target field from the below structure:

ROOT
            NODE1
                        NODE2
                                    A_NUM

            NODE3
                        B_NUM
                        NAME

            NODE4
                        B_NUM
                        NAME

Thanks in advance!