IDOC Inbound for Inventory Adjustment
Hi There,
I have a process we I have an inbound message to adjust the inventory, I was checking SAP Inbound proposaland I could not find any message type for this funtionality. I would like your help in this matter.
I need to indentified the IDOC and message type for this process.
Thanks in advance
Alexis
Hi,
For IM, you can use IDoc type WMMBID02 with message type WMMBXY.
Please check test program RLMBXY00 to simulate IDoc WMMBID02.
For MM, you can use IDoc type MBGMCR02 and message type MBGMCR.
Regards,
Ferry Lianto
Similar Messages
-
For Inventory Adjustment : Which Idoc type to be used and why?
Hi Gurus,
For Goods Movement in one of the MM-Purch Implementation I used the Idoc type : MBGMCR03
at that time inventaory was not playing a big role.
But for now for doing inventory adjustment (Inventory has importance now) which Idoc type to be followed:
Can I use same Idoc type : MBGMCR03
Or Shd I go for Idoc type : WMMBID02
In some threads I read if MM you shd. go for MBGMCR03 and for IM : WMMBID02.
But why I dont know the answer...
Please give me your views on this.
Thanks
AmreshMBGMCR03 is basically the BDBG idoc type and uses BAPI_GOODSMVT_CREATE to post the goods movement... You can check the documentation for the FM /BAPI to determine what kind of goods movement is possible. You can look at T158G table to find the t-codes supported. If you can post your inventory adjustment using the BAPI, you can use MBGMCR03, as long as middle ware can support that format...
As far as the WMMBID02, It uses the IDOC FM (which in turn also uses the MB_CREATE_GOODS_MOVEMENT).. -
XML-IDOC inbound for ECC 6.0
Hi,
in a ECC 6.0 only landscape we would like to process XML-IDOC in inbound. For outbound we have already create a XML-IDOC port... but I don't be able to find it for inbound.
How can I do it ?
Regards.
Ganimede Dignan.Hi,
it's quite simple, if you have a system base on NW 2004s or newer you have all that you need but take in mind XML-IDOC it's not a Free XML .... it's an XML structure as an IDOC.
In WE21 TCODE you can set-up and "XML File" port or and "XML Http" port.
In anyway you can parser each XML by ABAP custom code.
read olso some of my old notes....
IDOC_INBOUND_FROM_FILE => called within report RSEINB00
IDOC_XML_FROM_FILE => not called by any report (on release 4.6c)
I have used fm IDOC_XML_FROM_FILE already many times to manually transfer XML-IDocs from one SAP system to another.
Given the fact that report RSEINB00 is quite simple (see below) you could create your ZRSEINB00 for processing XML IDocs.
The reports can be scheduled in background to process the inbound IDocs continuously.
REPORT RSEINB00 MESSAGE-ID E0.
* EDI inbound processing (main program to be scheduled)
* This program processes one file with one ore more intermediate
* documents. When an error occurs, a message will be send via workflow
* processing.
* The index of the last successfully processed record of the file is
* always written to the table EDFI2.
* If the program is startet again for this file, the table EDFI2 will
* be interpreted and the processing will start at the next record.
* PARAMETERS
PARAMETERS:
* directory + name of file that has to be processed
P_FILE LIKE EDI_PATH-PTHNAM DEFAULT '/usr/sap/.../SYS/global/...'.
* DATA
DATA:
G_MESSAGE_FIELDS LIKE EDIMESSAGE.
* MAIN PROGRAM
START-OF-SELECTION.
* do inbound processing from file
CALL FUNCTION 'IDOC_INBOUND_FROM_FILE'
EXPORTING
FILE_NAME = P_FILE
EXCEPTIONS
FILE_OPEN_FAILED = 1
MARKER_TO_BE_DELETED = 2
READ_FILE_FAILED = 3
IDOC_NOT_STORED = 4
FILE_DELETE_FAILED = 5
MARKER_MODIFY_FAILED = 6
EVENT_CREATE_FAILED = 7
FIRST_RECORD_INVALID = 8
INVALID_RECORD = 9
OTHERS = 10.
IF SY-SUBRC 0.
* fill message fields for exception handling from system fields
MOVE-CORRESPONDING SY TO G_MESSAGE_FIELDS.
* error handling using the 3.0 business workflow
CALL FUNCTION 'IDOC_ERROR_WORKFLOW_START'
EXPORTING
DOCNUM = 0
EVENTCODE = 'EDIM'
MESS = G_MESSAGE_FIELDS
EXCEPTIONS
NO_ENTRY_IN_TEDE5 = 0
ERROR_IN_START_WORKFLOW = 0
OTHERS = 0.
* do not care for exceptions here
COMMIT WORK.
* abend message for RFC
MESSAGE ID G_MESSAGE_FIELDS-MSGID
TYPE 'A'
NUMBER G_MESSAGE_FIELDS-MSGNO
WITH G_MESSAGE_FIELDS-MSGV1 G_MESSAGE_FIELDS-MSGV2
G_MESSAGE_FIELDS-MSGV3 G_MESSAGE_FIELDS-MSGV4.
ENDIF.
* end of report
there are some function modules to accomplish this.
IDOCS_OUTPUT_IN_XML_FORMAT
IDOCS_OUTPUT_VIA_XML_HTTP
for inbound processing,
IDOC_INBOUND_XML_SOAP_HTTP
IDOC_INBOUND_XML_VIA_HTTP
IDOC_XML_FROM_FILE
IDOC Adaptor,
IDX_IDOC_TO_XML
Extended table maintenance, to display IDOC in XML format with XSL,
IDOC_XML_DISPLAY
IDOC_XML_TRANSFORM -
Idoc trigger for inventory updates.
Hi ,
we want to send our inventory update for a specific storage type to a third party system. when ever the quantity in a particular bins of the storage type gets updated an IDoc should e created to send the remaining quantity to a third party system. the triggers include any goods movements (PGI, goods issues, goods receipts). So my question is where do I write the trigger. Do i have to write the trigger against each transaction that will impact in goods movements or is there any way that I could write it at a higher level so every goods movement thats happening in the SAP system will check whether it has to create an IDOC or not.what happens if I use MB1A, MB1B, MB1C?
what happens if I dont post material document and just perform bin to bin transfer.
I want the the Inventoy level at a particular bin when ever there is a change to in the quantity.
how can I achieve this??
Edited by: deepu p on Mar 17, 2011 2:18 PM -
IDOC Message type for EDI 947- 'Warehouse Inventory Adjustment Advice'
Dear Guru's
I am in a EDI-IDOC project for my Client. Where a customer is treating my client as 3rd party warehouse. we have a scenario where I wanted to Trigger OutBond EDI 947 (Warehouse Inventory Adjustment Advice) from MIGO/MB1A/MB1B and MB1C. Can any one tell me what is the Standard IDOC message type and Basic type i can use.
You kind help on this will be great full to me.
With Regards,
M. Rajendran.Hi Sridhar,
Thanks a lot for your reply. I need to try with the proposed message type. Hope it works fine.
With Best Regards,
M. Rajendran. -
Standard IDoc Type for Inbound NonPO Vendor Invoices - FB60
What should be the perfect standard IDoc Type for Inbound NonPO Vendor Invoice posting. Tcode FB60.
I found IDoc Type FIDCCP02 but the Function Module 'IDOC_INPUT_FIDCC2' for FIDCCP02 is not released.
In the same way many other standard function modules like - IDOC_INPUT_ACLPAY, IDOC_INPUT_FIDCCH, IDOC_INPUT_ACC_INVOICE_RECEIPT and few more are not released.
My question : If at all I have to use standard IDoc Type, Message type and Function module (Released) for Inbound NonPO Vendor Invoices, then what should be the solution from SAP ?
Thanks,
Veeru.Hi,
IDOC_INPUT_FIDCC2 for FIDCCP02 works for us in ECC6.0
If you want Automatic tax calculation functionality using FIDCCP02.. then FIDCC2 is not correct message type for you. In that case you should probably go for :
Msg: INVOIC
Basic type: INVOIC02
FM: IDOC_INPUT_INVOIC_FI
Process code: INVF
Thanks,
Kumar -
When idoc failes for inbound sales orders then how to trigger a mail notifi
Hi All,
When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement.
Thanks in advance..Closing thread as there are no replies
-
Error : Pre Settings for IDoc inbound processing are missing error
Hi Experts,
There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
Thanks in advance.
Madhurima.I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
[iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299] -
IDoc Inbound Processing for CREMDM & DEBMDM
Hi experts,
I'd like to gather some feedback from you regarding the topic ERP IDoc Inbound Processing for CREMDM & DEBMDM. As you all know, there's currently no option to directly process CREMDM/DEBMDM IDocs in ERP. Currently you have to use PI for splitting the CREMDM/DEBMDM message into its related ADRMAS and CREMAS/DEBMAS IDocs.
My areas of interest are:
1) How satisfied are you with the current situation? Does the split work? Are there issues or problems in the current message handling? What are the Pro's and Con's from your point of view?
2) What would be the requirements for a CREMDM/DEBMDM handler? What would you expect? Maybe you have implemented something similar on project basis and could post some feedback?
One painpoint I'd see with a CREMDM/DEBMDM inbound is that you'll lose the IDoc Monitoring capabilities. The message split allows a single record tracing in the IDoc Monitor (as there is a 1:1 relation between IDocs and records). This changes for the mass processing. The monitor would display only the status of the IDoc and you'd need some other monitoring capabilities to check the results on record level. What are your thoughts about that? Is the monitoring important? Would the application log be a feasible solution for that challenge?
Additional comments are welcome, of course.
Best regards
Michael
PS: @ Matt, please contact me by mail. thanks.Hello ,
Here are some other pain areas regarding the message split :
1. Complicated monitoring proess & reprocessing error idocs : We have to monitor ADRMAS & CREMAS or ADRMAS & DEBMAS during inbound processing. Also we could not find any best practices to reprocess error idocs. E.g. If ADRMAS fails & CREMAS succeeds what is the impact . Also the impact if it is reveresed. We know for sure that if CREMAS fails , vendor will not be created / updated. But we could not find specific pointers for ADRMAS failures.
2. It is a tedious process to link CREMAS with corresponding ADRMAS idoc specially when SAP maintains internal number range for vendors.
3 . The process is complicated if you are managing customer or vendor contact information with contact address . We could succesfully implement the integration but it took us a while to reach end-point.
4. Splitting really does not seem to support if ERP maintains internal number range.
5. Another major issue we observed is , if ADRMAS is under process & corresponding DEBMAS or CREMAS is posted , it fails raising the message that Account is locked. Default serialization does work in ERP system . But overlap of few microseconds also cause this error.
Hope this helps !!
Please let me know if you need any other specific details since we have used MDM - ECC integration using PI to its maximum extent .
Regards
Yogesh -
Idoc type and message type for inventory
Hi All
What is the idoc type and message type for inventory adjustments? Thanks for any help
Thanks
RickyHi,
You can use IDoc type WMMBID02 with message type WMMBXY.
Also please check test program RLMBXY00 to simulate IDoc WMMBID02.
Regards,
Ferry Lianto -
Need help for IDOC inbound function module !
Hi guys please help me to create a IDOC inbound function module.
What are the parameters and tables.
How to write the code.
What it does.
Please send me one inbound func module code if possuble
ThanksHi,
You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.
In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).
Regards,
Soumya. -
BCExeption: The IDOC metadata for null is not available in SID
<h3>Hello Guys,</h3>
we need some information about the error message:
com.wm.pkg.sap.BCExeption: The IDOC metadata for null is not available in <SID>
We use a Business Connector 4.8 and the backend is an ECC 6.0, we have an inbound xml scenario with FTP.
We pick up the ORDRSP from the vendors ftp-server and we would like to drop it to our backend system.
We can read the xml file into a string, but not send to the backend system, we use following steps:
- bytesToString
- stringToDocument
- documentToRecord
- recordToIDOC
- lockSession
- createTID
so far works perfekt
- sendIDoc
- releaseSession
On the step "sendIDoc" we see the described error message, but what is the message from the message?
Any Ideas?
Thank you and regards,
MichaelHello Michal,
thank you for your quick answer!
In my opinion, i don't need any input for this service, because we pick up all data from the vendors ftp - server in a definied time interval.
All needed fields are available in the xml file. In the result tab is the IDocList filled correct, but no sending to the backend system because the error is displayed.
Is it a problem with my concept?
Regards,
Michael -
Hi Experts,
Inbound EDI message order acknowledgments:
When we cancel a purchase order item with IDoc message 'ORDRSP', this leads to an error message in the IDoc inbound processing.
There is note 890812, but i guess it is till release 5.0
Can anybody please guide me for the solution.
Thanks,
Sourabh KothariHi Experts,
When we tested for the note, it is giving the status that this cannot be implemented.
Could any one give me the alternate solution for the IDoc inbound processing.
When the vendor sends the quantity 0 against any of the line items, the other line items are also not posted. There error message is ME794.
As per the above note implementing the corrections & when the item is deleted in PO, again processing the idoc would be successful. But the note is not valid for ECC 6.0
Please guide.
Thanks,
Sourabh Kothari -
Confusion on IDOC types for creation of PO
Hi,
Requirement is sending PO from sendin SAP system to receiving system.
For sending am using-
Processing code ME10
On serching forums and tutorials, i came across IDOC type- ORDERS05 but this idoc type is for both PO and SO.
PORDCR04 idoc type for creation of PO only.
Some post says PORDCR04 doesnt create PO header text.On the other hand,For inbound processing of PO idoc ( using ORDERS05 ) processing code is not available.
I will be thankful if somebody can guide me which of these idoc types is preferable.
Thanks.
Edited by: Sanjay_lnt on Jan 8, 2011 3:49 PMHell Sanjay
Outbound ORDERS (= Purchase Order) and inbound ORDERS (= Sales Orders) are like siblings which reflect the customer / supplier relationship.
In case of the PORDCR04 IDoc it is somewhat different because does it make sense to have the same purchase order in different system?
In our case a POS (= point of sales) system is used to create a purchase order (for replenishment) which is then converted (via SAP-PI) into an inbound PORDCR04 IDoc in the ERP system. Out of this purchase order a replenishment delivery (for the shops) is created.
Regards
Uwe -
IDoc Inbound Business Connector
Hello
I am trying to send an inbound IDoc to SAP via Business Connector. This is shortly to be replaced by XI.
The flow in Business Connector creates a routing rule which is blank because it is not finding the control information from the IDoc I believe.
I think I am missing a step in my flow.
Currently the flow is
document to record
Transform hierarchy to Flat.
Map ( mapping the fields into the IDoc)
Record to Idoc
Inbound process
The inbound process always fails because it doesnt recognise the message type, sender etc.
This is all the idoc and in record to Idoc this is an input with an output of Idoc list which is passed to the inbound process.
However Idoclist I believe doesn't seem to contain any data.
I think a step is missing can anyone help??
ThanksHi,
Please see this.
Hi,
BC adapter can be used when you want to communicate to a existing interface on Business Connector. If you are talking to SAP, you use RFC / IDOC adapters.
The SAP Business Connector (BC) is used in a large number of SAP production environments. SAP Business Connector will probably be gradually phased out and replaced by SAP XI technology. For the short term SAP Business connector and SAP XI will inevitably continue to coexist in companies IT landscapes.
See Below links
Integrating your SAP Business Connector with SAP XI
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/96ed2129-0b01-0010-2e91-c45e1fad0d03
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f27ad80-0c01-0010-f8b8-c5e153a16ca1
Before XI
Before XI
webMethods Integration Server Vs. SAP Business Connector 4.7 (BC)
Choose the Right Adapter to integrate with SAP systems
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
Thanks
akshay
Maybe you are looking for
-
Dynamic no of rows in tabular form
Dear oracle forms experts, hope you all will be doing fine. Is it possable to that a tabular form take dynamic no of rows at run time, i mean if we i query mode if data contains 20 rows then it should expand to 20 rows and if it is only 5 rown then i
-
8350i phone - In my address book at the top of every contact it says: Synchronize using "email address". How do I get rid of that? I have tried the steps to turn off wireless sync, but I says "not available"; therefore I cannot choose yes or no. T
-
Why Do I have to load adobe Flashplayer each time I switch my computer off and on again this only started about 2 weeks ago is it a firefox problem or an adobe issue. I am using adobe Flashplayer ver 11
-
How do I turn the shuffle function off??
Hi, I've created a playlist for my workoutplan with fast and slow songs that I need to play in the same order I've saved them. But everytime I play the list, the Iphone shuffles the songs around. How do I turn that off?
-
Calling ipseckey from multithreaded application
Hello My multithreaded network C++ application calls Solaris ipseckey utility concurrently while deleting/adding IPSEC SA without any additional synchronisation. Application can call concurrently in threads constructions like FILE * fp = popen("/usr/