Idoc error 56 in inbound
Hi Experts,
I did one idoc transfer from Server A (ecc 5)to server B(ecc 6) .when i took the transaction we02 in server A its showing green light and outbound idoc was gone to server B .when i took we02 transaction in server B its showing error 56 with red light ,but idoc that i send from server A reached here with diff idoc number in the inbound side ,I had taken this idoc and put it in we19 transaction and i found that in the inboud side recever port in not populating .i tried to put port name manually by using the inbound function module at that time it works correctly ending with green light and same material is created in server B.
what should i do to make the inboud port to populate automatically .In partner profile of server B ,ports and maintained correctly . Is it because of any server difference?(ECC 5 --> ECC6) .Please help .
Regards
Sarath
Edited by: Sarath Madhusoodhanan on Feb 6, 2008 7:24 AM
Best Practices for mySAP Retail
Version 1.47
based on
SAP R/3 Enterprise with Retail Extension 1.10
and SAP BW 3.0b
Process Documentation Scenario
EDI in Purchasing
Copyright
© Copyright 2003 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of Microsoft Corporation.
IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®, OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®, Informix and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries.
ORACLE® is a registered trademark of ORACLE Corporation.
UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.
JAVA® is a registered trademark of Sun Microsystems, Inc.
JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.MarketSet and Enterprise Buyer are jointly owned trademarks of SAP Markets and Commerce One.
MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Table of Contents
1 SCENARIO EDI IN PURCHASING 4
1.1 Introduction 4
1.2 Procedure 4
1.3 Preconditions 7
1.4 Scenario Menu and Basic Path 7
1.5 Overview of Required Master Data 8
2 EXECUTION 9
2.1 Purchase Order Processing in the Retail System 9
2.1.1 Create Purchase Order 9
2.2 Sales Order Processing in the Vendor System 10
2.2.1 Looking at IDoc ORDERS and ORDRSP 10
2.2.2 Display Sales Order 10
2.3 Control Order Confirmation in the Retail System 10
2.4 Process Delivery in the Vendor System 11
2.4.1 Posting Stock 11
2.4.2 Create Delivery 11
2.4.3 Picking and Goods Issue 12
2.4.4 Looking at IDoc DESADV 12
2.5 Post Goods Receipt with Reference to Shipping Notification in the Retail System 12
2.6 Create Billing Documents in the Vendor System 13
2.6.1 Creating Billing Documents 13
2.6.2 Looking at IDoc INVOIC 13
2.7 Display Incoming Invoice in the Retail System 13
1 Scenario EDI in Purchasing
1.1 Introduction
To increase the efficiency of communication between retailers and vendors, documents such as purchase orders, order confirmations, shipping notification documents and invoices are transferred electronically. In the SAP R/3 System, this communication is supported by the creation of IDocs. An IDoc is an electronic document with the standard SAP format. Communication between two SAP R/3 Systems takes place using a converter and standardized national (SEDAS) or international (UN/EDIFACT) standards to transfer messages across a network (Wide Area Network, Local Area Network).
In the following scenario, we at retail headquarters (Retail system) will be communicating with our vendor (Vendor system). As only one SAP R/3 System is available, while we are going through the handbook the two systems will be simulated using two company codes.
As the retailer, in purchasing organization E001 we place orders for our distribution center VZ01 in purchasing organization V001, distribution chain V2 for >Article 1 with our vendor >vendor. Company code PS01 will be used to designate our organization. The vendors organization will be represented by purchasing organization V00L, distribution chain V3, supplying site LZ01 and company code PS0L. At retail headquarters, processing on the purchasing side will involve purchase orders, order confirmations, goods receipts and invoice verification. On the vendor side, sales-side processing will be shown using sales orders, delivery documents and billing documents. To ensure adherence to the chronological procedure of the business process, we will continually be jumping between the retailer and the vendor. So that both sides are able to communicate with one another and so that subsequent functions in the business applications can be triggered, the vendor >vendor on the side of the retailer must be connected with the customer >customer on the side of the vendor. For more detailed information see the Customizing Guide for this process.
1.2 Procedure
The process flow is as follows:
1. Process purchase order in the Retail system
2. Process sales order in the Vendor system
3. Control order confirmation in the Retail system
4. Process delivery in the Vendor system
5. Carry out goods receipt with reference to shipping notification in the Retail system
6. Create billing documents in the Vendor system
7. Carry out invoice verification in the Retail system
The following overview shows the individual steps again and the IDocs to be sent:
Retail system IDoc  IDoc  Vendor system
Create purchase order ORDERS
Sales order is created, order confirmation is created
ORDRSP Process sales order
Order is entered into the purchase order
DESADV Create delivery
Shipping notification is created
Carry out goods receipt for the shipping notification
INVOIC Create billing document
Incoming invoice is created, invoice verification is carried out
1.3 Preconditions
1.4 Scenario Menu and Basic Path
The following path is the basis for all other paths in this process documentation. As an alternative to the SAP menu, you can use the process menu for navigational purposes. You can access this using the button in the SAP Easy Access menu.
BASIC PATH SAP menu  Logistics  Retailing
PROCESS MENU PCS_RT_LOC4_040
1.5 Overview of Required Master Data
To carry out the scenario, use the master data listed for your installation of the preconfigured system. You can find corresponding identifiers in the following table:
FASHION HARD GOODS FOOD
MASTER DATA IN THE RETAIL SYSTEM
RETAIL ARTICLE PCS-02-ART111 PCS-02-ART431 PCS-02-ART333
VENDOR PCS-V112 PCS-V432 PCS-V332
DISTRIBUTION CENTER VZ01 VZ01 VZ01
MASTER DATA IN THE VENDOR SYSTEM
VENDOR ARTICLE EDI-02-ART111 EDI-02-ART431 EDI-02-ART333
CUSTOMER PCS-C300 PCS-C320 PCS-C310
SUPPLYING SITE LZ01 LZ01 LZ01
PURCHASE ORDER QUANTITY 500 500 500
BASE UNIT OF MEASURE PC PC PC
2 Execution
2.1 Purchase Order Processing in the Retail System
2.1.1 Create Purchase Order
The retailer creates a purchase order for the vendor >vendor in their SAP R/3 System (the purchase order could also be the result of a complex procurement scenario). Following this, the SAP R/3 System automatically sends an IDoc in ORDERS format using the standard EDI outbound.
PATH Purchasing  Purchase order  Purchase Order  Create  Vendor Known ME21N
ENTER Vendor
Order type
Document date >VENDOR
'Standard purchase order'
TABSTRIP Organizational data In Header area (expand if necessary)
ENTER Purchasing Org.
Purch. Group
Company Code 'E001'
'E01'
'PS01
BUTTON In Item Overview area (expand if necessary)
ENTER Site VZ01
BUTTON
ENTER Article
PO quantity
OUn >Retail ARTICLE
>PURCHASE ORDER QUANTITY
>BASE UNIT OF MEASURE
BUTTON
Only when using a generic article:
MESSAGE Enter variant quantities
ENTER Distribute the total quantity among the variants
BUTTON
MESSAGE Can delivery date be met? Possible
BUTTON Only with message
MESSAGE The effective price is..., the article price is... Possible
BUTTON Only with message
BUTTON
MESSAGE Standard PO created with number ... . Note purchase order no.
BUTTON
When the purchase order is created, an IDoc ORDERS is created, using message control, which is sent to the vendor..
2.2 Sales Order Processing in the Vendor System
The IDocs sent in this process are always available twice, once in the senders EDI outbound and once in the recipients EDI inbound. The IDoc ORDERS that is sent by the Retail system enters the vendors system, ensuring that a sales order (standard order) is automatically created. At the same time an order confirmation ORDRSP is created and sent back to the retailer. When the order confirmation arrives in the Retail system, the sales order number is entered into the purchase order.
2.2.1 Looking at IDoc ORDERS and ORDRSP
PATH SAP menu  Tools  Business Communication  IDoc Basis  WE02 - Display IDoc WE02
ENTER Date of creation
BUTTON
SELECTION Outbound IDocs and inbound IDocs ORDERS AND ORDRSP are displayed.
Double click on IDoc ORDERS in inbound
Double click on IDoc number
Expand the controlling tree status records
Expand the controlling tree application document posted
Note down the number of the message standard order number... saved.
BUTTON 2 x
2.2.2 Display Sales Order
PATH  Sales  Sales order  Order  VA03 - Display VA03
ENTER Order Order number from 2.2.1
BUTTON
TABSTRIP
Site
Confirmed quantity LZ01
>Purchase order quantity
BUTTON 2 x
2.3 Control Order Confirmation in the Retail System
PATH  Purchasing  Purchase order  Purchase Order  ME23N - Display ME23N
PATH Purchase order  Other purch. order
ENTER Purchase order
Purchase order (radio button) from 2.1.1
x
BUTTON
PATH In Item Overview area (expand if necessary)
TABSTRIP Confirmations
The number of the sales order is entered in the field, External document
BUTTON
2.4 Process Delivery in the Vendor System
The vendor creates a delivery with reference to the sales order, picks and posts the goods issue. When the goods issue is posted, a shipping notification (IDoc in DESADV format) is automatically sent.
2.4.1 Posting Stock
So that the delivery can take place, there has to sufficient stock available in the vendors distribution center (LZ01). To ensure this is the case, CATT ZRT_3_1_MB1C can be started:
PATH SAP menu  Tools  ABAP Workbench  Test  Test Workbench  Test Tools  SECATT - Extended CATT SECATT
ENTER Test Configuration /BPR3R/EDI_BESTAND
BUTTON
ENTER Error behavior
Variant
(otherwise leave the default values) S No termination, Continue with Next Script Command
According to the selected master data:
1 (Fashion),
2 (Food) or
3 (Hard goods)
BUTTON
BUTTON 2 x
2.4.2 Create Delivery
There is sufficient stock available for the delivery to be created.
PATH  Sales  Sales order  Order  Subsequent Functions  VL01N - Outbound Delivery VL01N
ENTER Shipping point
Selection date
Order LS01
See
See 2.2.1
BUTTON
MESSAGE Delivery ... saved
Note down the number of the delivery
BUTTON
2.4.3 Picking and Goods Issue
The pick quantity is entered and the goods issue posted. Only after this has been done, is the IDoc created.
PATH  Sales  Store order  Delivery  VL02N - Change VL02N
ENTER Outbound Delivery from 2.4.2
BUTTON
TABSTRIP
ENTER Pick quantity >Purchase order quantity
BUTTON
MESSAGE Outbound delivery ... saved
BUTTON
MESSAGE Outbound delivery ... saved
BUTTON
2.4.4 Looking at IDoc DESADV
PATH SAP menu  Tools  Business Communication  IDoc Basis  WE05
ENTER Creation Date
Logical message
BUTTON
Outbound IDoc and inbound IDoc DESADV is displayed
Double click on IDoc DESADV in inbound
Expand the controlling tree Status records
Expand the controlling tree Application document posted
Note down the number of the message 0001 delivery (ies) of number ... to number ... created.
2 x
2.5 Post Goods Receipt with Reference to Shipping Notification in the Retail System
The retailer posts the goods receipt with reference to the shipping notification.
PATH  Merchandise logistics  Goods receipt  MB0A Goods Receipt for Other Reference MB0A
ENTER Movement Type
Site
Storage Location
Shipping Notif. '101
VZ01
0001
See 2.4.4
BUTTON
BUTTON
MESSAGE Document ... posted
BUTTON
2.6 Create Billing Documents in the Vendor System
2.6.1 Creating Billing Documents
The vendor creates a billing document that the retailer receives using EDI (IDoc in INVOIC format).
PATH  Sales  Billing  Billing Document  VF01 - Create VF01
ENTER Document from 2.4.2
BUTTON
MESSAGE Processing document ... .
Document ... saved
BUTTON
2.6.2 Looking at IDoc INVOIC
PATH SAP menu  Tools  Business Communication  IDoc Basis  WE05
ENTER Creation Date
Logical message
BUTTON
Outbound IDoc and inbound IDoc INVOIC is displayed
Double click on IDoc INVOIC in inbound
Expand the controlling tree Status records. Expand the controlling tree Application document posted
Note down the number of the message order number... saved.
2 x
2.7 Display Incoming Invoice in the Retail System
PATH Retailing  Purchasing  Logistics invoice verification  Further processing  MIR4 - Display MIR4
ENTER Invoice doc. number See 2.6.2
BUTTON
Thanks
Amit Shivhare
PS: Reward point
Similar Messages
-
IDOC-XI-Idoc error in inbound idoc
Hi all.
We have a Idoc-xi-idoc scenario.
SAP R/3 - Xi - SAP CRM
We have configure the idoc out in SAP R/3. And I use we19 to test the Orders Idoc and check the staus is ok.
But in XI, I cannot see the Orders Idoc is sending in. However, this time I havenot configure any repository and directory.
My question is , if I havenot configure XI repository and directory, how can I check the Idoc in error messages ? How can I know that the SAP R/3 idoc is sending to XI correctly ?Hi Jianhong,
plz check SM58 at R/3. Assumedly the IDoc was refused by XI - because of missing Configuration in IB Directory.
Regards,
Udo -
Inbound Idoc error notification. Help needed
Hi Gurus,
Sorry, maybe it's a silly question.
I have a requirement to send an email when occurs any kind of error at inbound processing. The dest. of this mail must be the postprocessing agent from partner profile (WE20) of the message.
I have standard and custom process codes.
I've followed notes 44416 and 11610 but it still doesn't works.
Somebody knows how can I achieve that?
Thanks in advance,
David Gimeno.Thanks to all, but it still don't works.
J&Y: this report is necessary to process error Idocs? As I understand, notifys an alert message if a max number of error idoc is reached.
I've done the following things:
- Define custom message type (WE81)
- Bind message (custom) with Idoc type (standard) (WE82)
- Define FM with message type (we57)
- Define FM attributes (BD51)
- Define Process. Code (WE42)
- Define Partner profile with my custom Process Code.
I've tried to link my custom process code with an Standard Object (IDOCAPPL and IDOCPACKET) at BD67, but system brings me the message B1405 Application object type is not planned .
I've defined all tasks at http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b81b943d711d1893e0000e8323c4f/frameset.htm as standard tasks, and I've assigned it to a Org. Structure.
Finally, I enter an Idoc with an error wich brings to Idoc status 51 but I have no error notification. (I've found at SWI1 but no work item is generated).
Does anyone knows what I'm doing wrong, or what else can I do?
Thanks all in advance!!!! -
File to IDOC - Error Inbound -56
Hi,
I am doing file to Idoc. (CREMAS01).. My scenario in
RWB is successful. But in R/3 it is shwoing IDOC
error :"EDI: Partner profile inbound not available".
I created Partner Profile in R/3(logical name of BS-
sender file). Still is shwoing Error.
Regards,
Mukharji
Message was edited by: Mukharji THi Mukharji,
I hereunder give you the step by step procedure for File to IDOC scenario. Cross check whether you have done all these:-
SLD
1) Create a Product/Software Component
2) Technical System pointing to R/3 system
3) Business System for the above technical system
In the Repository
1) Import the Software component created in the sld
2) Create a namespace,
3) import the idoc and then create sender data type/message type etc and mapping
4) Mapping Rules is depends on the requirement
In the Directory
1) Create a Scenario /import the business system
2) Create Receiver/Interface determination
3) Create communication channels for sender and receiver
4) Sender Agreeement and Receiver Agreement.
Then the file adapter configuration is depend on the input file format.
Also you need to have Logical destionation created in the XI , and the IDX1 entry
In R/3 Port, Partner profiles etc should be created
Have a look into this document~
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
While doing an File -> XI -> IDoc scenario, The Points to noted are:
1. You dont need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
2. You import the IDOC and use the same in your mapping.
3. In this configuration note that you will need a sender agreement for the file.
4. In this configuration note that you will also need a receiver agreement for the IDOC.
For any File -> XI -> IDoc scenario ref:
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
Hope this helps you.
Regards.
Praveen -
Error In inbound Processing IDoc
Dear All,
I am facing error while inbound processing of IDoc
In status record of IDoc following errors are occuring
Status 60 : EDI: Syntax error in IDoc (mandatory segment missing)
The segment E1MAKTM has the attribute 'Mandatory' in the syntax description of the basic type MATMAS05 (customer enhancement ). However, the segment is missing in the IDoc
Status 51: Application Document not posted
Log details :
Error : Material Number should be filled.
When i checked IDoc all 4 fields in E1MAKTM have the values in inbound IDoc.
Please guide me how to resolve these issues so that IDoc will be posted and Material Master will get created in reciever system.
ThanksHi Praveen,
I checked the data in IDoc for this segment.
It is ok as required in basic message type.
e.g. the error says that mandetory segment E1MAKTM is missing.
when i check basic type
MSGFN : Function
internal data type : CHAR
Internal length : 000003 characters
Position in segment : 001, Offset : 0063. external length : 000003
SPRAS : Language Key
internal data type : LANG
Internal length : 000001 characters
Position in segment : 002, Offset : 0066. external length : 000001
MAKTX : Material Description (Short Text)
internal data type : CHAR
Internal length : 000040 characters
Position in segment : 003, Offset : 0067. external length : 000040
SPRAS_ISO : Language according to ISO 639
internal data type : CHAR
Internal length : 000002 characters
Position in segment : 004, Offset : 0107. external length : 000002
is information.
and data in segment of IDoc is
MSGFN 005
SPRAS E
MAKTX MANATA2000 TEST ALE
SPRAS_ISO EN
which i think is ok.
I have no clue why this syntax error is coming.
Thanks
Niketan -
Hi ,
I am getting error in Inbound idoc as follows "CC. .EX.593 does not exist" when i go to BD 87
and process it says "order is not valid for making status changes ".
can some one please guide how to solve this error "CC. .EX.593 does not exist"?
Thanks,
Pradeep.This is a data problem .Closing it.
Edited by: Pradeep Akula on Jun 15, 2011 7:10 AM -
Inbound IDOC error 51 Application Document not posted
Inbound IDOC error 51: Item: 002 Goods/Service number not entered So application document not posted.
Please help me outhi
check whether service number is available in the idoc if not check the field mapping -
Workitem not triggered for Inbound IDOC Error (ORDERS05)
Hi,
The work item is triggered for the Syntax Error in the Idoc (EDI: Partner profile Not Available).
But, as per my requirement i need to get the idoc error status (as Workitem) , any help regarding the resolution of this issue is highly appreciated.
Regards,
Rusidar S.Hi Uwe,
Many thanks for your response, well i did run the report name that you said me.. when i executed that report i got a workitem as "ALARM Message from Active IDoc Monitoring" and workitem for EDI syntax errors"EDI: Partner profile inbound not available"
But my objective remains unsolved.. i need the error status of idoc to be generated, do u have any idea or solutions, kindly share it as its the 3rd day that am still into the same task....
Regards,
Rusidar S. -
Idoc WHSORD for inbound delivery
Hello,
We want to send inbound deliveries to an external WMS (not SAP WM) by using an output in the inbound delivery.
I tried to use idoc WHSORD (basic type DELVRY01) as for Outbound delivery.
I obtained an error message when processing the output : "The message record of the message control contains a partner role with a partner type LS that cannot be used here. Only the 'KU' and 'LI' partner types are allowed."
<u>Configuration done</u> (same as outbound delivery) :
Output : Medium "6 EDI" / Partner type LS
Partner profile (WE20) : Partner type LS / Partner role LS /Message control : Application E1 / process code DELV.
Finally, I've been able to generate one idoc from the inbound delivery by using medium "A ALE" and partner type LI "vendor". But I need to do it for a LS partner as we do want to maintain partner profile for each vendor.
Is this due to some missing configuration linked to application E1 (i.e allow partner type LS ?) ?
How can we solve this ?
Thanks a lot for your helpHi zhiqiang,
In order to test inbound idocs, you can use transaction WE19 to create manually idocs.
As pre-requisite, you have to maintain ALE configuration : port and partner profiles.
Then in WE19, you can create an idoc from message type : fill all the fields you need to and delete unuse segments. Then click on "Standard inbound" and your idoc will be received in your SAP system.
Check the status in transaction BD87.
To fill correctlly your idoc :
1. You can find documentation on message type in transaction WE60 (when you go in this transaction, check the documention is "active" => Goto => user settings => "Documentation output" and "field value output" must be ticked)
2. In WE19, for some fields, if you press F4, you will get list of possible values.
Good luck,
JP -
IDoc Error 51 - Make Entry in All Required Fields
hi,
I am using a scenario where an idoc is being posted into an R/3 system from a legacy application. For some reason I keep getting Idoc error 51 (Document not posted).
Once I drill down further, the specific error states "Make entry in all required fields". Have checked to make sure all mandatory fields have been mapped and proper constant values have been specified.
But cannot seem to get rid of the problem. Could anybody help out in determining how else to troubleshoot this and identify the possible cause?
thx,
ManpreetManpreet,
What IDoc Type you are trying to post ? One way is debugging the inbound function module using WE19. The second option is talking to a functional consultantor who worked, what fields are needed for that particular IDoc.
I wouldn't care much about whether the IDoc is posted or not because, it is the ABAP ALE/EDI consultant's job to do that. The only way XI Developer is concerned is when it is not posting, ABAPer would tell what's missing.
Hope this info helps.
regards
SKM -
Idoc error 51:CODE is not supported by BAPI2017_GOODSMVT_CREATE
Hi,
I'm doing the file to idoc scenario for inbound Goods Receipt with respect to a Purchase Order.
In ECC 6.0, Partner profile, inbound parameters:
Message Type: MBGMCR
Basic type MBGMCR03-Post Goods Movements with MB_CREATE_GOODS_MOVEMENT
Released since Release 700
Process Code: BAPI
I've created a o/b structure & mapped only below fields.
E1BP2017_GM_HEAD_01 : BAPI Communication Structure: Article Document Header Data
PSTNG_DATE : Posting Date in the Document
DOC_DATE : Document Date in Document
REF_DOC_NO : Reference Document Number
E1BP2017_GM_ITEM_CREATE : BAPI Communication Structure: Create Article Document Item
STGE_LOC : Storage Location
MOVE_TYPE : Movement Type (Inventory Management)
ENTRY_QNT : Quantity in Unit of Entry
ENTRY_UOM : Unit of Entry
PO_NUMBER : Purchase Order Number
PO_ITEM : Item Number of Purchasing Document
NO_MORE_GR : "Delivery Completed" Indicator
After idoc generation it is giving status error,
51:Application document not posted
CODE is not supported by BAPI2017_GOODSMVT_CREATE
How to fix this... pls guide on this.
Regards,
BalajiHi Balaji,
When you are using a BAPI to post the GR then why do you want have an IDOC in between. You have a standard BAPI to post the GR document and the bapi is BAPI_GOODSMVT_CREATE.
You can design your custom code in such a way that read the data from the file and pass the necessary parameters to that bapi and moreover whatever parameters you have passed to the earlier bapi hold good for this as well.
But if you are very keen on using the idoc concept then you the following details:-
Basic Type :- WMMBID01 or WMMBID02
Message Type :- WMMBXY
Process Code :- WMMB
The above combination holds good for posting a GR using IDOC concept.
Thanks,
Mahesh. -
Outbound IDoc Error: Status Code 37 'Sender Port' is invalid
Hi
I have an Error when the Outbound IDoc is triggered.
It shows that 'Sender Port in Control Record is invalid'.
Status Code: 37.
I know that there are some issues with the Sender Port Definition.
Please help me out to solve this problem using some checkpoints at each and every step.
Reward Points Assured.
Regards,
BaburajHi Baburaj Manickam
Good
Follow this simple procedure
1) Send an outbound IDOC data(MATMAS) to a flat file on client1(SENDER).
- Create File Port (WE21) for outbound file.
- Maintain Distribution Model (BD64) for sender ->receiver system.
- Create Partner Profile (WE20) for logical system.
- You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s).
_ Then you can FTP the file(s) to receiver system.
2) Upload the flat file as an IDOC on the inbound sytem
which is Client2(RECIEVER).
- Create File Port (WE21) for inbound file.
- Maintain Distribution Model (BD64) for receiver -> sender system.
- Create Partner Profile (WE20) for logical system.
- You can use this program RSEINB00 to upload IDoc MATMAS file(s).
INBOUND IDOC PROCESSING:
Firstly attach your idoc to a process code.
In the process cod you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
2. Set Function Modules as Inbound: - Transaction BD51
3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
4. Create process codes : Transaction WE42, and link the z-function module.
5. Create partner profile: transaction WE20 and attach the message type and process code.
6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
Try the Trasaction WE19 for testing your inbound and outbound IDOCs
Good Luck and Reward me for the same
Thanks
Ashok.N -
IDOC Error V1 042 - Sales document X is currently being processed by user X
Hello Experts,
I am using the IS-Retail solution of SAP and I am facing a IDOC Error which keeps the IDOC in Status 51. I traced the Error Message and it was V1 042. I am using an Inbound IDOC 'SHP_OBDLV_CREATE_STO01' to create the STOs (Deliveries) using the POs and there is a locking issue of the PO giving error message 'Sales document XXX is currently being processed by user XXX'.
I have created a backgroung job using a program to post the STOs using IDOCs that picks up multiple files from Application Server and processes them one by one. Now when 2 or more files use the same PO then this error occus.
I added a couple of minutes of wait time between the file processing but that did not help.
Please let me know if you have faces same situation and what solution did you apply.
Regards,
PSHopefully you have fixed this by now, but for anyone else who might be looking at this problem. We had this problem and we had the 2 programs check to see if the other was already runing. If so the program would submit itself for a number of minutes, different for both programs, and then exit. We also, and just before this, checked to make sure that there were not 2 of the running programs running and if so to exit. This was necessary because re-scheduling could put a program in conflict with itself. I hope that this may help someone. We used the join V_OP and searched for the program name, not the job name.
Kevin -
Hi Friends,
We are doing the intercompany transaction and the org structure is as follows -
Supplying Receiving
Company Code 1000 2000
Sales Org 1000 2000
Customer 1000001
(Internal Customer
Receiving)
Vendor 2000001 (Vendor - Supplying)
In the process, we do the intercompany billing from company 1000 to 2000, during the intercompany billing there is not output tax is applicable for the 2000 customer. However when we post the payable posting in receivng company input tax is applicable as X1(Tax code).
My questions -
1. How the tax codes are going to map in OBCG transaction, as i dont have any output tax -
2. When i am creating the billing document, system is showing the following error in inbound idoc for account payable posting
Formatting error message in the field BSEG-GSBER
For the above problem, i checked the field status of GL and i made business area field as optional but still the problem is persisiting
Anticipating a positive response
Best Regards.,
Gouthamwhat is message number and ID ?
-
How to edit Idoc data in inbound processing
Moved to correct forum by moderator
Hi All,
How to edit idoc data in inbound processing ? We have a custom FM in inbound scenario and requirement is to update a value in idoc, this value comes after certain processing in custom FM.
I tried editing it through
EDI_DOCUMENT_OPEN_FOR_EDIT
EDI_CHANGE_DATA_SEGMENTS
EDI_DOCUMENT_CLOSE_EDIT
but there is problem in this approach. By this procedure two idocs are created in system, one with original data and one with modified data. We want only one with modified data.
We do not want any direct database table updates.
Please provide appropriate solution.
Note : We are not changing status record. Please do not post replies related to status change
Edited by: Matt on Nov 19, 2008 2:24 PMHi,
You can edit the idoc by doing the following steps:-
1. Goto WE02 transaction and give the IDOC number and execute
2. Once the required IDOC gets retrieved then double on the text pad icon beside the segment which you wanted to change.
3. Select the Data Record at the top and click Display <-> Change option, which will enable you to change the data in that segment.
4. After doing the step 3 then click the save button to save your changes.
5. Then system will generate a new idoc number to store the actual data and your current idoc will hold the new data and the idoc will be in 69 status.
6. Execute the Program RC1_IDOC_SET_STATUS by giving your idoc number and status as 69 and new status 64 and remove the test flag
7. Then the IDOC will be in 64 status and you can reprocess the idoc with the help of the program RBDAPP01 by giving the idoc number.
The above is the entire process for editing the error idoc and reprocessing it again.
I hope I am clear and you understood the entire flow of editing and reprocessing an idoc.
Thanks,
Mahesh.
Maybe you are looking for
-
Hi, I need help for my HP Pavilion Notebook. The Model Details are as below: Model:dv4-1551dx OS: WIndows 7 64 Bit Place of Purchase: Best Buy at Torrance ,California My Problem: I am getting a Blue Screen Shut down with KERNEL_DATA_INPAGE_ERROR.
-
Mainboard doesn't recognize graphiccard
I have a MSI mainboard 870-C45 and tried to replace my my graphic card to a MSI HD6570, but now I have only the onboard graphic card? I can't play COD Ghost or any other game. Does anyone have an answer for my problem? greets, Dutchaugust.
-
I've got no internal hard disk?! Help!!
I've got a major problem with my eMac. When i switched it on, it gives me the flashing folder symbol indicating that my computer can't find the system. I put in my Panther disks, and when it comes to installing panther, it cannot find the hard disk a
-
In form i have given PERFORM form in PROGRAM prog using &EKPO-BRTWR& changing &GV_NETPR& endperform in prog form prog TABLES in_par STRUCTURE i
-
Elements 6 and Cs crash on loading
I have been using photoshop elements six for over three years now with no problems on a mac Powerbook G4 running on OSX10.4.11. This program will now not run. It goes through the start up menus until it gets to "building twain menus" then crashes. I