Idoc split program
hi,
what is the use of idoc split program.in which scenario it will be used?
Ganesh
Spliting the idoc - suppose you have purchase order - when you create purchase order then it will create one idoc.
some times requirement would be like - purchase order has many line items ,clients need each line item as one idoc ,here we need create multiple idoc for one order ( For this we need to change the logic with in function module)
Reward Points if it is helpful
Thanks
Seshu
Similar Messages
-
IDoc Split to different IDocs!!!!!!!!URJENT
Hi
Is there any possibility to split the IDoc ?
We have a scenario like - Header without any data - Segments with the data - trailer segment with the details of the segment count and parent idoc details.
We received one Inbound IDoc with 20000 segments.
While processing the IDoc, because of the huge data it is going to dump with low memory issue.
Is there any possiblity to split the segments into seperate idocs...in WE19 we can cut down the segments and create seperate idoc but count is very high we are not able to identify the numbers count.
Is there any other way we can process the IDoc splitting into different IDocs.
VVR
FICO ConsultantHi Vuppala,
CAn you please help how u split the IDOC.
I have ARTMAS IDOC and as there is huge data i need to split it.
Can you please help
Thanks,
Akriti -
Send me some link to write IDOC inbound program !
Re: need Code to generate Inbound Idocs
Hope that helps. -
Hello Friends.
I want to create a inbound IDOc from program which has delivery items for IDOC type DESADV01.
How can I create an IDOC from program?
Regards,
RHHi ronny
look this..http://help.sap.com/saphelp_nw04/helpdata/en/78/21785851ce11d189570000e829fbbd/frameset.htm
hope this help you
Marco -
Issue:
We could observe that the error coming in the Idoc XXX; are errors involving the financial postings that occur as a result of the inventory movement associated with a goods issue.
Error Message:
Maximum number of items in FI reached
The above error in IDOC is due to max. number of items for an FI Document(999) is exceeded.
As per my understanding, I think we have to split the delivery document into two parts and post to FI accordingly
As FI documents is getting posted through IDOC, how can I limit my IDOC to process just 50% of line items(How to split my Delivery though IDOC)Refer below note:
Note 1353827 - AC interface: Document split in FI for goods movements
Regards
Sreenivas -
Hi,
I got a requirement for an inbound idoc
Idoc type : DELFOR02
message type : DELINS
User exit functional module : IDOC_INPUT_DELINS
My actual reqirement is.......
The DELFOR02 Idoc sent from the subsystem to SAP will have to be split into multiple DELFOR02 Idocs depending upon the number of line items.
The DELFOR02 Idoc is separated into header and item data. The header data will have to be mapped to each split Idoc and then update each Scheduling agreement. The Item detail will have to be split for each occurrence of an E1EDP10 segment. For example if 3 line items are contained on the DELFOR02 Idoc this will have to be split in to 3 Idocs, as shown below:
DELFOR02 Idoc
Header Level E1EDK09
Item Level E1EDP10
E1EDP10
E1EDP10
How i approach this requirement.......please help me out..its critical reqHi,
I am just briefing the steps on how you can proceed. The following information may not be complete.
Copy the functional module : IDOC_INPUT_DELINS to new custom FM Z_IDOC_INPUT_DELINS and link this to existing process code.
In FM Z_IDOC_INPUT_DELINS :
store the header data into global structure, also populate T_NEW_IDOCDATA.
Then based on your conditions, i.e. no of segments E1EDP10
case IDOC-SEGNAM.
when 'E1EDP10'.
store the segment data into internal table T_NEW_IDOCDATA.
perform create_new_split_idoc.
endcase.
FORM CREATE_NEW_IDOC.
MOVE-CORRESPONDING IDOC_CONTRL TO S_CONTROL_RECORD_IN.
S_CONTROL_RECORD_IN-MESCOD = 'SPT'. "new message code SPT for split Idocs
S_CONTROL_RECORD_IN-DOCNUM = SPACE.
S_CONTROL_RECORD_IN-IDOCTYP = IDOC_CONTRL-IDOCTP.
APPEND S_CONTROL_RECORD_IN.
CALL FUNCTION 'INBOUND_IDOC_PROCESS'
TABLES
IDOC_CONTROL = S_CONTROL_RECORD_IN
IDOC_DATA = T_NEW_IDOCDATA
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
COMMIT WORK.
endif.
ENDFORM.
For split Idocs create a new message code SPT and do the partner profile setting in WE20.
Thanks,
Savitha -
Hello,
When output mode of an outbound partner profile was setup as Transfer
immediately then when ever EDI output is generated in Purchase Order then
system creates IDOC and sends immediately out of system.
Here my question is
What standard program executes when I select radio button
Transfer immediately:
Collect Idoc u2018s:
Thanks,
AshaHere my question is
What standard program executes when I select radio button
Transfer immediately: ?
Collect Idoc u2018s: RSEOUT00
what Program executes for Tranfer immediately
Thanks -
ORDERS Idoc splitting into two
Hi,
I have requiremnt where i need to Split Orders idoc into messages.
1. Orders XML file 2.XML file only with control record fields.
i have seen all the discssion on this and deceiced to implement the scenario as per
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible blog. But the problem is need to use two message types on the target side.. for splitting the message..
ORDERS and Contrlo record Fields message type... i can't change the standard idoc..
Can i add the Control record fields to Standard IDOC in any way.... like exporting file...if so..
tell me whether the Idoc will split into two messaged or not....
Regards,
DeepMy doubt is in the mentioned blog target msg type was created one.. here i need to take with ORDERS idoc(ED in our case). I need to split the IDOC everytime when it triggers based on RCVPRN field value.. this value is always so there should be 2 values everytime.
you will need to duplicate the IDOC at the target side to achieve this...if you are successful in doing the 0...unbounded thing for your IDOC....
1) Duplicating:
Duplicating is not Multimapping.....Multimapping is what you saw in the blog and duplicating is right-clicking on the node and choosing Duplicate Subtree....no two messages will be created in this process (duplicating).....
2) Multimapping:
it is used to create two (or more) different messages at the target end...
Does it split into two message ( ORDERS XML and Control Record XML)
No it wont split the IDOC into two messages.....
So if your requirement is to have only one target message with seperate IDOC nodes..having ORDERS and Control data individually...then go for duplication method...apply the condition for RCVPRN to generate the nodes...
If your req is to have two different messages at the target then use multimapping apply the condition for RCVPRN to generate the two different messages.....
Hope it helps...
Regards,
Abhishek. -
IDOC Posting Program for Vendor Master
Hi Guys,
Please give me the Sample Posting Program Vendor master Idoc.
Thanks a lot in advance.
Prabhu.rsearch with BD* in SE93
BD14 - Outbound program for vendor master
BD10 - Outbound Material master
BD12 - Outbound customer master -
IDoc Split with out BPM using SplitByValue at the LineItem Level
I have an Invoice idoc contains line item and identifier changes into groups, let's say A & B
Using Message Mapping, Will i be able to Split into 2 IDOCs and combine A into one IDOC and B into Another IDOC and send it across to ECC with out using BPM?
Btw the header is commom for both the IDOCs
Source
<Header>
<headertext>headername</headertext>
<lineItem>
<item1>A</item1>
<item2>B</item2>
<item3>A</item3>
<item3>B</item4>
</item>
</lineitem>
</header>
Target
IDOC 1
<Header>
<headertext>headername</headertext>
<lineItem>
<item1>A</item1>
<item2>A</item2>
</item>
</lineitem>
</header>
IDOC 2
<Header>
<headertext>headername</headertext>
<lineItem>
<item1>B</item1>
<item2>B</item2>
</item>
</lineitem>
</header>
Any inputs are appreciatedI actually gave wrong information on the source structure, I am trying to execute scenario with the given examples, meanwhile any help is appreciated
<Header>
<Date>20100112</Date>
<Amount>10</Amount>
<No>20</No>
</Header>
<InvoiceItem>
<Line1>10</Line1>
<Line2>10</Line2>
<Amount>10</Amount>
<ActionIndicator>I</ActionIndicator>
</InvoiceItem>
<InvoiceItem>
<Line1>20</Line1>
<Line2>20</Line2>
<Amount>20</Amount>
<ActionIndicator>C</ActionIndicator>
</InvoiceItem>
<InvoiceItem>
<Line1>30</Line1>
<Line2>30</Line2>
<Amount>30</Amount>
<ActionIndicator>I</ActionIndicator>
</InvoiceItem>
<InvoiceItem>
<Line1>40</Line1>
<Line2>40</Line2>
<Amount>40</Amount>
<ActionIndicator>C</ActionIndicator>
</InvoiceItem>
Target 1
<Header>
<Date>20100112</Date>
<Amount>10</Amount>
<tNo>20</No>
<ActionIndicator>I</ActionIndicator>
</Header>
<InvoiceItem>
<Line1>10</Line1>
<Line2>10</Line2>
<Amount>10</Amount>
</InvoiceItem>
<InvoiceItem>
<Line1>30</Line1>
<Line2>30</Line2>
<Amount>30</Amount>
</InvoiceItem>
Target 2
<Header>
<Date>20100112</Date>
<Amount>10</Amount>
<tNo>20</No>
<ActionIndicator>I</ActionIndicator>
</Header>
<InvoiceItem>
<Line1>20</Line1>
<Line2>20</Line2>
<Amount>20</Amount>
</InvoiceItem>
<InvoiceItem>
<Line1>40</Line1>
<Line2>40</Line2>
<Amount>40</Amount>
</InvoiceItem>
I know the part of Splitting IDOC, which was executing correctly, with the external data type changes. Please advice -
Folks,
I have a iDOC - to - iDOC scenario where i need to split an idoc on receiving side without using BPM. Can anybody please tell me how to do it . We are running on SP14
ManishHello Manish,
no, thats all.
The Interfacemapping is the same.
But please check in the mapping that you build a mapping on the UNBOUNDED segment now. But I think you have done that.
Just for understanding:
This mapping will not create singel IDOCs in XI, this will create an IDOC package and this IDOC package is sent through the IDOC adapter then.
In your R/3 system you will get single IDOCs then.
best regards
Werner -
Hello ABAPers,
Can any one tell me how to write Outbound programs using CHANGE POINTERS for the
MATMAS05
Iam new to idoc programming. Please help me
thanks in advance.hi Mohan,
Hi have a look at these links
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Regards,
santosh -
Idoc sending program from source port
Hi Experts,
I am sending the Idoc through customized program. I am getting the status 03 & 30. successfully sent to external system.
Is there any standard program to send the Idoc from source port to destination port.
Thanks and regards,
Venkatraman.NRun RBDMOIND, then idoc will get the status 12 -Dispatch ok. status 12 is the confirmation that idoc was reached target system.
Reddy -
Idoc (posting program)
what is the posting program in idoc and what is the message type give me the exact definitions?
Hi Kiran,
The posting program in the mapping program which is used to do the mapping between the message types.
Check out the following links for further understanding of IDocs:
/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
Regards,
Archana -
Hi,
I created custom IDocs for sending data from SAP to non SAP system. I wrote outbound program for creating IDocs.
but at the same time I want to display IDocs numbers which are generated after executing outbound program.
please help me in this issue.
Thanks.
Sridevi.Hi sreedevib,
yes, Idoc number can be found in edidc-docnum
This code comes from SAP TM extension (where everything is oo):
METHOD send_idoc.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = ls_edidc
* OBJ_TYPE = ''
* CHNUM = ''
TABLES
communication_idoc_control = lt_edidc
master_idoc_data = lt_edidd
EXCEPTIONS
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
OTHERS = 5.
IF sy-subrc <> 0.
RAISE EXCEPTION TYPE /luntm/cx_create_tut_idoc.
ELSE.
LOOP AT lt_edidc ASSIGNING <edidc>.
AT FIRST.
ES_EDIDC = <edidc>.
ENDAT.
ASSERT ES_EDIDC = <edidc>.
* IF ALE model creates more than one communcication IDOC, DUMP created, changes have to be applied here
ENDLOOP.
ENDIF.
ENDMETHOD. "send_idoc
lo_create_tut_idoc->send_idoc( IMPORTING es_edidc = ls_edidc ).
IF ls_edidc-status = '03'."03 Data transfer to Port OK
MESSAGE s101(/luntm/transportpool) WITH <tor_root>-tor_id ls_edidc-docnum INTO lv_dummy.
Check that SY-SUBRC = 0 after 'MASTER_IDOC_DISTRIBUTE'.
You may even post some of your secret code.
Regards,
Clemens
Maybe you are looking for
-
PO to SO IDoc change (ORDCHG) - Extra condition pricing line generated. Why?
Hi guys, My ECC6 system currently has an IDoc automation setup where creation/change of Purch Order will also trigger creation/change of Sales Order. By default, condition pricing type will be PB00 or PBXX. I have implemented some code in EXIT_SAPLVE
-
Search works for HTTP but not for HTTPS on site
Hi Both the http & https url works and you can browse the team site just fine. Search for HTTP url works fine, but fails for the https url. You get a "Sorry something went wrong" and "Unknown error". Also get the following errors in ULS logs: "Object
-
Case sensitive string variable?
Hello, I use the following code to determine whether I am opening a DAT file or a TDM file. Some of it is complicated by a bug in 2010 but that is not relevent for this particular problem. Up until today it has worked perfectly, probably because the
-
Hello, While creating outbound delivery, weight is copied from handling unit into outbound delivery but volume is not getting copied. Kindly guide. Nikhil
-
Can I change the Screen colour and font size?
Can I change the screen colour and font size?