Out Bound / In Bound IDOC Succes full status in R3
Hi Frnds,
I am sending IDOC from OUT BOUND.
Its succes full wts the Status in R/3 12 or 3. How to check in R/3.
I am sending IDOC from IN BOUND.
Its succes full wts the Status in R/3 ??. How to check in R/3.
Can any one explain the process..
Regards,
Raj
Hi,
Outbound IDOCs
Code Error Event Severity SAP Meaning
02 Yes Error Error passing data to port
03 No Error if transaction SM58 indicates an RFC transmission error Data pass to port OK
04 Yes Error Control information of EDI subsystem
05 Yes Error Translation
06 No Harmless Translation
07 Yes Error Syntax check
08 No Harmless Syntax check
09 Yes Error Interchange handling
10 No Harmless Interchange handling
11 Yes Error Dispatch
12, 13, 14 No Harmless OK
15 Yes Warning Interchange acknowledgement negative
16 No Harmless Functional acknowledgement
17 Yes Warning Functional acknowledgement negative
18 No Harmless Triggering EDI subsystem
20 Yes Error Triggering EDI subsystem
22 No Harmless Dispatch OK, acknowledgement still due
23 Yes Error Retransmission
24 No Harmless Control information of EDI subsystem
25 Yes Warning Processing despite syntax error
26 Yes Error Syntax check
27 Yes Error ALE error
29 Yes Error Error in ALE services
30 No Harmless Ready for dispatch (ALE)
31 No Harmless IDOC is marked for deletion
33 No Harmless Original of an IDOC which was edited
34 Yes Error Error in control record of IDOC
36 Yes Error Timeout error; electronic signature not performed
37 Yes Error IDOC added incorrectly
38 No Harmless IDOC archived
39 No Harmless Receive confirmed
40 Yes Error Application document not created in target system
41 No Harmless Application document created in target document
Inbound IDOCs
Code Error Event Severity SAP Meaning
51, 52 Yes Error Posting error
53 No Harmless Posting successful
54 Yes Error Error during formal application check
55 No Harmless Formal application check
56 Yes Error IDOC with error added
60 Yes Error Syntax error
61 Yes Warning Processing despite syntax error
62 No Harmless IDOC passed to application
63 Yes Error Error passing IDOC to application
64 No Harmless IDOC ready to be passed to application
65 Yes Error ALE error
68 No Harmless IDOC is marked for deletion
70 No Harmless Original of an IDOC which was edited
73 No Harmless IDOC archived
Regards
Seshagiri
Similar Messages
-
Hi,
Can any one let me know about the out bound IDOC ststuses.
In our system the Out bOund IDOC's are being in status 03, they are not moving to 12. Can any one please let me know why it is not moving to status 12.
Regards,
Ravi GHi
Please execute RBDMOIND program you will get change status 03 to 12
Thanks,
Murali -
Idoc Status error 29 for Out bound Idoc( Receiver of IDoc is its own logic)
I try to create the Out bound Idoc with messag type WMMBXY ( basic Idoc type - WMMBID02 ).
which is configured with the out put type XXXX in VT01N( shippment creation). But I am getting the error status 29 in the Idoc.
Only I am passing the sender, receiver port , partner type and partner function to the communication structure.
Could you please tell me , what is the issue with the partner type configuration .Hi,
Error 29 occurs when there is an incomplete or no partner profile maintained.
Check whether you have done the correct partner profile settings in WE20 outbound parameters.
For the partner no defined in Idoc check whether there is an entry(under partner type LI, KU or LS)
with correct message type WMMBXY and Idoc type WMMBID02. Also check for message function code.
Regards,
Savitha -
Hi experts,
I am given a task to create an out bound IDOC which would be input to TIBCO, which must be triggered every time Good issue transaction is completed by either VT02N or VL02N transaction up pressing SAVE.
IDOC is to have fields from Customize tables apart from standard SAP tables, so was asked to create an own IDOC ( eg: Z--Idoc).
Please tell me how to create the idoc, and also the method to trigger it and how to populate the IDOC ( program etc).
Use full inputs would be promtly rewarded.
Regards,
Ram.Sample code in the below:
REPORT zhefrn_idoc_extract_fi LINE-SIZE 160.
Purpose
This program extracts FI postings and create IDOCs
Description
An IDOC of type ACC_GL_POSTING01 is created from the extracted
FI-data.
*- Extract data from BKPF and BSEG
*- Build the IDOC control record. Use structure EDIDC.
*- Build and internal table of structure EDIDD with IDOC segments.
EDIDD contains some keyfields, but the data segment field is simply
one string, as EDIDD is used for all type of IDOCs. To simplify the
process of building this string, use the SAP datastructures with the
same name as the segment. E.g for segment E1BPACHE08 use structure
E1BPACHE08.
*- Use function module MASTER_IDOC_DISTRIBUTE to create the IDOCs.
Remember to commit.
Important: This program can not handle multiple documents, so all
postings must have the same key (Company code, currency code,
postingdate, document date) so that they can be posted in the same
document. *If the program should handle multiple documents, data
should be split *according to the key, and an IDOC created for each
document.
Standard types
TABLES:
bkpf, "Accounting Document header
bseg. "Accounting Document Segment
TEDS1. "IDoc status values
Standard types
TYPES:
BEGIN OF st_bkpf,
bukrs LIKE bkpf-bukrs,
belnr LIKE bkpf-belnr,
gjahr LIKE bkpf-gjahr,
blart LIKE bkpf-blart,
bldat LIKE bkpf-bldat,
budat LIKE bkpf-budat,
monat LIKE bkpf-monat,
waers LIKE bkpf-waers,
END OF st_bkpf,
BEGIN OF st_extract,
bukrs LIKE bkpf-bukrs,
belnr LIKE bkpf-belnr,
gjahr LIKE bkpf-gjahr,
blart LIKE bkpf-blart,
bldat LIKE bkpf-bldat,
budat LIKE bkpf-budat,
monat LIKE bkpf-monat,
waers LIKE bkpf-waers,
hkont LIKE bseg-hkont,
bschl LIKE bseg-bschl,
shkzg LIKE bseg-shkzg, "Debit/credit indicator
dmbtr LIKE bseg-dmbtr,
wrbtr LIKE bseg-wrbtr,
dmbe2 LIKE bseg-dmbe2,
END OF st_extract.
Table types
TYPES: tt_bkpf TYPE STANDARD TABLE OF st_bkpf,
tt_extract TYPE STANDARD TABLE OF st_extract,
tt_edidd TYPE STANDARD TABLE OF edidd,
tt_edidc TYPE STANDARD TABLE OF edidc.
Internal tables
DATA:
G/L Doc header
gi_bkpf TYPE tt_bkpf,
G/L extracted data
gi_extract TYPE tt_extract,
IDOC segment data
gi_edidd TYPE tt_edidd,
Return table
gi_communication_idoc_control TYPE tt_edidc.
Global variables
DATA:
WA for internal tables
g_bkpf TYPE st_bkpf,
g_extract TYPE st_extract,
g_edidd LIKE edidd,
*-- IDOC structures:
IDOC control record
g_idoc_control_record LIKE edidc,
G/L document header
g_e1bpache08 LIKE e1bpache08,
G/L Account Line Items
g_e1bpacgl08 LIKE e1bpacgl08,
Line Item Currency Fields
g_e1bpaccr08 LIKE e1bpaccr08,
Return table from MASTER_IDOC_DISTRIBUTE
g_communication_idoc_control LIKE edidc.
Selection screen
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME.
SELECT-OPTIONS: a_bukrs FOR bkpf-bukrs,
a_budat FOR bkpf-budat,
a_hkont FOR bseg-hkont,
a_usnam FOR bkpf-usnam DEFAULT 'WMHEFRN'.
PARAMETERS: p_create AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK 1.
SELECTION-SCREEN BEGIN OF BLOCK 2 WITH FRAME.
IDOC control record - Receiver
PARAMETERS:
p_rcvpor LIKE edidc-rcvpor DEFAULT 'PORT-HFN', "Rec. Port
p_rcvprn LIKE edidc-rcvprn DEFAULT 'WMHEFRN', "Rec. Partn. number
p_rcvprt LIKE edidc-rcvprt DEFAULT 'US', "Rec. Partn. type.
p_rcvpfc LIKE edidc-sndpfc DEFAULT '§§'. "Partner function
SELECTION-SCREEN END OF BLOCK 2.
SELECTION-SCREEN BEGIN OF BLOCK 3 WITH FRAME.
IDOC control record - Sender
PARAMETERS:
p_sndpor LIKE edidc-sndpor DEFAULT 'SAPC46', "Send. Port
p_sndprn LIKE edidc-sndprn DEFAULT 'WMHEFRN', "Send. Partn.number
p_sndprt LIKE edidc-sndprt DEFAULT 'US'. "Send. Partn. type.
p_sndpfc LIKE edidc-sndpfc DEFAULT '§P'. "Send. Partn. funct.
SELECTION-SCREEN END OF BLOCK 3.
Start of selection
START-OF-SELECTION.
PERFORM initialize.
PERFORM extract_data.
PERFORM build_idoc_control_record.
PERFORM build_idoc_segments.
IF p_create = 'X'.
PERFORM create_idocs.
ENDIF.
PERFORM write_report.
*& Form INITIALIZE
FORM initialize.
REFRESH: gi_bkpf,
gi_extract,
gi_edidd.
CLEAR: g_idoc_control_record.
ENDFORM. " INITIALIZE
*& Form EXTRACT_DATA
Extract FI postings to internal table gi_extract
FORM extract_data.
Read BKPF
SELECT bukrs
belnr
gjahr
blart
bldat
budat
monat
waers
FROM bkpf
APPENDING CORRESPONDING FIELDS OF TABLE gi_bkpf
WHERE bukrs IN a_bukrs AND
budat IN a_budat AND
usnam IN a_usnam.
LOOP AT gi_bkpf INTO g_bkpf.
SELECT hkont
bschl
shkzg
dmbtr
wrbtr
dmbe2
FROM bseg
INTO CORRESPONDING FIELDS OF g_extract
WHERE bukrs = g_bkpf-bukrs AND
belnr = g_bkpf-belnr AND
gjahr = g_bkpf-gjahr.
MOVE-CORRESPONDING g_bkpf TO g_extract.
APPEND g_extract TO gi_extract.
CLEAR g_extract.
ENDSELECT.
ENDLOOP.
SORT gi_extract BY belnr.
ENDFORM. " EXTRACT_DATA
*& Form WRITE_REPORT
Writes a report showing the selected data, and generated IDOCs
and errors
FORM write_report.
WRITE: / 'Extracted data' COLOR COL_GROUP INTENSIFIED ON.
LOOP AT gi_extract INTO g_extract.
AT NEW belnr.
SKIP 1.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE: 'Document', g_extract-belnr.
FORMAT RESET.
NEW-LINE.
ENDAT.
WRITE: /
g_extract-bukrs,
g_extract-belnr,
g_extract-gjahr,
g_extract-blart,
g_extract-bldat,
g_extract-budat,
g_extract-monat,
g_extract-waers,
g_extract-hkont,
g_extract-bschl,
g_extract-shkzg,
g_extract-dmbtr,
g_extract-wrbtr,
g_extract-dmbe2.
ENDLOOP.
Write generated IDOCS
ULINE.
SKIP 2.
WRITE: / 'Generated IDOCs' COLOR COL_GROUP INTENSIFIED ON.
WRITE: / g_idoc_control_record.
LOOP AT gi_edidd INTO g_edidd.
WRITE: / g_edidd-segnam(10) COLOR COL_KEY, g_edidd-sdata(140).
ENDLOOP.
Write staus codes returned from function module MASTER_IDOC_DISTRIBUTE
IF p_create = 'X'.
ULINE.
SKIP 2.
WRITE: / 'Returncoides from function module MASTER_IDOC_DISTRIBUTE'
COLOR COL_GROUP INTENSIFIED ON.
LOOP AT gi_communication_idoc_control INTO
g_communication_idoc_control.
Find error message
select single
from TEDS1
WRITE: / g_communication_idoc_control-docnum,
g_communication_idoc_control-status.
ENDLOOP.
ENDIF.
ENDFORM. " WRITE_REPORT
*& Form BUILD_IDOC_CONTROL_RECORD
The IDOC control record contains message type, port and
partnerinformation
FORM build_idoc_control_record.
g_idoc_control_record-mestyp = 'ACC_GL_POSTING'. "Message type
g_idoc_control_record-idoctp = 'ACC_GL_POSTING01'. "IDOC type
Receiver
g_idoc_control_record-rcvpor = p_rcvpor. "Port
g_idoc_control_record-rcvprn = p_rcvprn. "Partner number
g_idoc_control_record-rcvprt = p_rcvprt. "Partner type
g_idoc_control_record-rcvpfc = p_rcvpfc. "Partner function
Sender
g_idoc_control_record-sndpor = p_sndpor. "Port
g_idoc_control_record-sndprn = p_sndprn. "Partner number
g_idoc_control_record-sndprt = p_sndprt. "Partner type
g_idoc_control_record-sndpfc = p_sndpfc. "Partner function
ENDFORM. " BUILD_IDOC_CONTROL_RECORD
*& Form BUILD_IDOC_SEGMENTS
text
--> p1 text
<-- p2 text
FORM build_idoc_segments.
DATA: l_transdate(8) TYPE c,
l_itemnr TYPE i.
CLEAR l_itemnr.
LOOP AT gi_extract INTO g_extract.
Build data - The structures from the underlying BAPI are used to
simplify thje work of building the data part of the IDOC
*-- Document header segment E1BPACHE08
*-- The document header should only be generated in the first loop
CLEAR g_edidd.
IF sy-tabix = 1.
CLEAR g_e1bpache08.
g_edidd-segnam = 'E1BPACHE08'.
g_edidd-segnum = 1.
g_e1bpache08-obj_type = 'BKPFI'.
g_e1bpache08-obj_key = '127387347'.
g_e1bpache08-obj_sys = 'APOCLNT800'.
g_e1bpache08-username = 'WMHEFRN'.
g_e1bpache08-header_txt = 'Humle er godt'.
g_e1bpache08-comp_code = g_extract-bukrs.
g_e1bpache08-fisc_year = g_extract-gjahr.
g_e1bpache08-doc_date = g_extract-budat.
g_e1bpache08-pstng_date = g_extract-bldat.
g_e1bpache08-trans_date = sy-datum.
g_e1bpache08-fis_period = g_extract-monat.
g_e1bpache08-doc_type = 'SA'.
MOVE g_e1bpache08 TO g_edidd-sdata.
APPEND g_edidd TO gi_edidd.
ENDIF.
*-- Line item segment E1BPACGL08
CLEAR g_e1bpacgl08.
CLEAR g_edidd.
l_itemnr = l_itemnr + 1.
g_edidd-segnam = 'E1BPACGL08'.
g_edidd-segnum = 2.
g_e1bpacgl08-itemno_acc = l_itemnr.
g_e1bpacgl08-gl_account = g_extract-hkont.
g_e1bpacgl08-pstng_date = g_extract-bldat.
g_e1bpacgl08-item_text = 'Halli Hallo'.
MOVE g_e1bpacgl08 TO g_edidd-sdata.
APPEND g_edidd TO gi_edidd.
*-- Line Item Currency Fields segment E1BPACCR08
CLEAR g_e1bpaccr08.
CLEAR g_edidd.
g_edidd-segnam = 'E1BPACCR08'.
g_edidd-segnum = 3.
g_e1bpaccr08-itemno_acc = l_itemnr.
g_e1bpaccr08-curr_type = '00'.
g_e1bpaccr08-currency = g_extract-waers.
IF g_extract-shkzg = 'H'.
g_extract-dmbtr = g_extract-dmbtr * -1.
ENDIF.
CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP'
EXPORTING
currency = g_extract-waers
idoc_amount = g_extract-dmbtr
IMPORTING
sap_amount = g_e1bpaccr08-amt_doccur.
MOVE g_e1bpaccr08 TO g_edidd-sdata.
APPEND g_edidd TO gi_edidd.
ENDLOOP.
SORT gi_edidd BY segnum.
LOOP AT gi_edidd INTO g_edidd.
g_edidd-segnum = sy-tabix.
MODIFY gi_edidd FROM g_edidd.
ENDLOOP.
SORT gi_edidd BY segnum.
ENDFORM. " BUILD_IDOC_SEGMENTS
*& Form CREATE_IDOCS
Create IDOCS
FORM create_idocs.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = g_idoc_control_record
TABLES
communication_idoc_control = gi_communication_idoc_control
master_idoc_data = gi_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.
MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
Remember to commit !
COMMIT WORK.
ENDIF.
ENDFORM. " CREATE_IDOCS
Process outbound IDOCs
Process the outbound IDOCs using program RSEOUT00. The program can be executed from SE38. The IDOC should now have status code 03 Data passed to port OK.
Create inbound IDOCs
The inbound IDOC can be created from the outbound IDOC using transaction WE12 Modification of Outbound file Triggering inbound Procg. The name of the target file is not important, but it must not have the same name as the source file.
Note that the program returns an error, but an inpund IDOC is created.
Source and Sender
The source file must have the same name and path as the outbound file in the partner profile. In this example it is created in the TMP directory which seem to exist in the root directory.
Recipient
Process inbound IDOCs
The inbound IDOC should now have staus code 64. Use program RBDAPP01 to process the inbound IDOC.
Please give me reward points If it is useful.
Thanks
Murali Poli -
Hi experts,
I am given a task to create an out bound IDOC which would be input to TIBCO, which must be triggered every time Good issue transaction is completed by either VT02N or VL02N transaction up pressing SAVE.
IDOC is to have fields from Customize tables apart from standard SAP tables, so was asked to create an own IDOC ( eg: Z--Idoc).
Please tell me how to create the idoc, and also the method to trigger it and how to populate the IDOC ( program etc).
Use full inputs would be promtly rewarded.
Regards,
Ram.Hi
Creation of Custom IDOc type and message Type
First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.
take the Basis help to create them.
1.First create segments in WE31 Tcode with the required dataelements
2.Create the Basic Idoc Type in WE30
release the Segments and IDOC type.
3.Create Message type in We81
4.Assign the message type to IDOC type in WE82 T code
5.Create the process code in We41 (for Outbound) WE42 (for Inbound)
6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module
7.Create Workflow setting if needed ..
8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there0
9.Define setting for fun module in BD51
10.In BD51 Define the settings for Fun module..
10.Assign the Processs Code to Fun mod`ule
Outbound Interface
PROCESS DIAGRAM for Outbound Interface
1. Analyse Hierarchy Levels
2. Create New segment
3. Create New IDoc Type
4. Create New Message Type
5. Link Message with IDoc Type
6. Create an entry in EDP13 via transactions WE20 and BD64
7. Populate the Custom IDoc via ABAP Program
7b Error Handling
7c. Send Status Email
8. Test the Population of the Custom IDoc
Step 1 Analyse Hierarchy Levels:
Analyse the data relationships being processed in the interface. Define the appropriate hierarchical Parent-to-Child relationships.
Navigate to transaction code WEDI
Transaction WEDI displays the IDOC main menu. This allows navigation around the various development and control areas to create a customised IDOC.
Step 2 Create a new segment:
via wedi : Development - IDOC Segments or Transaction code WE31.
Enter segment name and click on Create.
? The name of the segment type must start with Z1 , and have a maximum of eight characters.
Enter description and enter the relevant field names and data elements.
? The segment should represent a structure in the program so for each field in the segment a field name and a data element must be defined.
Save the segment and enter Person Responsible and Processing Person .
Go to Edit and Set Release.
Repeat this procedure for each new Segment in the IDOC.
Step 3 Create a new IDOC Type
via wedi Development - IDOC Types or Transaction WE30.
Enter segment name (starting with Z), click on Basic Type and then Create.
Create as new, enter Person Responsible and Processing Person and enter description.
On Create Basic Type screen decide where segments should be inserted and go to Edit/Create Segment.
Complete relevant fields in the Maintain Attributes screen:
From the relevant segments created in Step 2 enter the Segment type and if mandatory segment.
The Minimum and Maximum number of segments to be allowed in the sequence. (One minimum and one maximum if segment is mandatory).
The Parent Segment and Hierarchy Level will be automatically created depending on where in the IDOC tree you decided to create that particular segment.
Repeat this process for each segment needed in the IDOC type, deciding whether to add the next segments at the same level or as a Child.
When IDOC created return to initial screen. Go to Edit and Set Release.
Go to Transaction WE60 to view the IDoc Type you have created.
Step 4 Create new Message Type
via wedi Development - Message Types or Transaction WE81.
Display/Change and click on New Entries
Create a new Message Type and Save.
Step 5 Link Message Type to IDOC Type
via wedi Development - IDOC Type/Message or Transaction WE82.
Display/Change and then click on New Entries.
Enter Message Type, Basic Type (IDOC Type) and Release (46C) and Save.
Step 6 Create an entry in EDP13 via transactions WE20 and BD64.
The partner profile for the Idoc must be set up and generated in the transaction BD64 and transaction WE20.
WE20 Add Message Type to appropriate Partner Type, Enter Message Type, Receiver Port and Idoc Type and Save.
BD64 Create a Model View, Enter Sender and Receiver Ports, Attach Message Type. Go to Environment on Menu and click on Generate Partner Profiles and generate (not save) profile.
Step 7 Populate the custom IDOC via ABAP Program
See Test Program ZOUTBD_IDOC_TEMPLATE, Appendix IV.
Create an Internal Table for each segment type, this should be exactly the same structure as the segment type.
The control record is filled into a structure like EDIDC. The message type and the Idoc type for the Idoc must be populated into the eddic structure.
- PERFORM populate_Control_structure USING c_mestyp
c_SEGMENT_type1.
The data segments are filled into a structure like edidd-sdata; sdata and the segment name are populated into the edidd structure.
- PERFORM transfer_Parent_data_to_seg.
The standard SAP function module MASTER_IDOC_DISTRIBUTE is called to pass the populated IDOC to the ALE Layer.
- PERFORM master_idoc_distribute.
NOTE: This function module is only called for stand alone programs and Shared Master Data programs (SMD). It is not called when using extensions or output determination.
The ALE Layer handles the sending of the IDOC to the receiving system.
Error Handling (see Step 7b).
Commit work.
Project Specific
Step 7b Error Handling Analyse which fields in the interface are mandatory for the receiving system and who needs to receive error notification.
Declare a structure of type MCMAILOBJ for sending instructions.
Enter values for the internal table based on structure MCMAILOBJ
For selection processes, on SY-SUBRC checks and where fields are mandatory for the receiving system; insert Function Module MC_SEND_MAIL.
Enter values in the following parameters: -
MS_MAIL_SENDMODE = B (Batch Mode)
MS_MAIL_TITLE = 'Mail Title'
MS_MAIL_DESCRIPTION = Error description (e.g. MATNR not given)
MS_MAIL_RECEIVER = Name of Receiver (To be determined)
MS_MAIL_EXPRESS = E (Express Delivery)
MS_MAIL_DLINAME = Leave Blank
MS_MAIL_LANGU = 'E' (Language)
MS_MAIL_FUNKOBJ_NAME = Leave Blank
TABLES
MS_MAIL_CONT = I_MCMAILOBJ
Note:
It has to be determined separately for each interface how these errors and mail notifications are to be grouped dependant upon the number of errors that are potentially likely. One possible approach is to send an email for each reason for rejection and include all the records that failed for that reason in the mail notification. Another possible approach is to send an email for every failure.
When error checking for mandatory fields it is common SAP practice to reject a record on its first failure (irrespective of subsequent errors in that record)
Step 7c Send status mail
Append to table I_MCMAILOBJ details of the time the interface was processed, how many Idocs were created and how many of these produced a status of 03.
Select the user to receive the mail from ZINT_RECEIVER, using the name of the program as a key (SY-CPROG).
Use function Module MC_SEND_MAIL to send a mail to the user containing the contents of I_MCMAILOBJ at the end of the interface processing.
Step 8 Test the population of the custom IDOC
via wedi IDoc - Display IDoc or Transaction WE02.
Enter your message type and execute.
Status should be green, double click on one of the Idocs you have created to view its contents.
If a problem has occurred click on Status which will give you a description of the error.
Drop down Data Records arrow and this should list the data in the IDoc in the correct hierarchical structure.
Click on each individual segment and view the content to check that the correct data has been read.
If you have UNIX access by using AL11 you can view the file that you have created.
Note:
For some interfaces it may be valid to send an empty file to SAP. This empty file is converted to the custom IDOC format expected by SAP. This custom IDOC will contain dummy information. In the inbound processing code, if the dummy information is identified then the processing of the IDOC is considered to be complete and the IDOC should then be assigned a successfully processed status of 53, even though it has not been processed at all.
Regards
Anji -
Outbound idoc( billing )--- from where Out bound idoc fetching data
Hi gurus,
Some one explains me. from where does out bound idoc(billing) fetches data into control records and data records?.
Is it from Order or billing document?
Thanks
SeegalHi,
If your IDOC is getting generated from Billing document,the data in control records and data records should be fetched from billing document.You can get data from Sales Order as well.Check with your ABAPer.
Regards,
Krishna. -
Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP
Hi Friends
How to find Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP.
Thanks in Advance.
SRHi
If the idoc is managed by message, the link are stored in GOS (Obeject Service)
U can try to use the function module NREL_GET_NEIGHBOURHOOD
If you put
IS_OBJECT-OBJKEY = <sales document>
IS_OBJECT-OBJTYPE = <business object> (I think BUS2032)
the function returns the idoc
or if you put
IS_OBJECT-OBJKEY = <idoc number>
IS_OBJECT-OBJTYPE = <business object> (I think IDOC)
the function returns the sales order
You can investigate that function module in order to find out the tables
Max -
Hi All
Does any body knows the user exit when the Post Goods Issue is Done. I neet to generate a IDOC at that point. can any body help me with that.
or know the Selection program for IDOC DELVRY03
cheers
AJHi
I think we can handle this using output types.
Ask your functional consultant to create a output type (Medium 5) and assign a routine (VOFM).
In the routine check whether PGI is done.
If yes, get the output type triggered, by setting sy-subrc = 0.
Do the necessary outbound partner profile settings.
Than it should work
Regards
Madhan -
Dear All
I am trying to send the equipment details via idoc from SAP to outside,
Could you please help me in getting to know what standard idoc or message type
I can use and where I can trigger the idoc.
Amol SonaikarHi,
Check this link for details :
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
check these steps :
1.Go to the Data Element of the field and check whether change doucment option is checked or not .
2.change the value of the field and check the entries in CDHDR and CDPOS.here u can check the change document object and table .
3.check BDCP table also incase of ALE.The program RBDMIDOC generates IDOc when there is an entry in BDCP.
if not check the following config
1.BD61- change pointers activated -generally
2.BD50 -Activate change pointers for ur message type
3.BD52 - add the triggering fields and corresponding tables and change document object.
Please check the entries in BDCP table ,if u find the entries execute the program RBDMIDOC
Regards
Appana
*Reward Points for useful answers -
Can any one send me sample program for
DEBMAS Idoc outbound proces with change pointersHi,
Check this link for details :
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
check these steps :
1.Go to the Data Element of the field and check whether change doucment option is checked or not .
2.change the value of the field and check the entries in CDHDR and CDPOS.here u can check the change document object and table .
3.check BDCP table also incase of ALE.The program RBDMIDOC generates IDOc when there is an entry in BDCP.
if not check the following config
1.BD61- change pointers activated -generally
2.BD50 -Activate change pointers for ur message type
3.BD52 - add the triggering fields and corresponding tables and change document object.
Please check the entries in BDCP table ,if u find the entries execute the program RBDMIDOC
Regards
Appana
*Reward Points for useful answers -
When ever the employee is terminated the comm idocs should be sent to basis ,CRM and SRM systems
But in our case when ever the employees are terminated
equal number of comm idocs are not being triggered for all the systems
For instance
If 10 users are teminated today
10 users,10 communication idocs to basis ,7 to CRm and 7 to SRm systems
For a few users communication idocs are not triggered to CRm and SRM
Please help
Thanks in advanceHi,
Check in transaction SU01D if the users for which IDocs were not generated are maintained for the respective SRM and CRM systems.
~ Bineah. -
Out Bound Function Module For IDoc Types CODCMT01
Hi Experts,
Can you please tell me the Out Bound Function Module For IDoc Types CODCMT01,CODCAGN01,PRCDOC01.
Thanks..
Debi.Hi Debi,
You can use FM MASTER_IDOC_DISTRIBUTE to distribute outbound IDoc CODCMT01, CODCAGN01 and PRCDOC01.
Regards,
Ferry Lianto -
HI GURU'S WISH FUNCTION MODULE USED IN IDOC'S OUT BOUND
HI GURU'S WISH FUNCTION MODULE USED IN IDOC'S OUT BOUND PLZ HELP ME................
Hi!
Check out transaction WE41 for out, WE42 for inbound IDocs FM-s.
Unfortunately mostly the outbound IDocs are not entered here, they are sent from user-exits, at the save event...You can send IDocs using FM "master_idoc_distribute".
And check out transaction WEDI for IDoc configurations...
Regards
Tamá -
Incoming purchase order vs out bound goods receipt processing
Hi
any body know how to develop an interface for below requrement
creating an interface for incoming purchase order creation and out bound goods receipt processing
please let me know anybody knows this
Thanks in advance,
Best regards
AlleiahI done Purchase order inbound ...
you have to set up partner profile at we20 like message type,idoc type,port..
Message type : orders
idoc type : orders05,once you done it creates the purchase order,for testing you can use we19 ,enter data manually and you can see the status at we02 or we05 transaction
Reward Points if it is helpful
Thanks
Seshu -
Hi Experts,
I know that the EDI Out Bound Process comprises of the following. steps
Selection Program
Message Control
The Port Definition
The RFC Destination
The Partner Profile
So, pls let me know the same in the same manner (broder way) for IN BOUND IDOC?
Thank youModerator message - Please search before asking - post locked
Rob
Maybe you are looking for
-
IMac to print to "shared" printer on Windows XP Home
I have just returned to the Mac world. My first MAC was one of the first MACs ever made (1984) - it's in the basement and it still works. I have a new iMac G5. I was able to transfer all the files I wanted from my laptop (Windows XP Home) to my iMac
-
hi, I am using at last statement in my code in the following code:- LOOP AT ITAB1. AT LAST. SUM . WRITE: / ITAB1-SPART,ITAB1-TOT1. ENDAT. ENDLOOP. The code above perform the calculation of the field ITAB1-TOT1. B
-
I have a header with text and 2 divs, one div is right aligned and the other is below the main text which is also text and will be hyperlinked, I want the bottom text to be justified across the header but it wont work, I gave it a z value of 2 but st
-
Hi Gurus. I have two node cluster (node1 and node2) when we boot the cluster check the message (boot process): Jan 23 14:47:23 node2 ID [vxclust]: [ID 821894 local0.error] Selecting master ... Jan 23 14:47:23 node2 ID [vxclust]: [ID 696243 local0.err
-
Itunes is not sending a confirmation
I dont Understand why they don't send a confirmation to my e-mail adress