Need to generate 2 idoc"mapping issue"
Hi Experts,
When the Purchase_order_type is coming like HIGH,REGULAR,NEW,BOUNCED. In this case i need to generate 2 idoc, based on HIGH is one and Other than HIGH is one, even though if it's REGULAR,NEW,BOUNCED.
I can't generate. pl suggest
rgds
selvam
Hi,
Please make sure you will sort the data in your select query.
Now, you need to have two idocs in mapping. Click on Duplicate Subtree to have second IDOC. Now lets assume, your first IDOC represents mapping when ORDER TYPE is HIGH and your second IDOC represents mapping when your ORDER TYPE is not equal to HIGH that is NEW, BOUNCED, REGULAR etc.
I have defined Source and Target data type as follows.
Source Data Type:
SDN
<Row>
<CQ_NO/>
<ORDER_TYPE/>
<LINE_NO/>
</Row>
Target Data Type:
SDNTarget
<IDOC>
<Node>
<CQ_NO/>
<ORDER_TYPE/>
<ItemNode>
<LINENO/>
</ItemNode>
</Node>
</IDOC>
Mapping for IDOC 1:
IDOC:
Order Type -->Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed) -->collapse context
Output of point 4 will be first input to u201CStart withu201D function and second input will be constant u201Ctrueu201D
Output of Point 5 --> create if --> IDOC
Node:
Map with constant
CQ_NO:
Order Type --> Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed)
User Format By example. Pass CQ_NO (Context of CQ_NO should be at Row) as first input and second input should be output of point 4.
Pass Output of format by example that is point no 5, to collapse context --> Split by value (Each Value) --> CQ_NO
ORDER_TYPE
Order Type --> Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed)
User Format By example. Pass ORDER_TYPE (Context of CQ_NO should be at Row) as first input and second input should be output of point 4.
Item Node:
Order Type --> Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed)
Output of point 4 will be first input to u201CStart withu201D function and second input will be constant u201Ctrueu201D
Output of Point 5 --> create if --> IDOC
Similar Messages
-
File - XI - Idoc : mapping issue
Hello gurus,
I have a mapping issue:
I have a mapping between FICABillingNotification to FKK_EBS_DOC_TREE
Some fields are mapped one to one, others a mapped to constants.
But for some reason i don't know, not all fields get the right value.
For example:
Working:
Constant 1 --> BEGIN
Constant LS --> RCVPRT (Receiver Partner Type)
Not working:
Constant FILE-->RCVPOR (Receiver Port)
I had an other value the first time i tried it, but now i changed it to FILE but this value is not used by the mapping.
Any help would be welcome
Thanks
Thomas
Edited by: Thomas Pary on May 28, 2008 3:36 PMThis was allready done (sorry i didn't answered that question).
But Ok now i see, that for this RCVPOR the value of the constant "FILE" is mapped, and i can see it in the payload in SXMB_MONI after the mapping. But it isn't populated to the IDoc field :-s
Another problem is, that like the one said above, some of my values are not mapped :
<FICAExternalBilling>
--<DocumentHeader> mapped to EF1KK_EBS_DOC_HEADER
<BillFromId>25001254</BillFromId> mapped to REF_DOC_NUMBER
<PostingDate>20080520</PostingDate> mapped to POST_DATE
<DocumentDate>20080520</DocumentDate> mapped to DOC_DATE
<OriginTypeId>IV</OriginTypeId> mapped to EXT_DOC_TYPE
<ObjectType/>
<ObjectKey/>
<PendingCommitmentGroupID/>
<InvoiceReferenceID/>
<DisputeDocumentReferenceID/>
--</DocumentHeader>
The value of OriginTypeId is not mapped, but the value of DocumentDate and PostingDate are mapped. -
Flat file to idoc mapping issue
Hi Gurus,
i had a flat file format in sender side as below:
H_ID TYP_CODE line_elemet Quantity
5896 STANDARD 1.transmitter 1
5896 STANDARD 2.xxxxxxxxx 1
5896 STANDARD 3.yyyyyyyyy 2
6895 STANDARD 1.aaaaaaaaa 1
9436 STANDARD 1.bbbbbbbbb 4
9436 STANDARD 2.ggggggggg 3
The above file need to be send to an Idoc.
for which same header_ID values should create only one header segment, under that many a line segments should create as many line items appear on that header_id value.
Here my query is how to suppress the repetetive header values to create onlyone header segment. And how to create as many line_item segments as the number of line items appear.
points obvoius for the response
Thanks in advance,
Sekhar.About map problem I suggest youn to see the following link that are really helpful to improve knowledge about mapping:
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
I suggest you to see the following link to learn more about mapping:
Mapping functionality in XI
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
SAP Exchange Infrastructure - Graphical_Mapping
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6658bd90-0201-0010-fbb6-afe25fb398d3
SAP Exchange Infrastructure - Graphical Mapping Exercise
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fd5ebd90-0201-0010-d697-91374d5b5190
SAP Exchange Infrastructure - Graphical Mapping - Advanced
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd
SAP Exchange Infrastructure: Mapping Patterns - Understand Context Handling in Message Mapping - Webinar Powerpoint
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b
SAP NetWeaver Exchange Infrastructure Mapping Troubleshooting - Webinar Powerpoint
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e01e9400-9e81-2910-20a5-a862945a5e98
Mapping Lookups a RFC API
Mapping lookups - RFC API
XI 3.0 New Mapping Features
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
I hope these links will be usefull.
Regards,
Salvatore -
IDOC mapping issue (calculation using parent and child fields)
We are mapping an IDOC to a file for output to a third party. The IDOC has many segments, some of which are embedded. This is where I'm having the issue. I am trying to perform a calculation on a field from the parent node (E1EDP01-MENGE) with the field from the child node (E1EDP05-KRATE) to determine the total tax for that line (qty X rate).
<b>Issue:</b> The mapping that is in place is using the same MENGE value for all calculations, even where the E1EDP01 segment is not a parent of the E1EDP05 segment.
Please review the screen prints and explain how I can correctly group the E1EDP05 child segments rate field (KRATE) with the corresponding parent segment E1EDP01 quantity (MENGE).
<b>Example:</b>
Parent segment, E1EDP01 / Child segment E1EDP05 (There are many E1EDP05 segments for 1 E1EDP01 segment)
E1EDP01 (parent node)
E1EDP05 (child node)
<b>Target structure</b>
ITEM (parent) --->E1EDP01 is mapped at node level
-->ITEM_DATA --->E1EDP01 is mapped at node level
-->ITEM_TAX --->E1EDP01 is mapped at node level
-->(fields for item_tax)
-->Record type
-->Invoice number
-->Line total
-->etc...
I am mapping (E1EDP01-MENGE) for calculation with (E1EDP05-KRATE) to determine tax at the line item level. I have the context set at each Node, E1EDP01 for MENGE and E1EDP05 for KRATE. I was using CopyValue, but this was using the frist occurence of MENGE for all line items.
<b>mapping example</b>
<u><b>*I am using MENGE (Copy_Value) then multiplying by KRATE to get the line item total. This was causing the same MENGE (because of Copy_Value) for all line items.</b></u>
E1EDP01-MENGE|Copy_Value|MULT--->TAX_ITEM-LINE_TOTAL
E1EDP05-KRATE|
I removed the CopyValue and now I'm getting the following error:
Cannot produce target element /ns0:MT_DTN_INVOICE1/INVOICE/ITEM/ITEM_TAX[3]/LINE_TOTAL. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
How can I map this so the child records (E1EDP05) are grouped with the correct parent records (E1EDP01)?
Thanks in advance!
MichaelCheck this blog:
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Regards
Stefan -
Hi Friends,
I am again posting this thread in more ellaborated way since I did not got the solution...please give me the solution if any one knows...
I have one scenario as below:
Sender system: Will have MATMAS05 IDoc structure.
Receiver Systems: There will be say 4 R/3 receiver systems.
The IDoc segments should be distributed to some (all R/3 Receiver system)
i.e Based on plant and Logical system some segments of the IDoc MATMAS04 from sndr system should move to particular receiver R/3 system and like wise some other segments to another Rcvr R/3 System and so on.
Could you please help me in this regard how to start with this..
Is BPM required for this scenario..?
If so then is BPM able to call the Table name which resides in the ABAP stack..?
then how to proceed for this ..?
Eagerly waiting for you valuable solutions/approach
The Source structure MATMAS04.
I think we need target structure :Many MATMAS04 IDocs is required because some segments of the IDoc MATMAS04 from source system should move to particular receiver R/3 system and like wise some other segments to another Rcvr R/3 System and so on.
Can I go for Duplication subtree in the target or shall I have to go to message tab in the mapping editor andf enter the IDoc of required numbers...? so that I can have multiple say 4 IDoc structure( if receiver is four).
Please tell me how to distribute the source IDoc particular segment to particula receiver based on plant num and logical system details in ABAP stack.
If I map the control record EDIDC_40- RCVPOR of the target structure to the receiver (in the Constant standard function) will it work..?
Points will be awarded...
regards
SampadaSampada,
You do not need BPM in this case. You can just create different mapping for each receiver system with different segment.
and in configuration you can specify which mapping rule to be used for each receiver. This way it would be much faster. This is very easy.!!
Again you do not need BPM for this....
Let me know if you need more details.
Nilesh -
Plz , need help on IDOC mapping
Hi friends
I need help on mapping IDOC (invoic02) to a customer fields to be sent to a printhouse .
The idoc contains several Item lines , from 1 and up after for instance
The fields E1EDP01-MENGE and E1EDP26-BETRG could be repeated many times , the customer wants eah line item (quantity , price and subtotal ) in separate lines.
What is the best approach to do the mapping , and how can I loop in the idoc segments in order to get each line separetly.
Many thanks in advance.Hi
Thanks again , plz bear with me as i am new to this kind of assignment.
This is a part of my requirement, so i suppose that I have to create a Data type as node for the customer fields corresponding to the node in IDOC and just map the source node to the target node , and it will repeat it self as many times as there is line items in the sales order.
Customer fields Idoc fields.
segment E1EDP01
DETAIL_ANTAL E1EDP01-MENGE - LOOP
segment E1EDP26
DETAIL_STK_PRIS E1EDP26-BETRG - QUALIFIER = 001- LOOP
DETAIL_SUBTOTAL E1EDP26-BETRG - QUALIFIER = 003 LOOP
If I change the context of the source, will it not affect the source node at all.
best regrads. -
I need help with a mapping issue.
We have a number of websites setup so that they are all under the default website in IIS 7. We use ISAPI/ReWrite/3 to process and take it to the correct page to view. Unfortunately this does not work so well with CFAJAX or CFFILEUPLOAD. Can anyone help?
Example:
Local Directory: D:\sites\website1\index.cfm or D:\sites\website2\index.cfm
URL: http://website1.preview.domain.com/ would show a different website than http://website2.preview.domain.com/
ISAPI ReWrite code:
RewriteCond %{HTTP:Host} ^(?:.*\.)?website1\.preview\.domain\.com|^(?:.*\.)?website1\.new\.preview\.domain\.com|^( ?:.*\.)?website1\.office\.preview\.domain\.com$
RewriteRule (.*) /website1$1 [NC,L]
and the same with website2, only it has website 2 instead of website1.
However, when I use CFFileUpload it creates the parameter as: 'http://website1.preview.domain.com/website1/upload/process.cfm'
I have tried to replace the code when processing the template and the page content, but it does not replace it. It must happen last, even after I do a <cfsavecontent>
I need it to show up as http://website1.preview.domain.com/upload/process.cfm
Can anyone help me with either an idea to use in the ISAPI/ReWrite or some other change I can make?The issue comes down to the fact that in the Coldfusion Administrator I set the Settings > Default ScriptSrc Directory : http://10.4.3.80/CFIDE/scripts/, because http://website1.preview.domain.com/cfide/scripts does not exist.
This works for cfchart, but when I look at the source for any flash stuff, it still puts just "/CFIDE/...", which is trying to pull from http://website1.preview.domain.com/CFIDE/..., which doesn't exist, and it shows http://website1.preview.domain.com/website1/upload/process.cfm (which does not exist) instead of http://website1.preview.domain.com/upload/process.cfm like it should. Everything else works on the website, all coldfusion stuff (although, I do convert some of the links and things in my page so that they work properly). However, I can't find a place to replace links when I use a cffileupload, it puts that in very last, so my links are messed up.
The nicest thing would be a setting that I could set the cffileupload to know what the path is. If that is not available, then I need to write a ISAPI/ReWrite line to redirect it. -
dear experts,
my req is-
I have 1 node suppose Address
Address-
city
Hosue No.
now based on the value of city I have to map house No with IDOC fields.
for example if City = Delhi
map House no with E1EDKA1-ADRNR
if City = Toronto
Map House No. with E1EDKA1-ADNR1.
there can be multiple occurnce of Adress node as well.
Please advise how we can implement this?
Thanks in advance.Give this a try -
City
Equals If-without-else Map House No -> E1EDKA1-ADNR1
Constant (Toronto)
I hope I am able to understand your requirement correct, because this looks like a pretty straight forward requirement. -
Flat File to IDOC Mapping requirement to generate Multiple Segments
Hi Experts,
I got a requirement were i have 2 records in a file and i need to generate 2 IDOCs with multiple segments in it.
FILE :
10/01/2010 101 KRNA ic_quantity 30-0257 3526 1 1 ea 110000 10
10/01/2010 101 KRNA ic_quantity 90-0005 3526 1 2 ea 110000 10
Idoc should generate 2 IDOCs with multiple segments as shown below
I have imported the IDOC and changed the occurrence to " unbounded "
The Basic IDOC Type : WMMBID02
I need to generate Multiple segments of E1MBXY1
i.e.., First IDOC should contain two E1MBXY1 segments
Second IDOC should contain Four E1MBXY1 segments
IDOC1 : WMMBID02
Segment : E1MBXY1( 2 segments)
10/01/2010 101 KRNA ic_quantity 30-0257 3526 1 1 ea 110000 10
10/01/2010 101 KRNA ic_quantity 90-0005 3526 1 2 ea 110000 10
IDOC2 : WMMBID02
Segment : E1MBXY1 ( 4 segments)
10/01/2010 101 KRNA ic_quantity 30-0257 3526 1 1 ea 110000 10
10/01/2010 101 KRNA ic_quantity 30-0257 3521 1 1 ea 110000 10
10/01/2010 101 KRNA ic_quantity 90-0005 3526 1 2 ea 110000 10
10/01/2010 101 KRNA ic_quantity 90-0005 3521 1 2 ea 110000 10
Can anyone suggest me how to generate IDOCs with multiple segments
what are multiple ways of generating it
Whether it can be achieved using Multi-mapping or I need go for UDF
If any one has done has done this type of requirement ,please share the points.
Thanks
SaiBasically you need to generate idoc per record in the flat file. During fcc conversion you convert flat file to xml structure at the sender side. In the mapping use xml file structure source and idoc as receiver structure. You just export idoc and update the idoc segment 1 to unbounded. Please follow the michael blog for file to idoc multimapping without bpm. Yes without bpm it is possible.
see this link... This will answer your requirement.
https://wiki.sdn.sap.com/wiki/display/XI/File%20to%20Multiple%20IDOC%20Splitting%20without%20BPM
>Whether it can be achieved using Multi-mapping or I need go for UDF
you dont need udf for this. -
Mapping issue with context again
I again need help with a mapping issue. I dont know how to handle the contexts to get this working in the xi graphical mapping tool. I have previously logged a question regarding this structure but the requirements have now changed.
I have a source document that has multiple delivery line items and for each delivery line item, there are multiple handling units. Each handling unit contains the line number of the delivery line item it belongs to. This structure has been simplified below.
<b><u>Source Sample</u></b>
<DOCUMENT>
<DELIVERY_LINEITEM>
<LINENUMBER>10</LINENUMBER>
<MATERIAL>mat 1</MATERIAL>
</DELIVERY_LINEITEM >
<DELIVERY_LINEITEM >
<LINENUMBER>20</LINENUMBER>
<MATERIAL>mat 2</MATERIAL>
</DELIVERY_LINEITEM >
<HANDLING_UNITS>
<HU_LABEL>123</HU_LABEL>
<HU_ITEM>
<LINENUMBER>10</LINENUMBER>
</HU_ITEM>
</HANDLING_UNITS>
<HANDLING_UNITS>
<HU_LABEL>456</HU_LABEL>
<HU_ITEM>
<LINENUMBER>10</LINENUMBER>
</HU_ITEM>
</HANDLING_UNITS>
<HANDLING_UNITS>
<HU_LABEL>789</HU_LABEL>
<HU_ITEM>
<LINENUMBER>20</LINENUMBER>
</HU_ITEM>
</HANDLING_UNITS>
</DOCUMENT>
<u><b>Source Structure</b></u>
DOCUMENT 1..1
DELIVERY_LINEITEM 1..unbounded
LINENUMBER 1..1
MATERIAL 1..1
HANDLING_UNITS 1..unbounded
HU_LABEL 1..1
HU_ITEM 1..1
LINENUMBER 1..1
In the target structure, I need to output each handling unit along with the corresponding DELIVERY_LINEITEM material. Target structure has been simplified below:
<u><b>Target Sample</b></u>
<DOCUMENT>
<ROW>
<PACKAGING>
<HU_LABEL>123</HU_LABEL>
</PACKAGING>
<PACKAGING_ITEM>
<LINENUMBER>10</LINENUMBER>
<MATERIAL>mat 1</MATERIAL>
</PACKAGING_ITEM>
</ROW>
<ROW>
<PACKAGING>
<HU_LABEL>456</HU_LABEL>
</PACKAGING>
<PACKAGING_ITEM>
<LINENUMBER>10</LINENUMBER>
<MATERIAL>mat 1</MATERIAL>
</PACKAGING_ITEM>
</ROW>
<ROW>
<PACKAGING>
<HU_LABEL>789</HU_LABEL>
</PACKAGING>
<PACKAGING_ITEM>
<LINENUMBER>20</LINENUMBER>
<MATERIAL>mat 2</MATERIAL>
</PACKAGING_ITEM>
</ROW>
</DOCUMENT>
<u><b>Target Structure</b></u>
DOCUMENT 1..1
ROW 1..unbounded
PACKAGING 1...1
HU_LABEL 1..1
PACKAGING_ITEM 1..1
LINENUMBER 1..1
MATERIAL 1..1
Note, 1 ROW in the target structure = 1 HANDLING_UNITS from the source structure.
Can anyone help me to achieve this? I do not know how to map the relevant DELIVERY_LINEITEM\MATERIAL from the source structure to the target structure.JM,
Please find the solution. Reply back if it helps or not
http://www.flickr.com/photo_zoom.gne?id=1045178998&size=o
http://www.flickr.com/photo_zoom.gne?id=1045179010&size=o
http://www.flickr.com/photo_zoom.gne?id=1045179022&size=o
Results :http://www.flickr.com/photo_zoom.gne?id=1045179134&size=o
<b>Code used:</b>
for(int j=0;j<Handling_Linenum.length;j++)
for(int k=0;k<Delivery_Linenum.length;k++)
if(Handling_Linenum[j].equals(Delivery_Linenum[k]))
result.addValue(""Material[k]"");
result.addContextChange();
Best regards,
raj. -
Context with counter mapping issue
I need help with a mapping issue.
I have a source document that has multiple line items which in turn contains multiple item texts. This structure has been simplified below.
Source Sample
<DOCUMENT>
---<LINEITEM>
<ITEMFIELD>itemfield</ITEMFIELD>
<ITEMTEXTS>
<TEXT>text 1</TEXT>
</ITEMTEXTS>
<ITEMTEXTS>
<TEXT>text 2</TEXT>
</ITEMTEXTS>
---</LINEITEM>
</DOCUMENT>
Source Structure
DOCUMENT 1..1
LINEITEM 0..unbounded
ITEMFIELD 0..1
ITEMTEXTS 0..unbounded
In the target structure, I need to output each line item with a counter to represent the line item number. Also, I need to output each item text with the line item number it corresponds to:
Target Sample
<DOCUMENT>
---<LINEITEM>
<ITEMNUMBER>1</ITEMNUMBER>
<ITEMFIELD>itemfield</ITEMFIELD>
---</LINEITEM>
---<ITEMTEXTS>
<ITEMNUMBER>1</ITEMNUMBER>
<TEXT>text 1</TEXT>
---</ITEMTEXTS>
---<ITEMTEXTS>
<ITEMNUMBER>1</ITEMNUMBER>
<TEXT>text 2</TEXT>
---</ITEMTEXTS>
</DOCUMENT>
Target Structure
DOCUMENT 1..1
LINEITEM 0..unbounded
ITEMNUMBER 1...1
ITEMFIELD 0..1
ITEMTEXTS 0..unbounded
ITEMNUMBER 1..1
TEXT 1..1
I do not know how to match the ITEMNUMBER in the ITEMTEXTS target structure with the corresponding LINEITEM target structure. Can anyone help me with this?
Regards,
JMJames,
I've tried both 1.2 release and 2.0 (v20091121-r5847) but received the same result - empty Map.
Moreover, for both versions the following string was absent in deployed XML file:
+<direct-key-field table="PARAM_SESS" name="PARAM_NAME" xsi:type="column"/>+
Therefore, on application initialization I have got an exception: org.eclipse.persistence.exceptions.DescriptorException with message This descriptor contains a mapping with a DirectMapMapping and no key field set.
So I was forced to add the line manually.
This seems buggy to me...
Regards,
Alexey -
Generate IDOC with status lanced (03)
Hello,
I need to generate IDOC with status lanced. I don't need program like RSEOUT00 but a module function.
Thnx.Hello,
In partner profile (WE20) Outbound options tab, select radiobutton 'Transfer IDOC Immediately' in output mode. So IDOC created in status '30' will be passed onto port (03) immediately without you having to run the program RSEOUT00.
Thanks,
Venu -
RE:idoc inbound scenario "mapping issue"
Hi experts,
we r facing the problem in idoc inbound scenario, while to generate multiple idoc's.
we need to generate the idoc's based on two fields, Location_code and Date. If any of the field is changing we need to generate the new idoc.
below is the sender payload :
<row>
<Date>20100111</Date>
<Sign>+</Sign>
<Tender_Code>ZSHT</Tender_Code>
<Tender_Amount>1890.30</Tender_Amount>
<Location_Code>0000001000</Location_Code>
</row>
<row>
<Date>20100112</Date>
<Sign>+</Sign>
<Tender_Code>ZSHT</Tender_Code>
<Tender_Amount>1890.30</Tender_Amount>
<Location_Code>0000001000</Location_Code>
</row>
<row>
<Date>20100112</Date>
<Sign>+</Sign>
<Tender_Code>ZSHT</Tender_Code>
<Tender_Amount>1890.30</Tender_Amount>
<Location_Code>0000001001</Location_Code>
</row>
<row>
<Date>20100112</Date>
<Sign>+</Sign>
<Tender_Code>ZSHT</Tender_Code>
<Tender_Amount>4532.32</Tender_Amount>
<Location_Code>0000001001</Location_Code>
</row>
for the above payload ,we need 3 idocs as below
idoc1:
Location_code>1000 Date->20100111
idoc2:
Location_code>1000 Date->20100112
idoc3:
Location_code>1001 Date->20100112
under the third idoc fourth row should get repeated.
at present we have the following mapping which is generating multiple idocs bsased on only location code, it's like
Location_code-->removecontext-->sort-->splitbyvalue(valuechange)-->collapsecontext--->idoc
rgds
selvamHi,
Thanks Suraj , logic has worked but there is a simple issue , LOCATION_Code is mapped with SNDRPRN and RCVPRN of the EDI_DC40 segment when i m execuiting the payload it throws error for the second idoc generated , when the LOCATION_CODE changes this should also get updated to that field. Mapping for SDNPRN has been done like this.
LOCATION_CODE --->removecontext-->|
formatbyexample--->SNDRPRN
idoc mapping logic---------------->|
pl suggest...
rgds
selvam -
Hi experts,
I have an requirement , when I change any infotype record from pa30 or pa40, i.e
suppose I am changing the infotype 0002 in pa30 , the idoc only generated for that changed infotype only,
but I need it to generate the idoc for some other infotypes also I.e(0000,0002,t528t, 0016).
So please give me some help to generate idoc when I run a rbdmidoc(bd21).
Thanks in advance.
Venkatyes, visible bounds is reading the non-visible masked objects too.
you're going to have to do it the hard way, loop through all your objects to get your bounds manually, and while you're at it, test for clipping masks and use the masking path instead. -
Mapping issue in idoc to JDBC scenario
mapping issue in idoc to JDBC scenario
source structure
E1KNB1M
BUKRS = 1000
E1KNB1M
BUKRS= 9000
E1KNB1M
BUKRS= 2000
THE NODE E1KNB1M is repeated many times and the field BUKRS is also repeated with E1KNB1M as above
TARGET field : ISFRANCHISE
if any where value of BUKRS =9000 we have to pass Y to the target filed, else N
if BUKRS = 9000 THEN ISFRANCHISE= Y
ELSE
ISFRANCHISE=N
I've done the mapping as below
BUKRS = 9000--> IF THEN Y ELSE N--
> ISFRANCHISE
BUT everry time the target value is N only
pl suggest
rgds
mojibmapped like this
BUKRS--->SORT---->
EQUALS --------IF---THEN Y
9000------------------------> ----------------->ISFRANCHISE
ELSE N
context of BUKRS set to parent node
its worked
thanks to all for valuable suggestions
rgds
mojib
Maybe you are looking for
-
My iMac keeps trying to download something, what is it?
I use something called X Resource Graph to keep track of things like temperature, net use, etc on my 2007 iMac. Since I started using it, I've noticed that occasionally it shows heavy download activity, even when I'm not doing anything that would acc
-
Evolution has stopped working. I installed xgl and when I logged out of gnome using it, gnome hung. No problem, ctrl+alt+backspace and start back in regular x (xgl is nice eye candy but I like the workspace switcher applet). When I went to start evo
-
Hi there I need help my ipod 30gb with video it has been working fine till 2 days ago. The apple logo is on screen and thats all tried to restart it but it didnt work. It doesnt show up in itunes. I have updated software but nothing i have charged it
-
Audigy SE Issues -- Startup probl
Hey all - I just recently built a new system and carried over my Audigy SE from my last build to this one. Now, don't know if its a combination of all the new equipment, or the Audigy SE card itself, but for the last two days, I'd been running into p
-
After updating to the Snow Leopard, my Quicken program will not run. HELP!!!