Outbound Idoc creation after Purchase Order Creation via Trading contract

Hi All,
Below is my requirement-
Purchase Order Will be created automatically through trading contract.
I need to pass some details about the purchase order created to the external system through IDOCS.
ie this idoc should get triggered whenever a Purchase Order is created through Trading contract.
Are there standard function modules which can trigger idoc whenever Purchase Order is created through Trading Contract?
Please suggest how to go about it.
Thanks in advance.

Hi Tejas,
Ask your functional consultant to create a new output type for this Purchase order. Attache RSNASTED program and EDI_PROCESSING routine to that output type.And also maintain partner profile for the partner to whom you want to send PO.There is a standard process code ME10 to send Purchase order data.Assign this process code and your new output type in the message control tab of the outbound partner profile view.Hope this helps.
Thanks & Regards,
Kalyan.

Similar Messages

  • Idoc Generation after Purchase Order Creation through trading contract.

    Hi All,
    When a Purchase Order is created via trading contract, I need to generate an Idoc and pass details of the Purchase Order created to the Partner System.
    Can anyone suggest any Function module or user exit which gets called while Purchase Order creation through trading contract, so that I can fill the Idoc with necessary details of the Purchase Order and send that to the Partner System?
    Thanks in advance.

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

  • 2 Purchase Orders against one trading contract in GTM

    Dear All
    This question is realted to GTM Module.
    In our case for 1 Trading Contract 2 Purcahse Orders are created.Does anybody know the reason as to when 2 Purchase Orders are created against one Trading Contract.
    Regards
    VA

    Hi
    There is no duplication it is actually a quantity split.
    If ther are 5 items in Trading Contract 4 got created in PO and 2nd in the following PO?
    Regards

  • BOM change after Purchase order creation

    Dear all
    My client requirement is an error message should appear when the end users are trying to change the BOM after the purchase order creation for the BOM items and the system should allow the BOM change only after the PO cancellation.
    Please throw some light
    regards
    Kumar

    Dear Kumar,
    Do you mean to say user's should not be allowed to change hte BOM items in a purchase order?or should not be allowed to change a
    BOM,if there are some purchase orders for the same material?
    If your requirement is to restrict the BOM change of a material using T code CS02,after purchase order creation,I dont think its
    possible.
    Please explain your problem little more in detail.
    Regards
    Mangalraj.S

  • Issue During Outbound Delivery for STO Purchase order

    Hi,
    Delivery Quantity is not picking automatically in VL10B, while creating outbound delivery with STO purchase order with account assignment ''Q'' Project (with WBS element). Stock also available in the supplying plant as shown the below screen shot.
    MMBE:
    Please do the needful.
    Thanks,
    Ashok

    Hi Pardhu,
    Thanks for your response.
    We don't have any open reservations and safety stock available for the material. Kindly go through below screen shot for your reference:
    Thanks,
    Ashok

  • Convert Purchase Order to Requisition when contract void

    Hi
    We are using SRM 5.0, R/3 Backend is 4.6C.
    For purchase orders for items with contracts that are expired or for incoming requests exceeding target quantity in the contract, we intend to have the purchase order converted to a purchase requisistion automatically.
    To do this we have activated the BBP_TARGET_OBJTYPE and implemented the DETERMINE_TARGET_OBJECT_TYPES to convert the PO to PReq by doing the following:
    wa_item-pack_objtype = 'BUS2105'. "set to PReq
    CLEAR: wa_item-ctr_hdr_number,
           wa_item-ctr_item_number.
    MODIFY ct_item FROM wa_item.
    when expired contract or target quantity of contract exceeded is detected.
    However, on approving, this results in backend error:
    Shopping cart 7100133540 (PReq. 8100022935): 06 722 Source not included in list despite source list requirement    
    One observation made when debugging the BAdI is that when the BAdI is being run, ct_item is already set to BUS2105 (PR).

    Hi Yann
    This is because the users would like to automatically create a requisistion when their prior shopping cart ends up in error due to contract expiry or having exceeded target quantity.
    The purchase order would then be converted to a purchase requisition (PR) by removing the source of supply.
    The error seems to arise from attempting to create a PR in the backend. Is there a way of bypassing this source list check and simply create a PR from SRM?
    Removing the source of supply from the shopping cart before approval successfully turns it to a PR. This is what we would want to do, but after approval for situations when contract expires in the midst of approval, or target quantity has been exceeded with this order.
    Thank you
    Message was edited by: Ban Horng Tan

  • Purchase Order in reference to contract

    Hi,
    Does anyone know whether i can create purchase order in reference to purchase contract via BAPI? or any other methods?
    Thanks

    for reference see OSS note Note 80462 - Wrong conv.factor during GR for POrder/sched.agrmnt
    The purchasing document must be created again!
    If the purchase order refers to a contract, you must also create the contract again because the conversion factors from the contract are taken over into the purchase order.
    The conversion factor itself cannot be changed in the purchasing document - even if no WE has yet been booked - since this may lead to inconsistencies in the inventory management or to price variances during the invoice verification.

  • Coding to calculate net purchase order value against the contract?.

    Hi ,
    Please help.
    Can any one send me the coding to calculate net purchase order value against the contract?.
    Thanks

    I got the below coding and information from SDN, would you please help me to fix this coding
    infomation from SDN
    For the above requirment I have coded a program in Endroutine but it is not populating cummulative Order value against Contract.
    DATA:
    WA_ty_t_TG_1 TYPE tys_TG_1.
    data: netsum type char15.
    types:begin of ty_net,
    netsum type /BI0/OINET_PO_VAL,
    V_EBELN TYPE /BI0/OIOI_EBELN,
    end of ty_net.
    data:t_net type standard table of ty_net .
    data:wa_net type ty_net.
    SORT RESULT_PACKAGE BY CONTRACT.
    loop at RESULT_PACKAGE INTO WA_ty_t_TG_1.
    WA_NET-V_EBELN = <RESULT_FIELDS>-CONTRACT.
    AT END OF CONTRACT.
    netsum = WA_ty_t_TG_1-NET_PO_VAL + NETSUM.
    ENDAT.
    WA_NET-netsum = NETSUM.
    APPEND WA_NET TO T_NET.
    CLEAR:T_NET,NETSUM.
    ENDLOOP.
    loop at RESULT_PACKAGE assigning <RESULT_FIELDS> .
    READ TABLE T_NET INTO WA_NET WITH KEY
    V_EBELN = <RESULT_FIELDS>-CONTRACT
    <RESULT_FIELDS>-/BIC/YNET_VAL = NETSUM.
    CLEAR: WA_NET-NETSUM.
    endloop.
    <RESULT_FIELDS>-/BIC/YNET_VAL = netsum.
    CLEAR:NETSUM,<RESULT_FIELDS>-/BIC/YNET_VAL.
    ENDLOOP.
    I have coded above one..let me know what mistake I have done.in the bolded loop I have given INTO instead of Assigning, because I need all records which assigns to WorkArea, but while executing DTP its leading to shortdump.if I replace Assigning statement,its working fine. but zero values in output( I think wrong in logic part)
    Let me know the brief coding part if I am wrongly coded.

  • Getting IDOC after Purchase Order creation

    Hey,
    i need to get the XML-data from the IDOC which is created right after the creation of a purchase order with TR ME21N.
    I tried the following user exits:
    MM06E001- EXIT_SAPLEINM_002
    MM06E001- EXIT_SAPLEINM_011
    but it seems the program doesnt run into them, even if they're active as exit in my project.
    Can anyone tell me how can i do that ? Maybe over an event ?
    thanks and any help will be rewarded,
    oliver

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

  • Issue with ORERS05 IDOC sending immediately after Purchase Order creation.

    Hello,
    When output mode of an outbound partner profile was setup as Transfer
    immediately then when ever EDI output is generated in Purchase Order then
    system creates IDOC and sends immediately out of system. But middle
    ware has received only control record and whole data records were missing in IDOC file received by middle ware and we were receiving status 29 back from middle ware.
    Right now we changed outbound partner profile, output mode was set to
    Collect IDOC's and we are running RSNAST00 program in background to send those IDOC's but we
    were looking into go for first option to send idoc out of system as soon EDI output is generated in Purchase Order.
    Is there any way of fixing this issue.
    Thanks in advance.
    Regards
    Prasad

    Yes, I'm facing with PO IDOC only and as I said it is not issue with middle ware as they were receiving only IDOC control record.
    If I resend same idoc by setting status back to 30 they were able to receive whole IDOC and more over if we set partner profile to Collect IDOC and schedule back ground job every 5mins then middleware was bale to get whole idoc.
    Looks like it is SAP issue as this the message I got from SAP.
    The problem only exists if the messages are supposed to be output by
    means of transmission time-spot
    4, that is 'immediately' (during the saving of the application).
    With the output of the change message, the change documents are read for the purchasing document (all as of the last successful transmission).
    With the transmission time-spot 4, it can occur that the change
    documents do not physically exist on the database yet. No change message can be generated in this case and the system generates message ME140 or ME760 in the message log.

  • Creation of Purchase Order automatically via PR after mrp run.

    Hi Experts,
    I want  to know that , after MRP run  i got the no of PR'S. As i know , through MD04  i can create purchase order from particular pr but is their any option from which purchase order  get generated automatically from pr's which are generated afrer MRP run.
    Thanks n Regards
    Anupam

    Hi,
    You can maintain source list Tcode ME-01 and make it MRP relevant by selecting Sorce list MRP relevant. In sorce list you can maintain vendor and material data valid for particular period and make it MRP relevant.
    With this you can automatically generate purchase order from Purchase requisitions after MRP Run.
    Regards,
    Tushar Patankar

  • Idoc will trigger after purchase order release workflow

    Hi Workflow Guru,
    I have a requirement to configure Purchase Order release workflow. I am configure the same its working fine, but my client requirement is when the purchase order finaly release one IDOC will be trigger and the document will send to other system. We have  PI for Interface.
    I want to add new activity step in my workflow template to trigger a Idoc after final release.
    Please give me a idea , how to do this.
    Thanks in advance.
    Regards,
    Ranjan

    Hello,
    Use the standard IDoc LOIPRO01. Have a look at program RCCLORD. use it in the method of the business object you are using.
    You'll need to configure the idocs and partner profiles as normal.
    Regards,
    Kiran Telur

  • SAP IS Retail Outbound Idoc Creation for New Articles

    Hi SAP Gurus,
    Good day!
    I would like to inquire if you are familiar with the necessary set up to create OUTbound Idocs to be sent to POS whenever a new article is created. I have already activated the Change Pointers for the Message Types for IS Retail via BD50. However, this did not solve the issue. I have an existing material which ably triggers the idoc change;however, when I try accessing the materials I created recently, no idocs are created.
    Your help is most appreciated.
    Best regards,

    Hi,
    Check in WE20 partner profiles > customer type KU - Customer > choose your store number > under outbound parameters all relevant message type must defined
    Look at the following links for more details:
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    Hope you got answer
    regards
    Satish

  • Outbound idoc creation

    An outbound idoc of type ORDERS is created and one of the segements has profitcenter in it. Can anybody help me find how the profit center is getting populated in the segment ?

    Hi,
    Check for the FM 'master_idoc_distribute' in the program which is being executed to create an idoc of type ORDERS. Just before this FM you can see how profit center is getting populated.
    Or if message control is being used to create idoc, then check the configuration in we20(partner profile), double click the message type and go to outbound tab , there will be a FM over there which will be creating idocs, check that code or put a debug point.
    Regards,
    Manu

  • Outbound idoc creation with MIGO

    Hello,
    I need to create outbound idoc when the GR is created (MIGO).
    I created one output type (ME) with the processing program RSNASTED and form routine ALE_PROCESSING. Unfortunately, the rsnasted does not work, as I can not create message type MBGMCR in BD64 (Model). MBGMCR belongs to BAPI.
    Do you know the way how to proceed?

    yes it is BAPI. sorry for the confusion.
    Edited by: Vijay Babu Dudla on Sep 24, 2008 6:13 AM

Maybe you are looking for

  • How to decode a set of datas received from serial port and display image on a canvas based on CVI ?

    Hi ! I have received a set of datas via rs232 and it contains picture messages. I have to decode the datas first and then display them on a canvas. I have known several functions that may be used . Such as int SetBitmapData (int bitmapID, int bytesPe

  • G-raid 4tb thunderbolt noise

    Hi, I just bought a g-raid 4tb to hook on my iMac. While the iMac is very silent the g-raid makes a lot of noise. Loud cracking when data is excessed and a constant spinning fan. Is this normal? For example a 3tb freecom usb 3.0 drive is very quite.

  • Public Part : Deployable Webservice Proxy DC

    Hi All, I have a deployable Webservice Proxy DC, which is used to create webservice proxy. I am using those webservice proxy in my Portal application. May I know what needs to be defined in public part of webservice proxy dc, so that I can use it as

  • Proxy-XI-JDBC

    Hi All, I want to Do Proxy-JDBC Asysnchronous Scenario. I have One BAPI With Request & Response Messages in R/3. <u><b>ABAP Work</b></u> ABAPer created One Report to Execute this BAPI in R/3,,,by Providing Request & Based on that request he will get

  • Sound problems with iphones, first generation

    Hi, I have a problem that appeared with my iphone: sometimes, the phone doesn't recognise that I have removed the earphones/handsfree and therefore doesn't send any sound to the normal phone's speaker, nor does it turn on the microphone to pick up wh