SAVE of a Purchase Order

Hi,
How to create a additional line items for a PO, when it is not created by the user for a single entry?
Thanks
ginni

The requirement is that for example a PO is created with 1 line item and the quantity is say 1, and upon saving this PO we need to create another line item 2 with same details as line item 1 . I got a BADI which is triggered while saving a PO. But I am unable to create a new line item.
Please let me know if you have solution to this.

Similar Messages

  • User exit for check/save/hold in Purchase order

    >The client requirement is like this :-
    >The client has development a Order Approval Form process and want the user to create all the purchase orders having value all inclusive value of Purchase order above Rs. 300000/-.
    >The user should not be able to save/hold/modify any purchase order above Rs. 300000/- in normal SAP through tcodes ME21N, ME22N, ME23N.
    >For this we need to use a user exit and flash an error message that PO value is above Rs. 300000/-, hence please process the purchase order in OAF.
    >Can any one please provide details of which user exit to use for the above scenario.
    >Thanks in advance
    >AJ

    BADi:ME_PROCESS_PO
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Or
    BADi:ME_PROCESS_PO_CUST
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Call your ABAPer to do the same.

  • Save DRAD from purchase order

    Hi,
    I'm trying to save the deleted and the added documents to an order position while/with saving the order. Therefor I found the function CV200_DB_DRAD_UPDATE which should save the DRAD delta to the db. But it seems to be highly unreliable. Hence i'm looking for an alternative.
    Can anybody help me on this?
    Thanks so much!

    The requirement is that for example a PO is created with 1 line item and the quantity is say 1, and upon saving this PO we need to create another line item 2 with same details as line item 1 . I got a BADI which is triggered while saving a PO. But I am unable to create a new line item.
    Please let me know if you have solution to this.

  • Userexit at Purchase Order Save to influence SAP Standard field

    Hi All,
    I am looking for a userexit/BADI that will allow me to influence the value of a SAP standard field in EKPO right before save of a Purchase Order in Create mode.
    I have not yet found anything that lets me do it.
    Could you help me please?
    Regards,
    Atul

    Hi Atul,
    in standard way you can influence SAP fields in the beginning of the transaction. In later user-exits / BADI you aren't allowed to change e.g. EKPO any longer. Of course you might do it anyway (see dynamical assign), but it's as bad as a modification.
    Regards,
    Christian

  • What are the Exists are available after saving purchase order

    Actually My requirement is, When I am clicking on Save button of purchase order, it should send a mail to some person. I know the procedure sending mail through ABAP. But, I don't know where exactly I have to incorporate that code. Please help finding a function exit or user exit in this situation. It's urget please help me out.

    Hi,
    Check out the exits :
    MM06E004
    MM06E008
    MMFAB001 to implement ur workflow logic.
    or try this out (iam not sure)
    Cretae a OUTPUT type such that set a medium as Email in MESSAGES tab of Purcahse Order Cretaion.
    whenever PO is cretaed , it will trigger output type and will checak the Medium (i.e email)  .
    This is just a hint ..try this atlast if no other way
    Regards,
    Naveen

  • Not able to save purchase order

    hi
    i am a super user i have related the PO with the SO when i am saving the purchase order i am getting the error message " you cannot open rows in document [purchase order-rows-row status][line:0][message 131-194]
    Regards
    Manish

    hi the proble is resolved actually i had to disable the coding done in transitional notification and was able to save the purchase order
    Regards,
    Manish

  • Error while save framework purchase order.

    dear all
    i am working SAP R/3 4.7 ides while  creating framework po, i input all the data field correctly , but when i am going to save the purchase order, it given the error Massages  " Indicator for invoice receipt used not allowed
    Message no. MEPO026"
    then i tell me how i save  the po.  i request to all the experts

    Dear,
    What account assignment you are using?
    Use account assignment category as K  and item category as B  Also do not enter material ID.
    Now try.
    Regards
    Utsav

  • MM:save purchase order uFF0Csystem display ERR

    save purchase order ,system display Err:
    1、No short text maintained in language ZF (please re-maintain material T6-60101)
    2、Purchase order still contains faulty items
    how i can do?
    taks you!

    Hi
    This is because for the material which you are using in the purchase order,you havent maintained the text in the material master record.So go transaction Tcode MM02 and enter your material.Then in basic data 1 view,at the bottom there is a tab for Basic data text.Click on that tab,it will take you to a additional data screen where you have to maintain a short text for thematerial in the language ZF.Then save it.
    Hope this will help you
    Reward if useful
    Thanks and Regards
    SHYAM.R

  • Purchase order save issue, Using through BADI  PROCESS_PO_CUST ME21n

    Hi,
    Pls  Experts ,can we have some solution for this
    Purchase order save issue,  we are Using  BADI  PROCESS_PO_CUST currently we are throwing a
    message  using MMPUR_MESSAGE_FORCED if mandatory custom fields are not entered by the User,
    When we are saving the PO we are getting a exception which is raised by us ( custom message ) .
    Pls let me know is there any way to clear the message or to make mandory custom fields to be entered by user ..
    thanks  in advance...
    PK

    Hi Arnab,
    Thanks for quick response ..
    My requirement is if user is not entering the cusome fields then  i dont want to allow him to process any other Tabstrips  in the order .. thats the reason i am throwing an error message asking to enter custom fields.. then once user enters the custom fields which are created by   me .. then i should consider those values for further process like some other tab strips values maintained by the user then when we try to Save the PO still my custom error will be creating issue its not allowing to save..
    Can i have some solution ..
    thanks in advance.
    kumar

  • How to delete message information while save purchase order

    Hi All,
    I' am trying to create a purchase order thru me21n. when i enter outline aggrement, contract and PO quantity fields with some values the message information which gets populated in MESSAGES should get deleted when I save the PO.
    can anyone suggest me any user exit or badi to delete message information before saving PO.
    Thanks,
    BJR.

    Hi Bjr,
    Check with this ME_PROCESS_PO_CUST and modify .
    Regards,
    Madhu.

  • User exit after save for purchase order create/change

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hi,
       BADI ME_PROCESS_PO_CUST.
    1. Method to implement would be POST.
    2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
    3. This reference has method GET_CONDITIONS.
    4. call this method to get conditions data.
    5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
    User exit will be MM06E005.
    EXIT_SAPMM06E_012.
    <b>Reward points</b>
    Regards

  • Enable to save documents attachement on purchase order

    Hi Experts
    I attach a document to a purchase order, i save it.
    When i open my purchase order i dont find mu documents attached, but when i apply on modify the system give me all documents attached on the purchase order.
    How can i resolve this please?
    Thanks

    Hi,
    I am a little confused. You said when you 'apply on modify', you call see all the attachments again.
    Would you please tell me what you mean by 'apply on modify'?
    Meanwhile I suggest you deactivate save and change BADI for PO and retest the issue.
    Regards,
    Ivy

  • Purchase Order - save data via BADI failed

    Hi all,
    I have created a zfield in a new tab at item level  of the purchase order that saved data into a custom table successfully. This is via BADI.
    However I like to save the zfield into ci_ekpodb which stored into EKPO.  In the function module that does the
    updates,   i have for a new line item for it to insert into EKPO but it abended with error 'SAPSQL_ARRAY_INSERT_DUPREC".
    This insert results in duplicate database records.
    The codes are: 
    data: lt_item_new  type table of zpo_trace.
    'If  lt_item_new is not initial'.
        Insert EKPO from table lt_item_new.
    Endif.
    Have anyone experience insert new line item into EKPO via ci_ekpodb ?  Pls share any thoughts.
    thanks
    Joyce

    Hi Joyce,
    If you are using the BADI, ME_PROCESS_PO_CUST , you can used the method PROCESS_ITEM .
    You have a object IM_ITEM on which the method get_data or set_data can be called to populate the data to be sent to the EKPO Table.
    Example :
    data : ls_ekpo TYPE mepoitem.
    CALL METHOD im_item->get_data
        RECEIVING
          re_data = ls_ekpo.
    Populate the values against the desired line item as per requirement in the structure ls_ekpo .
    Once done, you can use the method set_data of the same instance to pass the data to the structure.
    CALL METHOD im_item->set_data
            EXPORTING
              im_data = ls_ekpo.
    Hope this helps.
    Regards,
    Sagar

  • Any event which is raised when we save Purchase order after creating a new?

    Hi
    I need to know any event which is raised whenever we save a purchase order after creating a new one. I know event 'change' of object type BUS2012 is raised whenever we change a PO. Please help in this regard.
    Regards
    Swetabh

    Create event doesnt exist in BUS2012.check if custom business object exists for this by using 'where used list',probably it may have created event.

  • Cannot save Purchase order when there is Warning Message

    Hi,
    I have this problem where system do not allow to Save the Purchase order (ME21N) when there is a warning message, for example "W:  Can the delivery date be met?".  By right I can just click enter and save the PO but now the system do not allow to save the PO until all warning message is resolved?? Why.
    Pelase help.

    Hi,
    I believe that for warning message, you just need to press enter and it will go through.
    Thanks.

Maybe you are looking for

  • Error creating a CA or Page

    Hi all, I was creating a bunch of content areas and suddenly I've got the following error message: An unexpected error has occurred (WWS-32100) ORA-1: User-Defined Exception (WWC-36000) An unexpected error occurred: User-Defined Exception (WWC-43000)

  • TIME-OUT error in BSAK select query(Progress Indicator is also used)

    Hi,     In my report program one select query is there on BSAK table, which is as follows --        SELECT BUKRS                                                                           BELNR                     GJAHR                     SHKZG      

  • After snapshot it says copied, but to where? How do i open a screenshot? I want to enlarge a ss

    Hi, After snapshot it says copied, but to where? How do i open a screenshot? I want to enlarge a screenshot and have paid a subscription to adobe thinking i couldn't open any saved screenshot, but still there is nowhere to open anything? Maybe i,m be

  • Problems after installing ios 6

    I recently downloaded and installed IOS 6. There are several issues as follows: a) Adjustments is frozen. I got here in order to synchonize my Facebook ID and it is now frozen. b) Apps are not being updated. I have now 8 Apps that are supposedly bein

  • When will Yosemite be available in the usa?

    Hi, When will Yosemite be available in the USA getting error that says no available in the USA.