Change creator id of purchase order ?

Hello,
I am working on SRM 5.0 , Extended classic scenario.
In SRM, after creating a shopping cart, the creator id of the corresponding purchase order  is WF-BATCH (since WF-BATCH is the user system used in baground task ).
We have a requirement where we have to change the creator-id of the purchase order to the creator of the shopping cart( and not WF-BATCH ) .
Any inputs on how this can be achieved ?
( P.S. :- I tried BBP_DOC_CHANGE_BADI , however, we cannot change the field created_by in the PO header using this BADI ) .
Thanks in advance,
Aravind Nair.

Hi,
  If  you are using the ECS,this is the only BADI which can be used.The documentation clearly says :
-->With the BBP_ECS_PO_OUT_BADI, you can override the standard and determine which data from a local purchase order in the is transferred to the linked logistic backend system.
-->PRECONDITIONS
You have activated the extended classic scenario in SAP Enterprise Buyer .
You are using Enterprise Buyer 4.0 in in connection with a backend system of Release 4.6B or higher.
-->The BAdI is called after the local purchase order is created or changed and before the purchase oder data is transferred into the backend system.
   So if you need to change the PO data  before transferring it to the Backend in ECS, you can use this  BADI.
BR,
Disha.
PLs reward points for helpful answers.

Similar Messages

  • Rights to change Payment Terms on Purchase Order

    Hi,
    How can we assign rights to a user who is allowed to change the Payment terms for Purchase orders entered.
    Currently , the moment a PO is entered and the payment terms is changed it prompts a message saying that you are not authorized to change the payment terms.
    Where under Authorizations can i go and change this?
    Can anybody suggest a solution?
    Jyoti

    jyoti,
    Go to
    Administration>System Intialization>Authorization-->
    Genreral Authorization>Select user left side>
    Select Drill Down Administration>Drill down Setup>
    Drill Down Business partner>Drill Down Payment terms>
    Give Full Authorisation
    Jeyakanthan

  • Changing default printer in Purchase order

    Hi
    This is Mohammed. Khan, when we are working with these purchase Order T-codes (IW32, IW21, IW28, IW38) When ever we are trying to give purchase order print, than automatically it will take $MECH,at present this printer is not available in our landscape, if there I donu2019t know where this printer is defined exactly, I am searching this particular printer in Output devices(SPAD) but this is not available in that list, can any body tell me how to change the default printer, from purchase order printing list, and also let me know how to set different printer in the place of $MECH printer..
    Thank you,
    Regards,
    Mohammed. Khan

    Hi
    Try checking NACE transaction, for your output type the default printer assigned (in communication method). And also check defaults tab in user record in SU01 tcode.
    Thanks

  • Change item text in purchase order

    Hi folks,
    I'm trying to change some item text in the purchase order through the BAPI_PO_CHANGE
    with the following test code:
    REPORT zprueba_bapi_po_change.
    DATA:
      itab_text LIKE TABLE OF bapiekpotx,
      wa_text   LIKE bapiekpotx,
      itab_lines LIKE TABLE OF tline,
      wa_lines   LIKE tline,
      itab_items LIKE TABLE OF BAPIEKPO,
      wa_items   LIKE BAPIEKPO.
    DATA: name LIKE thead-tdname,
          id   LIKE thead-tdid,
          object LIKE thead-tdobject,
          v_result LIKE itcer.
    DATA: itab_return LIKE TABLE OF BAPIRET2.
    data: poorder like BAPIEKKO-PO_NUMBER.
    poorder = '4500058923'.
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
      EXPORTING
        purchaseorder                    = poorder
       ITEMS                            = 'X'
    *   ACCOUNT_ASSIGNMENT               = ' '
    *   SCHEDULES                        = ' '
    *   HISTORY                          = ' '
       item_texts                       = 'X'
    *   HEADER_TEXTS                     = ' '
    *   SERVICES                         = ' '
    *   CONFIRMATIONS                    = ' '
    *   SERVICE_TEXTS                    = ' '
    *   EXTENSIONS                       = ' '
    * IMPORTING
    *   PO_HEADER                        =
    *   PO_ADDRESS                       =
    TABLES
    *   PO_HEADER_TEXTS                  =
       PO_ITEMS                         = itab_items
    *   PO_ITEM_ACCOUNT_ASSIGNMENT       =
    *   PO_ITEM_SCHEDULES                =
    *   PO_ITEM_CONFIRMATIONS            =
       po_item_texts                    = itab_text
    *   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                     =
    COMMIT WORK AND WAIT.
    name = '600007545900001'.
    id = 'A01'.
    object = 'EKPO'.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        id                            = id
        language                      = sy-langu
        name                          = name
        object                        = object
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
      TABLES
        lines                         = itab_lines
    * EXCEPTIONS
    *   ID                            = 1
    *   LANGUAGE                      = 2
    *   NAME                          = 3
    *   NOT_FOUND                     = 4
    *   OBJECT                        = 5
    *   REFERENCE_CHECK               = 6
    *   WRONG_ACCESS_TO_ARCHIVE       = 7
    *   OTHERS                        = 8
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT itab_lines INTO wa_lines.
      CLEAR wa_text.
      wa_text-po_number = poorder.
      wa_text-po_item = '00001'.
      wa_text-text_form = wa_lines-tdformat.
      wa_text-text_line = wa_lines-tdline.
      wa_text-text_id = 'F03'.
      APPEND wa_text TO itab_text.
    ENDLOOP.
    SORT itab_text BY po_item text_id.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder                = poorder
    *   POHEADER                     =
    *   POHEADERX                    =
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    * IMPORTING
    *   EXPHEADER                    =
    TABLES
       RETURN                       = itab_return
    *   POITEM                       =
    *   POITEMX                      =
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POTEXTHEADER                 =
       POTEXTITEM                   = itab_text
    *   POPARTNER                    =
    COMMIT WORK AND WAIT.
    However this code isn't updating the text. Does anyone could tell me what i'm missing?
    Thanks for your help.
    Kind Regards,
    Gilberto Li

    Hi,
    Please check this code..It worked for me..Instead of 00001 try giving 00010
    PARAMETERS: p_ebeln TYPE ebeln OBLIGATORY.
    PARAMETERS: p_text(50) OBLIGATORY.
    PARAMETERS: p_textid TYPE bapimepotext-text_id OBLIGATORY.
    DATA:
            lt_poitem         LIKE bapimepoitem OCCURS 0 WITH HEADER LINE,
            lt_poitemx        LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE,
            lt_return         LIKE bapiret2      OCCURS 0 WITH HEADER LINE,
            lt_bapi_itemtext  LIKE bapimepotext OCCURS 0 WITH HEADER LINE.
    <b>lt_poitem-po_item = '00010'.</b>
    APPEND lt_poitem.
    <b>lt_poitem-po_item = '00010'.</b>
    APPEND lt_poitem.
    lt_bapi_itemtext-po_number = p_ebeln.
    <b>lt_bapi_itemtext-po_item   = '00010'.</b>
    lt_bapi_itemtext-text_id   = p_textid.
    lt_bapi_itemtext-text_line = p_text.
    APPEND lt_bapi_itemtext.
    call the BAPI.
    CALL FUNCTION 'BAPI_PO_CHANGE'
         EXPORTING
              purchaseorder = p_ebeln
         TABLES
              return        = lt_return
              poitem        = lt_poitem
              poitemx       = lt_poitemx
              potextitem    = lt_bapi_itemtext.
    LOOP AT lt_return WHERE type = 'A' OR type  = 'E'.
      EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
      WRITE: / 'Error'.
    ELSE.
      COMMIT WORK.
      WRITE: / 'Success'.
    ENDIF.
    Thanks,
    Naren

  • Price Change indicator in Service Purchase order

    Dear Friends
    I am making one service purchase order, at service item level one price change indicator appears if its selected then at the time of service entry sheet it is possible to change value
    But in my case,this indicator is not appearing at the time of raising PO, can anybody guide me at what screen level we can make field settings according to this.
    Regards
    VIvek

    I think it is invesible for you
    go to Item detail scree in the PO
    here you will see the Color squar at the corner of service tab
    here click on that Icon
    it will open the tablesetting pop up
    here click on administrator adn uncheck the ESLL-PRS_CHG field
    Than click on activate and save
    now you will see this field.

  • RM06BB20 - Change "created_by" user for Purchase Order

    Hi !
    We have a job running on ECC to generate Purchase orders from purchase requests (from SRM Shopping carts) with report RM06BB20 . In background it is using tcode me59n.
    This generate purchase orders with job user in "created_by" user. I need to replace this with shopping cart requester (or purchase requisition requester, is the same person) but EXITS and BADIS  I founs have header fields like "importing" and I can not change this field.(EXIT_SAPMM06E_006,ME_PURCHDOC_POSTED)
    ME_PROCESS_PO_CUST it is not called and I don´t know how to proceed ...
    Any suggestions?
    Thank you in advace and best regards!!
    Carla

    Thanks Edgard,
    But... due security restrictions Jobs must be runned by this specific batch user ...
    so... I believe we can´t.
    There are some way to call a SUBMITT program with an specific user inside a report ? in order to run just posting step with another user...

  • Bapi changing payment terms in purchase order

    hi to all abap gurus
    I want to change the Payment terms in Purchase order using bapi_po_change . can u pls give coding for this bapi with all required int tables declarations . points will berewarded for good ansers

    There is a documentation available for this BAPI and there is an example (although it is a bit confusing). You need to send the folowing parameters:
    Parameter: PURCHASEORDER = <PO number>
    Parameter: POHEADER                          
    PMNTTRMS             =                    <payment term value>
    Parameter: POHEADERX                         
    PMNTTRMS             =                    X  
    Declare your structures/tables using the same type as in BAPI - just copy/paste.

  • Changes to non-stock purchase order

    Hi Gurus,
    Is there a report that will show all non-stock purchase orders that have had a
    change in value (either change in cost, quantity, or added lines).  We
    will need to be able to run this for a date range for the changes, by
    plant, and by user (buyer).
    The report would need to show the purchase order, po line number, the
    original value of the line versus the new value of the line, the text of
    the item purchased, the cost center charged, and some how to tell what
    type of change that occurred (change in price, quantity, or added line
    Thanks
    Anusha

    Hi,
    There is no std report fo this,,, a developed report will do the trick
    please refer to code give  in the below link
    [http://www.sap-img.com/mm001.htm]
    hope this helps
    dheeraj

  • Cannot change COGE in open Purchase Order

    Hi expert,
    I have a problem in a customer Business One system.
    I upgrade from 8.8 to 8.81 PL10.
    BEFORE the upgrade, people inserted purchase Order and, in case the CoGe account was wrong, they changed it before to create Goods Receipt from Order.
    AFTER the upgrade, they CANNOT change this value even if the new order is not inserted yet... simply, it is NOT editable. Note, in the Table Format the column is Visible and Editable.
    What appened? Any idea to allow user to change CoGe Account during document compilation?
    Thx,
    Jonny

    go SE38, enter report name, set the radio button to documentation and click display button.
    This will usually give you the docu.
    Further you can use google to get some good results:
    http://www.se80.co.uk/sapreports/r/rmeb/rmebein2.htm
    Not to forget that help.sap.com is the first place to search:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/8a/7bf437e676091fe10000009b38f889/frameset.htm
    Please read as well OSS notes like
    Note 173587 - Settings for the pricing worklist
    Edited by: Jürgen L. on Apr 25, 2011 3:17 PM

  • Need to change delivery date in purchase order when it is created by ME59

    Hi Gurus,
    Purchase orders are created using Transaction ME59 where we give the Purchase Requistion. The delivery date in the PO will be same as the delivery date of PR. According to my requirement i need to change the date of PO while the time of its creation. could you please suggest me all  the user exits to do this...

    Check with badi ME_PROCESS_PO_CUST method PROCESS_HEADER - method SET_DATA

  • Change in rate in purchase order because of info record

    Hello,
       When i try to create a purchase order with some Rate, system is showing me info record rate.
    In info record Rate has been changed for a vendor which is getting reflected in purchase order.
    This is creating problems for payment.
    How can i prohibit this.
    Thanks & Regards,
    Priyanka

    it is a standard functionality of sap that price is accesed from info reocrd (if present ) at the time of good reciept..so if u dont want that price from info record then change the validity period of the conditions........then that rate is not going to effect the po.but your po sholud not come into that time frame of conditions...........
    please elaborate ypur query

  • Change Pricing Date in Purchase Order

    Hello,
    In normal scenario the pricing date (PRDAT) in Purchase Order is the date on which the PO is created. I want to update the PO with price considering current date. In the table EKPO the field PRDAT is available. But If I require to change the change the date(PRDAT) in the PO where I can find the field in the PO
    Thanks in advance

    Hi,
    Yes, you can go to customizing and see the field selection keys for the PO and see in the: Selection group      Quantity and Price.
    In order to see which keys are influencing the layout in your PO, you can read a blog I just wrote a couple of days ago:
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17833
    I hope this information helps!.
    Best Regards,
    Arminda Jack

  • Change "Volume" value on Purchase Order

    I have a requirement to change the value for the material volume in a purchase order programmically.  Now, the volume for the material is defaulted in from the material master.  We want to update this field with a value that is derived from characteristics(VC).   I can't see to find any user exits or BADIs that could help me.  Anyone have any bright ideas?  Thanks in advance.
    Regards,
    Rich Heilman

    jyoti,
    Go to
    Administration>System Intialization>Authorization-->
    Genreral Authorization>Select user left side>
    Select Drill Down Administration>Drill down Setup>
    Drill Down Business partner>Drill Down Payment terms>
    Give Full Authorisation
    Jeyakanthan

  • Change The supplier of purchase order

    Hi,
        There is a requirement in which purchase order has been assigned to the incorrect supplier(Vendor),This needs to be changed to the correct supplier.
    Please suggest ways to achieve this.
    Appreciate your inputs.
    Thanks
    Rakesh.

    Hi
    Inform the vendor and please dont consider the purchase order and delete the purchase order in SRM
    But it is consider as a  formal document .you ust be very careful
    regards
    Muthu

  • Changing message medium of purchase order depending on value of po

    Hi,
    we want to send a purchase order via fax if the netvalue is lower than 1000 EUR. If the value is higher then the po should be printed.
    Is there any Exit or Badi to change the medium of a message depending on the value of a po?
    Regards
    Martin

    Hi Martin,
    Medium of a message is determined by the output condition record and I don't think you can use an exit. You could build a ouput new condition table but PO value is not available as a key.
    You can explore this option.
    Create a new condition table and include an unused field as a key from the list of allowed fields. Find a user-exit in the PO which can update the above field with unique data. Create OCR with for this key combination.
    Cheers !

Maybe you are looking for

  • How can I turn off auto play of an swf/flv using actionscript?

    Does anyone know how to turn off autoplay, using actionscript, of swf/flv? I'm trying to showcase four videos on the same page of a website. each video is a generic media player created in flash. when i test the movie, all the videos start playing at

  • ERP2005 -  User reporting incorrect HR data shown in ESS

    Hi, We're using ECC6 backend with EP7 running ESS 6 (the web dynpro version) We authenticate to the portal using LDAP, which in turn connects to the backend using SSO tickets. This then retrieves the user's HR data throught their infotype 105. The LD

  • How do I collate a large online hyperlinked PDF into a PDF that I can read/print offline?

    Specifically, I am trying to download into a single PDF file that can be read offline preserving internal hyperlinks (and printed as one large book): http://www.royalnavy.mod.uk/News-and-Events/Reference-Library/~/media/Files/Navy-PDFs/News -and-Even

  • BPEL polling

    Recently we created a bpel process which polls a database table for all the status=5 reecords and then process them and updates the status = 5. The query itself is simple, just a normal where status = 5 clause. The frequency of the polling is 1 minut

  • Ora-12514:TNS:listener does not

    Hi All, My DB Version: 10.2.0 OS: Solaris i just shutdown the database and when try to restart the db it give me error like: Ora-12514:TNS:listener does not when i check the tnsnames.ora file entry of db is listed there but when i do lsnrctl status i