Inbound Order

Hi all,
i have a problem here.
I am currently working on inter company sales between 2 SAP system in the SAP.
System 1 will create PO and send idoc via ALE into system 2 to create SO.
When I send out the PO from System 1 to System QAS client, I notice that in the partner function under ship-to partner, my system 1 send out the shipto number in the partner number but my System 2 QAS receive it in the vendor number field. But when I send from system 1 to my System 2 DEV client, it was received in the partner number field of the IDoc generated. In system 1, the IDoc is the same for to have the ship-to number in the partner number.
Anybody know what configuation cause this different in my system 2 QAS and DEV clients?

Hello Cynefrid
Not an expert here, but wil try and help you.
1) Firstly compare the config in the 2 clients in the following node, especially the EDPAR table:
SPRO/IMG/Sales and Distribution/Electronic Data Interchange/EDI Messages/Configure EDI Partners
2) Also check the partner profile set up for the problem customer/Vendor in both clients- WE20
3) Finally work with your EDI specialist on the mapping of the partner data.
Hop-e this helps.

Similar Messages

  • Changing IDOC Control Record for EDI inbound Orders Creatiion

    Hi,
         When I try to process the Inbound orders Idocs file through the GENTRAN EDI System.IDOC's were errored out, because of the Partner function was not defined for the Customer ( Legacy ) ( Type KU ) in the SAP.
            Is there any user exit/badi/Configuration to change the Legacy Partner(Customer) to the SAP Partner(Customer) mapping and update the IDOC Control record with the SAP Partner. I am calling EDI_DATA_INCOMING Function module and IDOC_INPUT_ORDERS.IDOCs errored out with Message EO-332 ( Partner function not defined ). 
    Advance Thanks,
    Balaji.

    It's been a long time since I have done any IDOC processing. 
    Go to SE37 and enter the function module IDOC_INPUT_ORDERS.  Display the source code.  Search for "CALL CUSTOMER".  You should see several "CALL CUSTOMER-FUNCTION" lines.  These are enhancements where you can manipulate the IDOC data.  If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value.  Double-clicking on the number in quotes will bring you to an "EXIT_" function module.  A "ZX" INCLUDE program is referenced.  If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it.  The values passed into the function module are available in the INCLUDE.
    Ideally, you should create a project in transaction CMOD that references the chosen enhancement.  This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE.

  • Regarding Inbound Order Idocs

    Hi All,
    I want the tables in which Inbound Order Idocs were stored,
    Use WE02 transaction,
    i am trying to find the tables , but i cant, plz any body help me in this problem,
    Balu.

    Hi bala,
    do one thing..u wil get the idoc number as 0000000000123456(16 digit)..
    please chek the document numebr in the ztable,say for example in ur ztable it  is 10 character length.so u have extra 6 characters.
    so what u do is use CONVERSIONEXIT function module and delete the leading zeros,
    if u do like this.it will be 10 characters...
    now u can write the select query as u written,it won't give any error..
    Regards,
    Nagaraj

  • Inbound Order with Quotation as reference

    We are receiving inbound orders with reference to quotation.
    1) Quotation has 3 line item.
    2) IDoc has 2 line item(totally different material and diff qty)
    Sales order created succesfully with 5(3 from quotation + 2 from idoc)  line item. No matter material or qty match against quotation.
    Can some one mention what is the correct process.
    Thanks,
    Narayan

    How are you creating the orders? Are you using IDocs or something else?

  • How to get the Inbound Orders in SRM

    Hi Gurus,
    We are sending internal orders from CRM shopping cart to SRM EBP system, to recieve this order from CRM as inbound order and create the corresponding documents in SRM, Is there any way to do that?
    We have thought about ALE setup.
    But does anyone know about which message type we should use here.
    Please reply me.
    Regards,
    Manoj

    Hy Manoj,
    please have a look on this topic where I answered a similar question
    Work Order needs to move from CRM to SRM/EBP Shopping Cart
    Work Order needs to move from CRM to SRM/EBP Shopping Cart.
    Regards.
    Vadim

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • Urgent!... What is the USER EXIT for Inbound ORDERS

    Hi all,
    Which is the user exit used for <b>Inbound ORDERS</b>?
    The exact requirement is for an <b>incoming Idoc which is a PO</b>, we have to map certain fields in the segments E1EDK01, E1EDK14, E1EDKA1, E1EDP01, E1EDP19 AND E1EDP20 for <b>ORDERS</b> message type. After the mapping is done, <b>an Idoc is generated and then a SO is created</b>.
    Exact requirement :
    <b>Message Type : ORDERS
    Basic Type:           ORDERS05
    Direction :              Inbound.
    USER EXIT :          ????</b>
    Please help me..quite urgent.
    Regards,
    Anishur

    Hi
    I had worked on a similar requirement. We had used enhancement points for the same. Search for the function module you are going to use. Then either search for enhancement point in the same. Or search for the call statement in the code. Enhancement point can be searched by clicking the spiral button on the toolbar and then navigate to edit -> enhancement operations -> show enhancement options.
    Anyways you can find the same with the following program.
    Find the available exits with the following program:::
    *& Report  ZFINDUSEREXIT
    report  zfinduserexit.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    execute it, enter the transaction for which enhancement is needed and then execute.
    Please do reward if useful
    Regards
    Dinesh

  • How to delete E1EDP19 002 segment frm the inbound ORDERS IDoc?

    Hi ABAP/EDI experts,
    I am implementing an User exit related to inbound Sales order EXIT_SAPLVEDA_001.
    Most of the time my IDocs contain the below segments.
    E1EDP19 001 (QUALF = '001')
    E1EDP19 002 (QUALF = '002')
    Sometimes, IDoc contain only E1EDP19  001 (QUALF = '001') segment.
    My problem is whenever i have two E1EDP19 segments, i want to delete the 1st E1EDP19 segment and retain the second E1EDP19 segment.
    Can anyone tell me the pseudocode for deleting the 1st E1EDP19 segment from the inbound orders IDoc.
    Am i using the correct user exit??
    Thanks,
    Creasy Matt
    Edited by: Creasy Matthew on Jan 22, 2009 12:56 AM

    Hi Matt,
    You can loop on idoc_data internal table. This table will be having all the data and the segments.
    data: l_count type i value 0,
            l_tabix type sy-tabix.
    LOOP AT idoc_data WHERE docnum = idoc_contrl-docnum.
    CASE idoc_data-segnam.
    WHEN e1edp19.
    l_tabix = sy-tabix.
    l_count = l_count + 1.
    if l_count = 2.
       l_tabix = l_tabix -1.
      delete idoc_data index l_tabix.
    endif.
    ENDCASE.
    ENDLOOP.
    I hope this will work.
    Please let me know if any issues.

  • Edi inbound order

    dear all
    i created sales order with the help of inbound idoc and order is created in the system..but i want see the idoc(inbound) from my sales order..not in we02 or we05
    i searched VA03 there is field called SERVICE FOR OBJECT...but it is saying no service is available
    does anyone help me to see the inbound idoc from the VA03
    thanks

    Hello,
    I don't think, that the generice object services are build for using it in a link to another application.
    I have also never seen that there is a way to a direct view for an incoming or outgoing idoc inside an application like Customer Order. The problem is that there is no direct connection between the idoc and the sales order. The order number will be taken into customer order number - but this is a normal text-field which can be changed by the user - and then the "connection" is broken.
    Generic object services you will normal use if you have a workflow from your application. More informations about this you will found in the help: http://help.sap.com/saphelp_47x200/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    Regards Thomas

  • READING  EDI  IDOC'S  INBOUND  ORDERS

    HELLO.
    DOES ANYBODY KNOW HOW TO READ EDI INBOUND SALES ORDERS IN
    ABAP ?
    I WANT TO READ THE IDOC'S  WITH A PROGRAM
    AND FIND THE MATERIALNUMBER AND THE QUANTITY .
    THANKS

    Hi,
      Check out this document for the details:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an advanced guide to implementing application link enabling.pdf
    regards
    Aveek

  • Update delivery block on inbound Orders IDoc

    Hi Folks,
    I am using the following to code to place delivery block.
          zvbak-lifsk = zblock. "ZZ
          MOVE: 'X' TO z_d_flag_k-kde2.
          dxvbak = zvbak.
    But some how my code is not placing delivery block on the sales order.
    Can you guys tell me what am i doing wrong here??
    Thanks,
    Matt
    Edited by: Creasy Matthew on Jul 29, 2009 4:19 PM

    Hi,
    Could you please tell me the IDoc type and Inbound Function Module u are using.
    is it ORDERS05 and  IDOC_INPUT_ORDERS

  • User exit to change data in inbound orders idoc

    Hi everybody.
    Id like to know what user exit I have to use to change an inbound idoc orders in inbound process???
    Thanks a lot

    Hi,
    Please search on SCN.
    However you can look for an exit that matches your requirement :-
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/UserExitfor+Deliveries]
    Regards
    Abhii

  • Minimum Inbound Orders IDOC file

    Is there a way to determine the minimum number/identification of segments for an inbound sales order?
    I want to build a file and import it with RSEINB00 and then process it with RBDAPP01.
    I've tried using an output ORDRSP as a base document and then edit it with WE19. But, I'm not having any luck.

    Hello Florian
    When you choose function "Inbound Function module" (IDOC_INPUT_ORDERS; WE19) switch the transaction processing to In Foreground or In Foreground after Error.
    Then you will clearly see what is missing and it should be easy to find out where to place the missing data into the IDoc.
    Most likely segment E1EDP20 (containing the quantity) is missing. Example:
    E1EDP20                     136.000        0.000          20080822
    Regards
      Uwe

  • IDoc programming for Requested Delivery Date - Inbound ORDERS

    Hi Folks,
    I want to manipulate Requested Delivery Date on the Sales Order.
    The Field for Req Del Date is RV45A-KETDAT.
    But this value is stored in VBAK-VDATU.
    When i am trying to modify this value using dxvbak structure, this value is getting populated correctly, but not updating in the table.
    Look at the code snippet below.
    if zedidc-sndprn = '0000902000'.
            IF ze1edk03-iddat = '002'.
              MOVE ze1edk03-datum TO zvbak-vdatu.             " Requested Delivery Date
               zvbak-vdatu = sy-datum + 7.
               BREAK-POINT.
               dxvbak = zvbak.
            ENDIF.
            endif.
    What's wrong here??
    Thanks,
    Matt

    Done

  • Mass processing for inbound orders idoc's from file

    Hi Experts,
    I have an requirement wherein we need to process all the ORDERS idocs sent from a thrid party system to a particular folder in the SAP system. Now we use a custom programme which in turn calls fn module IDOC_INBOUND_FROM_FILE to process each file. Here if the fn. module IDOC_INBOUND_FROM_FILE hits an erroneous file (control record error) it issues abend message which causes to entire programme to exit leaving rest of the files in the folder unprocessed.
    Let me know if there is any other function module or way to tackle this issue so as to process all the files.
    Thanks & Regards,
    Jimmy.

    Add the exception ERROR_MESSAGE = 99 (or some other unique number) to the standard exceptions in the function module call in your custom program.  This will allow you to trap the error and continue processing.

  • User exit overlooked when Inbound ORDERS is triggered immediately

    If I set the ORDERS Idoc for 'Trigger Immediately' in WE20, the user exit EXIT_SAPLVEDA_011 is overlooked but when I set it up for 'Trigger by background process', the user exit is passed through.
    does anyone have an idea why this could be happening?
    I cannot put the stop sign and debug, since the Idoc comes via RFC, and thus it is impossible to debug in case of 'Trigger Immediately'.

    Hi,
    the exit function is called at the end of processing FM 'IDOC_INPUT_ORDERS'. There is definitely no difference between immediate or delayed background processing. Your question could be answered if we know the coding of include ZXVEDU13. If it is used for the designed purpose, it should do nothing if the error table DERRTAB is empty.
    You can code an endless loop in the include:
    data wait type c value 'X'.
    while wait is not initial.
    endwhile.
    Then process your Idoc. In SM50 you can send the process to debug mode. Clear field WAIT in debugger and step through to see whats happening and why.
    Reards,
    Clemens

Maybe you are looking for

  • Installing additinal cals in existing 2008 R2 terminal server.

    <style type="text/css">P { margin-bottom: 0.08in; }</style> Hi , we are using windows server 2008 R2 terminal licensing server which is having 10 user CALs now we planned to purchase some more CALS for example additional 20 CALS per user Note : This

  • PDF output

    Hi Friends, I need help on the below query. I have a process where user will select multipl rows from a screen ( a table control or a ALV ) and on a push of button , data selected has to be written on a PDF in the screen itself with buttons on the to

  • Nokia 5800 low tv-out quality.

    I found that my 5800 has low quality tv-out, but that is only noticeable with some images, the ones that have smooth gradients appears like if the image have bands, the question is like if the tv-out don't output a 24 bits color mode image but instea

  • CE10 ; Crystal_webcompserver : Log message: NT Authorization Required.

    Post Author: gjmoyer CA Forum: Administration On our Crystal Enterprise 10 server.  We are getting thousands of Warning messages logged to the Application event log from Crysal_webcompserver with description "Log message: NT Authorization Required."

  • Data Corrupted when using CREATE AS SELECT * FROM over DB LINK

    Hi , I wonder if anyone has suffered a simillar issue as this: I have a DB Link Between a 10gR1 (Base install not patched) database on Windows 2003, and a 10gR2 (with latest Patch Database ) on Sun Solaris. The 10.1 DB is the SOURCE 10.2 is TARGET Wh