Inbound idoc type

i have to do an inbound idoc. first i need to retrieve data from one function module and use the data of that FM into another function module.
so there is a Z function module which has information of both the function module.
i am using the following idoc type
MBGMCR02.
i need to add some more zsegment into it of the other function module the function moduke is  WS_DELIVERY_UPDATE 2.
kindly guide please.

Hi Kamlesh,
In we30 you have to create a new Extension idoc type and add the segments. and then from the menu release the idoc type.
Create a new message type ZMBGMCR using we81 or we82.
Create a new Function module to cater to your requirement.
Create a new inbound Process code through WE42 or we41 and attach this function module to the process code.
Link the idoc type, message type and function module through WE57 or BD57
Set the partner profile We20 for the new message type and idoc type and also set the message control tab
Set the port through we20. and give this port in the we21 partner profile.
Create a Customer distribution model BD64 and give the sendor and receiver and from the menu distribute the partner profiles.
Use We19 tcode to test the inbound idoc.
Use we02 or we05 to view the status of the idoc.
The tables for idoc are
EDIDC - control record
EDID4 - Data record
EDIDS - Status record
Some transactions are
SCC4
We20
We21
BD64
we81
we82
bd87
we19
wedi
we02
Hope this helps
Regards
Arun

Similar Messages

  • Inbound Idoc type for posting Non-PO Invoice

    Hi,
    I am looking for an inbound Idoc type to post Non-PO Invoice.  The Idoc types INVOIC01 and INVOIC02 helps me to post the invoice with reference to PO.  But I am looking for the Idoc type to post the invoices without reference to PO i.e., For example to post the transaction FB60 (Enter vendor invoice without ref to purchase order).
    with regards,
    suresh

    Hello Deep,
    I know it might be quite late for you for this answer, nevertheless I will write that, because there are lots of question like yours. bapi_incominginvoice_park is also a suitable bapi for you. All you need to do is call it this way:
    data: headerdata like bapi_incinv_create_header value is initial,
            table_item type table of bapi_incinv_create_item,
            gl_account like bapi_incinv_create_gl_account,
            table_gl type table of bapi_incinv_create_gl_account.
    * fill headerdata and table_gl, leaving table_item empty
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
        EXPORTING
          HEADERDATA                = HEADERDATA
    *   ADDRESSDATA               =
        IMPORTING
          INVOICEDOCNUMBER          = lv_docnr
          FISCALYEAR                = lv_year
        TABLES
          ITEMDATA                  = table_item
    *      ACCOUNTINGDATA            = table_acc
          GLACCOUNTDATA             = table_gl
    *   MATERIALDATA              =
    *      TAXDATA                   = table_tax
    *   WITHTAXDATA               =
    *   VENDORITEMSPLITDATA       =
          RETURN                    = lt_return.
    This works perfectly for me, creating a mir7 document without refering to a PO. The trick here is to fulfill the glaccountingdata importing table while leaving itemdata empty.

  • Inbound Idoc type for Usage Decision QA11

    Dear SAP Gurus,
    Would like to find out if there is any inbound idoc type to perform Usage Decision (transaction QA11).
    Will reward points for any kind of help. Thank you.
    regards,
    Ju Lee

    Hi,
    There is no standard Inbound Idoc for UD. But there is BAPI available for same "BAPI_INSPLOT_SETUSAGEDECISION".

  • Segment E1IDBW1 is missing for the inbound idoc type PAYEXT

    Hello,
    the above segment is missing in the inbound idoc - basic type pexr2002.
    I have checked in TC-we30 and its available there.
    but still the idoc is getting generated without this segment.
    can someone suggest.
    thanks
    Arun

    Hi All,
    I have a similar query to that of Penny. We are able to get the standard IDOC to generate with segment E1IDBW1. It contains the standard fields INPWEEMP, INPWTXT1, INPWTXT2. However, we have a requirement to manipulate the standard contents of these fields. We wanted to use user exit EXIT_SAPLIEDP_002 to do this.
    I have maintained user exit EXIT_SAPLIEDP_002 but when we enter this on creation of the IDOC the segment E1IDBW1 does not seem to be available in table EDIDD_TABLE for manipulation. Can you advise please if (1) you were able to get E1IDBW1 available to edit in exit EXIT_SAPLIEDP_002  and (2) were you able to manipulate the contents of INPWTXT1, INPWTXT2 etc?
    We have done the following steps:
    - BTE 2441 is available on our release
    - house bank has been setup as an In House Cash Center which allows E1IDBW1 to be generated
    - entry has been maintained in table FEDICUS with Message Type = PAYEXT, BasicType = PEXR2002, Extension = Blank, Seg Type = E1IDBW1
    - code maintained in ZXF08U04
    The system enters ZXF08U04 but E1IDBW1 is not available there for manipulation.
    Can you advise what we might be missing please?
    Thanks and regards
    Mike

  • Inbound Idoc Type / Message Type / Process Code for Delivery via Tcode VL0N

    Guys,
      I need to to Idoc Type and Message type for to create Delivery ( Tcode VL01N ) for a sales order.
      I tried Idoc Type DELVRY03 and Message Type DESADV, but this is for Purchase Order  ( VL31N ).
    Kindly help me.
    Regards
    Srikanth M

    Guys
    I could not use above message type/idoc type as they are not released in SAP.
      So i am again back to where i have come from. I am trying to use DESADV01 and Mess Type DESADV.
    Regards
    Srikanth M

  • What is inbound idoc type to post MB1B

    Hi ,
    We have a requirement to post the idocs from external system to MB1B transaction in SAP.
    The movement types are 301, 302, 311,312. Does WMMBID02 is supported for these movement types?
    Can anybody please advice?
    Thanks and Regards,
    Suresh.

    Hi
    In your return order schedule line category DN (DN is the schedule line category of the return order in standard ) you need assign movement type 655
    If you assign movement type 655 when you do PGR for the return delivery, stocks will sit in Quality inspection directly
    653 will move stocks directly to unrestricted (Strictly not advisable)
    651 will move stocks to blocked customer returns (recommended by SAP)
    Regards
    Raja

  • User Exit available for basic inbound idoc type MBGMCR01 in SAP R/3

    HI,
    We are looking for the User Exit for BsicIdoc MBGMCR01.
    When we create confirmation in EBP, this idoc gets triggered from EBP to R/3 to create goods receipt material document.
    Regards,
    Nikhil.B

    Hi
    <b>Please go through the following links, for all the required details -> </b>
    GRN IDOC Transfer to ERP  - MBGMCR01 ( 2 IDOCS created)
    Re: GR IDOC Number
    Re: Confirmation screen field to be mapped to backend field
    Re: Delete goods confirmation in SRM3.0
    Re: Not able to change confirmation date
    Confirmation against Backend PO for SRM@ERP2005
    Re: SRM Confirmation # in R/3
    Re: Goods Confirmation not transferred to backend!!
    Hope this will definitely help.
    Regards
    - Atul

  • Creation of Service Contract from Inbound IDOC

    Hi Experts,
    I am using Inbound IDOC type ORDERS02 with message type ORDERS for creation of Sales Order. Now my requirement is like to create a  Service Contract from that Inbound IDOC. The IDOC type contains all the data require to create a Service Contract. The scenario is like, after creation of Sales Order it will check for the corresponding Service Contract exits or not by querying on a Z table which contains all those entries.
    So my idea is to create a Z Program, in which it will check for the Service Contract and will create the same by reprocessing the same IDOC or by calling some Function Module. Please suggest how shall i proceed to create a Service Contract.
    Is there any way to reprocess the IDOC or to collect the Data from the IDOC segments pass them to a FM which is responsible for creation of Inbound IDOC. Please suggest if this is feasible.
    Thanks in Advance.
    Regards,
    Priyabrata.

    Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
    Regards,
    Priyabrata

  • NO MATERIALs in the Sales order created through inbound idoc file

    hi,
    i have maintained the customer material number as well the SAP Material number in the tcode VD51,but still the inbound
    idoc type ORDERS03 is posting the application document(Sales order) without the materials.
    for instance,
    I have cust.material as CUSTMAT1 in the idoc file.
    I have maintained the CUSTMAT1 as cust material and 1001 as material no in VD51.
    After posting the inbound idoc file using RSEINB00 prg,the idoc is created and i can see the CUSTMAT1 in the material segment field
    The Sales order is created successfully ,but without the materials.
    i need the application document has to be posted with materialsm,can any one help me to solve this issue.?
    Thanks

    Hi ganesh ram
    In order to determine the Material Number with you custom material then you needs to have some configurations.
    Check with your Functional consultant to add the Access sequence for determining the Material Number with you custom material
    In Sale order processes...
    Thanks
    Ramesh

  • IDoc type in GTS to create a sales Order

    Hi Gurus,
    Is there any Inbound IDoc type in GTS that can be used to create a sales order. I Know that sales orders are created in ECC system, but still want to know if there is any Idoc type in GTS that has the segments with fields of a sales Order.
    Thanks in Advance,
    Sam

    Hi Sam,
    No, there is nothing available as standard.  There would be little point in "hi-jacking" the iDoc for GTS Customs Declarations because it would be unknown in your external system.  You could consider using the very general /SAPSLL/CCEABI01, but it might be easier to build the standard ORDERSP or similar in GTS.  In any case, there is no inbound Function Module available to process the received iDoc, so you would have to write code to parse and process the iDoc.
    The best approach would be to use the API if possible, and employ RFC techniques to call Function Module /SAPSLL/API_6800_SYNCH - the standard call for Sales Orders transferred from the ERP system.
    Sorry that I don't have better news.  Anyone else have suggestions?
    Regards,
    Dave

  • Get Idoc Types Processed by Jobs Running Programs RBDAPP01 or RBDMANI2

    Hi Everyone! I would just like to ask if there is a way I can identify all background jobs which are processing a specific idoc type in SAP?
    For example, I want to get the Jobs that are processing inbound idoc type WMMBXY using program RBDAPP01 or RBDMANI2.
    Is there a way to extract this information?
    Thanks in advance!

    Vincent, we have a conservative approach RE those programs that re-process IDOCs in pending or error status : we do not define those jobs with open selections, instead we are specific in terms of message type and partner where applicable.  We also set a limit in the number or attempts on a failed IDOC by setting a 'rolling start date'  (like current date - 7).  Besides audit considerations about lingering processes,  you also need to take into account the impact of this process on the tale size. Each time the job runs and the IDOC fails, a status record will be added to the EDIDS table for each of those IDOC.  If you do not pay attention, you may end up with large amounts of data. This is not only going to unplease your BASIS and DB administrator but eventually put in jeopardy your archiving process (wchich could lead to a system crash !!).
    We usually aslo complement those jobs with a status change step (moving from error to no further processing) ; the date parameter can be set to something like anythiing with a creation date > current date + 3 months
    To come back to your question : SM37 using the program name as parameter will help you find the associated jobs, but you might need to look into the step(s) and associated variant to get the messages those jobs / steps are processing

  • Inbound Idoc for material document cancellation

    Hello,
    Could you update me whether there is any Inbound Idoc type available for material document cancellation (like t.code MBST).  I found message type MGBMCR, but it's only allowing me to create the material document like GRs but not cancellations.
    /Mallik

    To my knowledge, there is no such IDoc. Cancellation is an exceptional situation and should be treated as such. If one needs an IDoc interface for cancellations, I'd have to say there is something very wrong with the business process.

  • Inbound Idoc INVOIC01: Balance not zero

    In ECC 6.0, we are using inbound idoc type INVOIC01 and function module
    IDOC_INPUT_INVOIC_MRM to enter MM invoices & FI-postings for incoming purchase
    invoices that processed in an external system.
    The idoc raises error msg M8 534: "Balance does not equal zero".
    While processing the idoc, tax amount is not getting posted.
    I tried posting invoice through MIRO using the same data and it is getting posted but when i am using idoc , its giving error.
    Has anybody run into a similar problem? Any hint would be extremely valuable in order to solve the problem!

    Can anyone please help me on this ?

  • Error Inbound IDoc - Status 51

    Hi,
    i am new in working with SAP and I am trying to integrate an inbound IDoc type WPUBON via WE19 transaction, l solved all the issues related with ports and partner profiles(they were the first errors). But when I want to check if the process has been done well with the WE05 transaction I get two error messages, both of them with status 51:
    The transactions for intermediate document 0000000000052247 could not be written
    Message no. /POSDW/INPUT004
    Document flow: Error reading model data of object relationship se
    Message no. /POSDW/CORE028
    Diagnosis
    Error reading model data of object relationship se
    System Response
    The document links could not be updated.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    Check the format of the document links transferred to the POS Workbench.
    Thank you very much in advance!!
    Best regards,
    Ander
    Edited by: AAnder on Nov 3, 2010 11:46 AM

    General process for a correct IDOC infrastructure is:
    Create RFC destination  --> SM59 (You can point to local machine for tests)
    Create RFC port to process IDOC  --> WE21 with the RFC create before
    Create FILE port to process IDOC --> WE21
    Create  LOGICAL SYSTEM (BD54)    --> IDOC2FILE
    Define partner in  WE20 with partner type "LS"  --> WE20 ... add message
    RECEIVER port ( created in  WE21 )
    FROM   WE19 GENERAte IDOC with LOCAL SYSTEM as sender And FILE PORT as receiver
    WE19 is  FOR TEST...
    tell me if you can understand, sorry for my english ....

  • Process Inbound IDoc WPUWBW

    Hi experts,
    I am quite new in SAP, and I am finding a lot of problems trying to make probably the easiest things.
    My problem is this:
    I am trying to process an inbound IDoc type WPUWBW, and it has status 53, but when I try to view it in the workbench, the system does not recognize the IDoc as good movement type and I can not find the way to insert in one field of the IDoc via we19 transaction the transaction type.How can I make it?And in which field can I insert the transaction type??
    Thank you very much in advance!
    Best regards,
    Ander

    Hi Praveen,
    First of all thank you very much for your help.
    My problem continues, because I am not able to find the field inside the WPUWBW IDoc to insert the transaction type, in my case 1502. But I can find the field to introduce the goods movements type, in my case 7004 in E1WPG02 segment, movement type line.
    Thank you very much.
    I wait your reply.
    Best regards,
    Ander

Maybe you are looking for

  • Airport extreme connection problem after adding computer to network

    just added new imac to my network and for some reason my older imac {dome desktop} seems to have stopped recognizing the AEBS. the older imac was hooked up to the AEBS by ethernet and when i moved it across the room it fails to read the AEBS. I had i

  • Port Forwarding for Xbox Live

    My eyes are burning from trolling the boards all day. Just picked up an AEBS (12:33 PM CST, 4/20/08), firmware's at 7.3.1, connected the ol' xbox and got a "moderate" on my NAT test. Thats fine, totally expected, no big deal, right? So here's what I

  • Why my photosmart 8400 is not working with windows 7?

    Why i can't install the software and drivers on  windows 7 ( photosmart HP 8400 Printer )

  • Plots start at zero in plot legend

    I have a graph that plots measurements from 14 different sensors. However, the graph legend starts numbering the plots at zero. I would like this to start at 1 rather than zero, but cannot find an option for this. This should be simple, so perhaps I

  • Any IDoc/BAPI for Loading Material Determination Condition records - VB11??

    Hi All, I need to load the material determination condition records which can be done through the transaction VB11. I dont want to do load the records through BDC. So, I am looking for any IDoc or BAPI which can do this job. Any help in this regard i