Idoc related
Hi,
I have segment type and I need to know how this segemnt is populated. Can any one guide me on this
Thanks.
Hi,
Please use proper subject line in future.
Go to the respective processing FM and search in the main program with the segment name.(Use global search). Use can see some subroutines like FILL_Segmentname.
You can find the processing FM from partner profile=>Click on message type=>message control=>Process code.
Thanks,
Vinod.
Similar Messages
-
Hello,
Can anyone send me an example in IDOC related to employee details
What are the steps to be followed for triggerring IDoc.
Regards,
LibinHi Libin,
As for finding your needed idoc.
1. Choose the transaction WE09 (SAP Menu ® Tools ® IDoc Interface/ALE ® Administration ® Services ® IDoc Search by Contents ® WE09).
2. Choose the Data Source button to specify whether you want to search for IDocs from the database or the archive (or both) .
3. If you have set the u201AArchiveu2019 flag, you can select files in the archive information system, or manually.
Regarding to the steps to trigger an idoc , search SDN. But before that you will need to do ALE settings.
http://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b815e43d711d1893e0000e8323c4f/frameset.htm
Rgds
joel
Edited by: joel trinidade on Feb 23, 2009 5:46 PM -
Dear all,
I have some problem in idoc related issuses.i preparing technical documents from FS.
There are some filds coming from the client system to sap systmm,.there r nearly 7 field(parent).
And 9 fields (childs).this is from cls to WBI . I have to conclude TO fileds fromWBI to sap.
How can I pick the fields , shall I send all the fields or some paticuler fields only.. can any one
regars
vcHi Libin,
As for finding your needed idoc.
1. Choose the transaction WE09 (SAP Menu ® Tools ® IDoc Interface/ALE ® Administration ® Services ® IDoc Search by Contents ® WE09).
2. Choose the Data Source button to specify whether you want to search for IDocs from the database or the archive (or both) .
3. If you have set the u201AArchiveu2019 flag, you can select files in the archive information system, or manually.
Regarding to the steps to trigger an idoc , search SDN. But before that you will need to do ALE settings.
http://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b815e43d711d1893e0000e8323c4f/frameset.htm
Rgds
joel
Edited by: joel trinidade on Feb 23, 2009 5:46 PM -
Any BAPI or IDoc related to Warehouse Bin Master conversion
hi all,
Is there any BAPI or IDoc related to warehouse Bin Master conversion?
Regards,
AshaThere is no standard BAPI / IDOC for this.
Created custom BAPI for this. -
What is the need of xi in idoc to idoc related scenarios
Hi all,
Can any one explain me what is the need of xi in idoc to idoc related scenarios.\
we can Send Idoc with out Xi right?
Thanks,
SrinivasIDOC to IDOC Scenario
pass through idoc to idoc scenario
IDoc to IDoc Scenario with High Volumes
SM58 Error For IDOC to IDOC Scenario -
Regarding the Message Type and IDOCS related to IS-Banking
Hi Gurus,
can any one provide me the Message Type and IDOCs related to IS-Banking.
Regards.
Kiran kumar.Hi,
Refer this link,
http://www.stylusstudio.com/edifact/d04b/BANSTA.htm
Hope it helps you. -
1. How can we view and rectify the errors or warnings caused ,while we create a new idoc ,which may be an extension of an existing basic Idoc type(at Transaction code we30)?
2. How can we delete an Idoc created,if its already been released (at Transaction code we30) and configured(at transaction code we82)?
3. Is that mandatory that the check box Mandatory field should always be checked,whenever we create(extend) a new segment to an existing segment(at transaction code we30)?
4. On what basis,we can identify that To which existing segment - we can append our needed segment(new segment if any to be appended)?Hi Nagarajan,
Answers for your questions:
1)How can we view and rectify the errors or warnings caused ,while we create a new idoc ,which may be an extension of an existing basic Idoc type(at Transaction code we30)?
WE30 is created for IDOCs. First set break point related user exit.For testing WE19. Just enter that error IDOC number in WE19 and press F8. Then it will display the segments. Then press /H in the command box and press inbound function module push button (Just side of inbound push button). Then it will open in debug mode. we can test.
2. How can we delete an Idoc created,if its already been released (at Transaction code we30) and configured(at transaction code we82)?
Yes it is possible to delete hte IDOC which is released from our system, i think thorugh remote function but i am not sure.
3. Is that mandatory that the check box Mandatory field should always be checked,whenever we create(extend) a new segment to an existing segment(at transaction code we30)?
Based on the requirement we can select that check box. suppose it u upload the data for MM01 t-code then observe what are all the manditory feilds in that screen. Based on that choose mandotory check box for proper fields in the segment.(In MM01 suppose meterail number is manditory then while creating segment select that manditory chk box for MATNR)
4. On what basis,we can identify that To which existing segment - we can append our needed segment(new segment if any to be appended)?
Based on the basic IDOC type and given information from the user.
Hope this helps you, reply for queries,
Regards.
kumar. -
Hi all,
What is message in Idoc? Please tell in layman terms. Is it part of the data records? Please point me to related files or threads.
Thanks,
Charles.Hi,
The Message type are mornally assign to SAP document type (IDOC). A message type represents a business function ( Purchase order data, Invoivce data etc). The technical structure of the message type is the IDoc type.
An <b>IDoc type</b> can be implemented for various "logical" <b>messages</b>; one message can also be assigned to different IDoc types (m:n relationship).
The message is defined by the values for <b>message type (required),</b> <b>message code</b> (optional) and <b>message function</b> (optional). These three fields belong to the key fields in the partner profiles, which are used, for example, to determine inbound processing. If the 'Message type' field is not maintained (e.g. in the case of a control record from Release 2.1, in which MESTYP did not exist), the IDoc Interface uses the value from STDMES (EDI message type).
<b>Example</b>
The message ORDERS (= message type) identifies purchase orders (outbound) and sales orders (inbound).
Check transaction <b>WE81,</b> for Message type in SAP.
Also, follow this link for more infomation related to IDOC processing
http://help.sap.com/saphelp_46c/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
Check this lin for information about "Distribution Using Message Types".
http://help.sap.com/saphelp_46c/helpdata/en/78/2174a351ce11d189570000e829fbbd/frameset.htm
Let me know if you need any other information.
Regards,
RS -
Is there any table or report which gives IDOC nos related to workflow task?
Sreedevi, it depends what you want (where you start from), so please be more specific in your question next time (or if this doesn't answer your question).
If you have a work item number and want to know the IDoc number you can use function module SAP_WAPI_OBJECTS_IN_WORKITEM to get a list of all object references. Then you have to process it from there. You can make a flexible solution which is compatible with future added IDoc types by checking the object type of each object returned and traversing the inheritance hierarchy until you get to object type IDOC. Then you know it is an IDoc, and you can find the IDoc number as the key of the object. Or you can hardcode supported object types using a CASE or IF statement. The flexible solution would be much more fun to program in my opinion.
If you have an IDoc number and want to find work items you have to go the other way. That means starting with object type IDOC, finding all the inherited object types and for each of these using function module SAP_WAPI_WORKITEMS_TO_OBJECT. Again, another possibility is to hardcode the list of object types you want to check.
The table Rose told you about, HRS1201, contains no IDoc numbers, but it contains all the tasks with the methods they use. So actually you can use that to find all the object types you need to check (whether they are inherited from IDOC), since all work items will refer to a task definition. -
Provide me some IDOC related docs.
I want to learn IDoc. Can any boddy sent me material that guide me to create IDocs, and also clear concept related to idocs
Hi Dilip,
Just go through this and learn whatever you want....
<b>
ALE/ IDOC</b>
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDEDI/SDEDI.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
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
<b>
ALE/ IDOC/ XML</b>
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
<b>EDI</b>
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.onestopsap.com/interview-Question/edi/
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi2.jhtml
http://www.sapgenie.com/sapgenie/docs/i830v3020.xls
http://help.sap.com/saphelp_46c/helpdata/en/0b/2a655d507d11d18ee90000e8366fc2/frameset.htm
http://www.hud.gov/offices/hsg/comp/edi/0306sec1.cfm
http://www.sapgenie.com/sapedi/index.htm
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.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b828943d711d1893e0000e8323c4f/frameset.htm
http://www.sapgenie.com/ale/whitepaper.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
<b>Check this IDoc online document:</b>
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
<b>Also check this links for additional information:</b>
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
<b>For IDOC Convertion:</b>
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
<b>For Idoc Processing:</b>
http://www.sapgenie.com/sapedi/idoc_abap.htm
The procedure to start configuration, populating idoc and then sending is ....
1. Define Logical System and Assign Logical System
TCODE sale
2. Define RFC
TCODE sm59
3. Define Port
TCODE we21
4. Define Partner Profile
TCODE we20
5. Define Distribution Model
TCODE bd64
6. Send Data
TCODE bd10
7. Get Data
TCODE bd11
8. IDoc List
TCODE we02
Hope this will guide you to start working on it..
Regards,
Abhy
PN: Let us know if the information was helpful....
Message was edited by: Abhy Thomas -
Hi all,
I am new to EDI Idocs and want to know more about it.
Please tell me about related sites and please forward me the important documents in my id [email protected]
It will be very helpful for me.
Please experts help me.
With regards,
Abir.Chech this
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
ALE/ IDOC/ XML
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
Cheers
VJ -
Idoc relations to Shipment gets deleted
Hi ABAP Gurus
We are establishing relation between Inbound/Outbound Idocs to the Shipment Number using the function module BAPI_REL_CREATERELATION with parameters Shipment Number, VTTK, Idoc Number, IDC0, IDC0 in BAPI_OBJECT.
The relation establishment works fine. But after 4 or 5 days, the relation between the idocs and shipments will get deleted and cant be seen in VT03N. We couldnt get any luck while debugging as it always works fine with it and issue comes only after 4 or 5 days.
Can someone throw light on this please. This is very critical for one of the business process.
Any information on this will be appreciated.
Thanks,
Giridhar KommisettyHi Giridhar Kommisetty,
as I remember the relationship is established through some 3 or 4 tables. Try to find out, take a snapshot of the relevant records. When the relationship disappears, check which records have changed in what way. This could give you a hint.
Sorry, no better idea as I never had that.
Regards
Clemens -
Delete parked document with IDOC related
*Hi Friends*
*I have a case with FI parked document and there's a related IDOC, user try to delete parked document but get authorization not acceptable outside workflow.*
*i have checked the IDOC and found that the work log is empty with 0000000 values*
*No work item.*
*so i couldn't change idoc status to WFER to allow user delete related document*
*any advice on how to delete that parked document.*
*many thanks*
*Hana*HI,
I am not aware of any program or tcode to delete idocs in sap. However, idocs can be archived depending on the idoc status.
The configuration is in transaction code WE47.
- Check the idoc status in WE47 to see if the idoc can be archived.
- We need to run archive program to archive the existing idoc.
Thanks,
Ram -
Error in ALE-IDOC related to HR data posting in ECC 6.0
Hello People,
Upgradation done from 4.6B to ECC 6.0.
Here the data comes from the 3rd part s/w and then gets posted through a Z program which in tern calls SAP standard program " RSEINB00" and FM "IDOC_INBOUND_FROM_FILE" is used in this std program to post the data to the corresponding HR tables through IDOC postings.
ALE-IDOC Z program works fine in 4.6B but gives error in ECC 6.0.
Error in subroutine read_namtb for structure of infotype Message no. 5-109 Diagnosis An error has occurred in subroutine read_namtb for structure of infotype .
Procedure
Check the entry for infotype in table T777D (structure, IDoc segment, expanded structure) and the corresponding structures.
As per the error message it seems that some table () needs to be maintained with some values, but this was working fine with the 4.6 B with current settings.
Is this error due to version change to ECC 6.0? What extra settings need to be done with respect to IDOC so that the posting program works fine without giving the stated error. Kindly let me know.
Thanks and regards,
Gaurav Joshi.Please keep in mind ECC 6.0 is an UniCode based system.
as 4.6C was not,
did the Z-program have been tested before in the current environment?
Some special functions (keywords hints ...) are no longer supported after the upgrade.,
this was shown during the upgrade in the unicode migration tools
For sure all the own programms needs to be verfied, after an upgrade.
commonly this should be done
in the quality assurance test to avoid touble in production. -
Regarding Exit/IDOC Related TD
Hi,
Can anybody tell me what is the code required to be written folowing TD points.
Before below TD i have populated one internal table in
userexit_save_document exit and submitted following new program need to be written as below:
SUBMIT gv_prog
WITH SELECTION-TABLE t_seltab
VIA JOB gv_jobname NUMBER gv_jobnum "USER puser
AND RETURN TO SAP-SPOOL
SPOOL PARAMETERS gv_params
WITHOUT SPOOL DYNPRO.
As i am new to IDOC Concept can anybody help to write following code!
Create new custom program that will create the CTO deletion idocs to send to WWCLASS
Requirements:
o Need to be able to import data in from the save_doc userexit and create and post the idoc
 Import needed data from userexit_save_document
 Fill the control record to send into function (waiting for FA to get this information to me, as they have not yet created the partner)
DOCTYP =
OUTMOD = 2
SERIAL = sy-datum
SERIAL+8 = sy-uzeit
IDOCTP = ORDERS05
MESTYP = ORDERS
MESCOD = ??????
RCVPRT = ??????
RCVPRN = ??????
RCVPFC = ??????
RCVPOR = ??????
 Fill the E1EDK01 segment (Header level segment)
CURCY = currency
ZTERM = zterm
BELNR = order number (vbeln)
 Fill the E1EDP01 segment (Item level segment)
POSEX = item number (posnr)
ACTION = 001
 Fill the E1EDP19 segment (Item Object Identification segment)
QUALF = OID to represent old GCTO id
IDTNR = GCTO ID from vbap
 Generate the idoc
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
MASTER_IDOC_CONTROL = cntrl data
TABLES
COMMUNICATION_IDOC_CONTROL = cntrl data(returned)
MASTER_IDOC_DATA = idoc data
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5
Based on the documentation for this standard function, you will need to do a commit work after calling the program in order to ensure the idoc is dispatched.
o Need to be able to capture failures and send report to users in e-mail
 Failures fall into 2 categories:
An IDOC was created, but the posting fails with error status. In this case, we still want to capture this in the file as a failure, but the users should re-process this with standard SAP transactions (can find status of created idoc in the returned communication_idoc_control table).
An IDOC was NOT created for some reason. In this case, we will need to capture all the necessary information needed to try and re-create an idoc
 File should be sent via e-mail to users defined in a table.
Use standard FM SO_NEW_DOCUMENT_SEND_API1 to send document to specified users
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data =
document_type = 'RAW'
put_in_outbox = ''
TABLES
object_content =
receivers =
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Document Data should include the email header information. Something that denotes to user that this is an WWCLASS CTO Deletion IDOC Error Report
Object Content should include the following information:
o IDOC# (in cases where the idoc was created, but has fail status)
o Order Number
o Currency
o Terms of Payment
o Item Number
o GCTO ID
Receivers should be the list of addresses that will receive the email.
o Read table ZCMAIL with REPID = this program name, and MAIL_LIST = to retrieve all the addresses that will need to have the report sent. Will need to send the FA the name of this program so they can setup the table entries properly.
o Need to add parameters to program that will also allow the user to run this program manually so they can re-create the idoc in cases where the idoc was erroneously not created in normal process.
 Allow user to enter a file name that could be uploaded from their hard drive that will contain all data need to create the idoc.
 Generate the idoc based on data in file.
 File could look similar to the data reported in the error report
Can anybody help me in writing code for above TD!
Thanks in advance.
Thanks & Regards,
Deep.HI,
Any solutions for the same!
Thnaks,
Deep. -
Hi,
How to extract the content from IDOCs.e.g mautiple idocs are comming.we need to retrive the company ID from all the IDOC.So Please tell me how to extract.
Regards,
SuchitraHi Suchitra,
this can be done using BPM were we can differentiate depending upon the company ID value
go to this link it would be helpfull
Posting multiple IDocs with Acknowledgement
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=multiple+idocs&adv=false&sortby=cm_rnd_rankvalue
Thanx
Sampath
Maybe you are looking for
-
Unable to capture from Sony HDFX1 camera
Built a new PC and utilized a top end ATI Radeon dual video card. Running Vista Ultra OS(hmmmm), plenty ram, processor, etc. PC does not see my camera when I plug in for capture. Do I need a special codec or 1394 HD drivers available for HD capture f
-
Problem with podcasts in playlists
I have a smart playlist set that plays only stuff put on my ipod that day - back in the old days (a couple of weeks ago) I used to be able to listen to music, and newly downloaded podcasts, all from the same playlist. Now, although everything added s
-
Updation error while using a foreign data source
Hi All, I am trying to connect to SQL server 2000, from my BC4J driven swing application. i am using Oracle containers for Java (Development Suite) Going by the steps detailed in "SQL Server Walkthrough" on OTN, i have tested with two drivers: 1) Mic
-
Call function in the package ....
I have interesting problem. It's interesting because it works on one server and does not work on another, both servers are ORACLE 10.2.0.2 on Solaris 10, both have identical users. when I call pkg_utilities_public.GET_CURRENT_POST_DATE (sysdate) I ge
-
PDF file will not let me add an interactive object
Quick run down of my problem... The company I work at just got a new logo, and has to update a LOT of pdf's logo from the old one, to the new one... A way I found how to do this with minimal time is to create a button in acrobat pro, place it over th