PORDCH01-change purchase order Idoc

Hi all,
       I require some suggestion pertaining to PORDCH01-change purchase order Idoc. The vendor raises a claim purchase order in his system and eventually a return sale order is created at the central system and i am using a custom program to generate idoc's of type PORDCH01 and propagate it back to the vendor , while doing so I need to change the value of the field LFRET(Delivery Type for Returns to Vendors) , the Idoc doesnu2019t seem to have this field in any of its segments and even if i extend this idoc , i donu2019t have appropriate exits in the inbound function module which let me map this data field to  the required field EKPO- LFRET.I donu2019t want to go for a custom solution so Your help is much appreciated .
Regards,
Rethish..
Edited by: Rethish Radhakrishnan on Sep 6, 2011 10:40 AM

Hello Raja,
Just a further question in that case
Can I used Message type ORDRSP and basic type ORDERS05 on both the sides i.e. SD side and MM side?
Any changes made in sales order should update the PO.
As with the current situation i can not use PORDCH idoc on SD module side. Pls let me know.
//Guru

Similar Messages

  • Inbound Idoc Create/Change Purchase Order

    Hi All,
    I have to do a inbound Idoc scenario for create as well as change Purchase Order.
    Which is the IDoc type for Create/Change purchase order.
    I went through this form found that ORDERS05 can be used but I am not sure this can be used for both create as well change Purchase Order.
    If ORDERS05 can be used then which is Process code,Function Module and Message type for both create and change Purchase order.
    I also found that IDoc type PORDCR102 can be used for  create Purchase order and PORDCH02 can be used for change Purchase order,but i don't want to use two Idoc types.
    Please suggest.
    Thanks in advance.
    Regards,
    John

    Hi John,
    For creating a IDoc for PO, whenever a PO is created/Changed, it has to be configured in Parter Profile(WE20) for a particular Partner in Outbound Paramtrs tab.
    Give ORDERS05 in Message Type and select the line & go to Display.
    In the screen which appears , choose tab Message Control and give the Process code
    ME10 - Creation of PO
    ME11 - Changes to PO & check the Change Message.
    Give respective Output Message Type & Application(VF) for PO.
    Create Output types for a vendor in T.Code MN04, else take help from MM Consultant.
    Create a PO & save. Then make some changes in Po & again save.
    Now IDoc will be created while saving the Po & IDocs will be created whenver you make changes to PO and saving it.
    Hope It helps.
    Regards,
    Anbalagan

  • Purchase order IDoc PORDCH generation error

    Hi all,
    I have made all the settings in the partner profiles to trigger PORDCH IDoc when I create or change purchase order through output message type.
    But the error it gives in WE05 is the following:
    The segment E1EDK01 does not occur at the current level of the basic type PORDCR01 (extension ).
    This error can have several reasons:
    The segment E1EDK01 is assigned to a group whose header segment does not occur.
    The segment E1EDK01 does not exist in the syntax description of the basic type PORDCR01 (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Since the generated IDoc is of ORDERS05 structure this is giving an error.
    Can anybody help me out with this.

    Jwalith
    It seems, you are using wrong Process Code/Inbound Function Module .... Create new process code or modify your Z-Process Code to link it to function module IDOC_INPUT_PORDCH, which is valid for Message Type PORDCH.
    This should solve the problem.
    Thanks
    Amol Lohade

  • Automatic ORDCHG Change Purchase Order after Order response from Vednor

    Hi
    How to trigger Change Purchase Order action after receiving PO Confirmation - Order Response from Vendor.
    The scenario is that Order Confirmation vednors sends contains delivery date or delivery qunatity variance within defined tolerances. In such cases it is acceptable to allow automatic PO change.
    This is an EDI scenario. Idocs ORDRSP and ORDCHG in use.
    Thanks for hints.
    Mariusz

    - For automatic document adjustment, you must make the necessary settings in Customizing (SPRO ->Materials Management->Purchasing->Conditions->Automatic Document Adjustment). The system logs all the relevant purchasing documents and can therefore determine all the documents affected by a change to a condition.                                    
    - This is only possible for purchasing documents for which follow-on documents (goods receipt, invoice receipt) do not exist.           
    - Before you run this report, you must have run report RMEBEIN4 (creation of worklist for automatic document adjustment).

  • Adding a new check box in change purchase order screen

    Hi
      I have to add one custom field a check in the screen for change purchase order in EBP.
    We are using ITS.
    Kindly advice.
    Thanks and Regards
    Manoj

    Hello Manoj,
    you can define Customer Fields (CUF) at header, item, accounting level on any document type (including PO).
    Adding seach fields acts as old ABAP method of table append, i.e. those fields are stored in standard SRM tables. So you can process your own logic and checks against those fields.
    There is a BADI to control the display or not, the input or not, the default or input values.
    There is a BADI to control the ergonomy of CUF (by default they are added one after the other after standard fields).
    There have been many posts about CUF and linked OSS notes explaining own it works and which includes to use.
    Rgds
    Christophe

  • How to change purchase order's cost center in batch

    Dear all :
    how to change purchase order's cost center in batch?

    Dear Manish :
    thanks so much for you reply.
    the filed which i wanted to change it's content is cost center (KOSTL) in table EKKN.
    i couldn't find it in this t-code when i select fields.

  • I want to change Purchase Order Print

    I want to change Purchase Order Print. I want to add the name who has done last change in Purchase Order. Please help.

    You no need to add the changes, It can be shown in Environment menu. If u want to see the person who changed the PO in ur Print, ABAP work will be required..
    By the way what is the business requirement for this. B'cas PO is meant for vendor, Why do u want to print, whoever did the changes..This thing you can see from SAP itself at anytime.
    Cheers!
    ***Reward If useful (RIU)

  • No Authorization to change Purchase Order for Professional Purchaser

    Hi Experts, I am facing the following issue,
    System Info :
    SRM 5.0
    ECC 6.0
    IE 6.0
    I logged in as the professional Purchaser in to My SAP SRM browser and when I try to change a Direct material purchase order, I get the following message:
    No Authorization to change Purchase Order xxxxxxxxxxx.
    Here is my sequence of operations:
    Logged in as Proff Purchaser, selected the process purchase order link, then selected the purchase order from  the worklist and click on the change icon.
    Please let me know if need to customize any settings.
    Thanks in advance,
    Raj

    hi,
       In trascn PFCG,for the role of Startegic purchaser,under the Personalization tab,set the attribute  BBP_WFL_SECURITY to '4'.Also,check the authorisation data for the Strategic purchaser role.
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Splitting Purchase Order Idoc based on qty

    Hi All,
    I am having a requirement wherein i have to insert multiple line items in purchase order idoc  based on quatity .Eg if the line item qty is 3 then the same line item has to be repated for 3 times and purchase order idoc has to created with 3 line items.I am trying to do this User exit EXIT_SAPLEINM_002 which is used Customer Enhancements to Data Segments: Purchasing Document (Outbound ).Can anybody tell me how can i go ahead inserting multiple lineitems in purchase order idoc based on the qty.So, Can anybody know how to handle this scenario? Also, can you please let me know whether is there any standard procedure for handling this scenario
    Thanks in advance
    Regards
    Saravana

    Hi,
    Use t.code ME2M or ME2N , enter account assignment category A & then choose selection parameter WE101 (open goods receipt) and execute.
    Regards,
    Biju K

  • BAPI or FM for changing Purchase Order

    Hi,
    Does anybody know a BAPI or FM to change Purchase Order item details. I looked for  a BAPI but only found for creating and listing.
    thanks.

    I think this is becuase the BAPI for PO change has not been "released". If you use transaction BAPI, then click the filter button, then select "All", the PO change bapi will appear int he MM-> purchasing-> purchase order hierarchy. (BAPI_PO_CHANGE)
    Although it is not officially "released", neither is the function module to do the same task. We use the BAPI on a regular basis, and it works fine. I think unreleased just means you will get no support if you use it, and SAP can change it at any time.
    I am not sure what makes a BAPI go from un-released to released...

  • Report on changed Purchase order

    Dear group Members
    Warm greetings
    I am not finding a standard report where i can view list of all changed purchase orders
    help me to find this report, i will be very thankful to you
    regards
    shamul heq

    hii Shamu
    In standard SAP , there is no reports particularly for ammendment Po list.
    But individual PO u can see the chages happened in that PO's one by one.
    GO to ME23N , the go to environment, then header chages  here u can find the list of changes happened in PO.
    If u need the report , u can create custom report with help of technical consultant.
    Thanks
    SAp-MM
    Edited by: MM group on Feb 25, 2010 5:29 AM

  • Same message code & function for both Sales & Purchase order idoc.

    The same message code and function be used to send both sales order and purchase order idoc?

    Hello,
    You can use the same message code and function to send for both sales orders and purchase orders provided if you use different message types i.e., output types in the outbound partner profile configuration for processing these transactional data.

  • Please send me fm regarding to get purchase order and change purchase order

    Hi,
    Please send me fm regarding to get purchase order and change purchase order .
    Regards,
    Gurprit Bhatia

    Hi,
    Function module to get the purchase order details:
    BAPI_PO_GETDETAIL.
    data: po_items type table of bapiekpo with header line.
    parameters: p_ebeln type ekko-ebeln.
    call function 'BAPI_PO_GETDETAIL'
      exporting
        purchaseorder                    = p_ebeln
      ITEMS                            = 'X'
      ACCOUNT_ASSIGNMENT               = ' '
      SCHEDULES                        = ' '
      HISTORY                          = ' '
      ITEM_TEXTS                       = ' '
      HEADER_TEXTS                     = ' '
      SERVICES                         = ' '
      CONFIRMATIONS                    = ' '
      SERVICE_TEXTS                    = ' '
      EXTENSIONS                       = ' '
    IMPORTING
      PO_HEADER                        =
      PO_ADDRESS                       =
    tables
      PO_HEADER_TEXTS                  =
       po_items                         = po_items
      PO_ITEM_ACCOUNT_ASSIGNMENT       =
      PO_ITEM_SCHEDULES                =
      PO_ITEM_CONFIRMATIONS            =
      PO_ITEM_TEXTS                    =
      PO_ITEM_HISTORY                  =
      PO_ITEM_HISTORY_TOTALS           =
      PO_ITEM_LIMITS                   =
      PO_ITEM_CONTRACT_LIMITS          =
      PO_ITEM_SERVICES                 =
      PO_ITEM_SRV_ACCASS_VALUES        =
      RETURN                           =
      PO_SERVICES_TEXTS                =
      EXTENSIONOUT                     =
    check sy-subrc  = 0.
    loop at po_items.
      write:/ po_items.
    endloop.
    Check this program too:
    RFFMFG_INV_CANC_ALL for BAPi_PO_GET_DETAIL.
    Hope it helps you.
    Regards,
    Anjali

  • Purchase order IDOC: output

    Hi
    I did configure a the following.
    1.Outbound message type <b>ORDERS</b>
    2.Outbound receiver port : TRfc
    3.Basictype <b>ORDERS05</b>
    4.Message control: Application <b>EF</b> Message type <b>NEU</b> . Process code <u>ME10</u>
    What do i need to configure additionally so that the purchase order idoc get exported?

    Naresh
    This is what i did already.
    When i create the order ,  i user NEU AS as output and "distribution ALE" as medium. I then select LS (logical system) as Partner function and SAPBC as partner.
    I get a warning message "Partner SAPBC does not exist for partner function LS".
    When i go back to the messages, it is unprocessed. When i display the communication method, i get the error "No communication data has been defined for transmission medium A"
    Any idea why?

  • Changed Purchase order triggering Email and Fax to vendor

    Hello,
    Ecc6.0 srm3.0.
    a changed purchase order triggering email to vendor, although in the table BBPD_PO_METAOUT all the fields are unchecked and we donu2019t have customization in the table BBPD_COMP_FIELDS,
    Please suggest, we donu2019t want email of fax to be triggered when we amend the purchase order,
    Thanks for reply.
    jairaj

    When we change vendor text, It is SAP std that mail will triger to vendor

Maybe you are looking for

  • How can I use the iPhone i bought here in the US in the philippines?

    i have an iphone and i was just wondering how can i can use the iphone i bought here in the united states to the philippines? is it even possible? please help me. thanks!

  • One JPanel is missing after adding two JPanels to a JFrame

    I have two classes, ScoreTableView and CardView, which both extends the JPanel class. ScoreTableView is used to show one table only, and CardView is to show a set of cards for a memory game. My objective is to separate the development of the panels,

  • BPEL DB Adapter issue

    i have the following issue with the db adapter in BPEL designer JDeveloper 10.1.2.0.2 I'm trying to read records from an gupta sqlbase database. I'm getting to the import tables wizard screen and i can select the table i want to query. However when i

  • Function module for creation of Installed base along with product

    Hi,         Function module for creation of installed based with product for the business partner.

  • Telinit 6 does not complete kill tasks

    I have a Oracle database running Solaris 8 on a Ultra 5 box. There is a kill task I created on rc0.d which will shutdown the database gracefully when rebooting the server with 'telinit 6'. But the task was terminated half way through based on my Orac