Enjoy purchase order transaction

Hi All,
Can anybody tell me how get idea on Enjoy Purchase Order.
ie, how to update it ie, using bapi.
Can anybody explain it in detail.
regards,
phaneendra.

Hi,
Check reply from vijay babu using BAPI_PO_CREATE1
BDC for ME21N
Regards

Similar Messages

  • User exit in enjoy Purchase order transactions -MM06E005

    I am trying to write a code in the enhancement MM06E005 - to check a field in the enjoy PO  transaction me22n when saving and issue a warning message.
    I am using the function module EXIT_SAPMM06E_012 to do this. It does not work. But when I try to make it as an error message, it works.  
    The warning message can be issued to the me22 using the
    same function module and exit.
    Our requirement is to generate a warning message in me22n . Any help on this?
    Other requirement is to bring up/show a tab on the screen with this message, as it does with SAP standard messages.
    Is there any way to do this, if possible how?
    thanks

    Hi,
      what message you are getting is it Program names ZX... are reserved for includes of exit function groups?
    Then That message is only a warning, so you can go on: by double click on the include.
    press enter, the system'll create the include ZX... where you have to insert your code.
    The message is advising you're creating an include for an enhancement.
    Regards
    Kiran Sure

  • Availability  check in Enjoy Purchase Order & Requisition

    Hi Experts,
    The availability check is used in 4.7E also but what is difference in Ecc 6.0 or new functionality added
    Can any one plz let me know
    Regards
    Pratap

    Below is capture from sap release documentation :
    Availability Check in Enjoy Purchase Order and Requisition
    (Changed)
    Use
    As of SAP ECC 6.0, SAP_APPL 600, display and checking of availability are invokable separately in the
    Enjoy purchase order and requisition in line with the system behavior on the Sales side.
    You invoke the display and checking of availability in the Enjoy purchase order (transaction code
    ME21N) and the Enjoy purchase requisition (transaction code ME51N) as follows:
    - To display the availability overview, choose Environment -> Availability
    - To check availability, choose the Check Availability icon.
    13.6.16.3 System Behavior After Availability Check for an Item (Changed)
    Use
    If you carry out the availability check for an item of a stock transport order, hitherto the system adopted
    confirmations as per the desired date/time only.
    SAP AG 30
    ______________________________________________________S_A_P_-S_y_s_te_m_
    As of SAP ECC 6.0, SAP_APPL 600, you can define in Customizing how the system reacts if the desired
    quantity cannot be confirmed for the desired date/time.
    You have a choice of two settings:
    - Confirmation as per desired date/time
    This is the standard setting and corresponds to previous system behavior.
    - Delivery proposal
    - Full confirmation
    Effects on Customizing
    You make the settings in the Rule for Adoption of ATP Results in Purchasing field in Customizing for
    Purchasing under Purchase Order -> Set Up Stock Transport Order -> Assign Delivery Type and
    Checking Rule.

  • Customer field in ME22N Purchase Order Transaction

    Hi all,
    I have to add an additional field to Ekko and want to maintain it using the Enjoy Purchase Order Transaction.
    To do so, I added an append to ekko and MEPOHEADER with my z-Field and implemented the Badis:
    ME_PROCESS_PO_CUST  Method PROCESS_HEADER to read the data from vendor and to set the modell using:
    call method lo_obj->set_data
        exporting
          im_data = lw_header.
    In ME_GUI_PO_CUST  Method TRANSPORT_FROM_MODEL I want to read the data using
    data: lo_header       type ref to if_purchase_order_mm,
    lw_header = lo_header->get_data( ).
    my Problem: My Z-Field in structure lw_header is initial; the data is lost!
    Did I forget a step? Is it necessary to add z-fields to CI_EKKODB instead of using own appends?
    Thx

    Hi,
    If you want to add fields in header then append the fields to the standard structure
    'CI_EKKODB' provided in EKKO table and if it is item level then append the fields to the structure
    'CI_EKPODB'.
    Now in 'MM06E005'  make use of the following components for your use.
    1) EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header
    Here, you can export the data to the subscreen by making use of the parameters 'I_EKKO' and 'I_CI_EKKO'
    provided in the import parameters of the exit.
    2) EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    You can import the data from screen from 'EKKO_CI' and if you want to update the EKKO table with those values
    then make use of the parameter 'E_CI_EKKO'.
    I hope this will help you.
    If you want anymore help, get back to me.
    Regards,
    Jallu

  • BAPI for  Reversal of Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    Is there any BAPI for the Reversal of posting the documents Goods receipt Purchase order
    (Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    Try this passing material doc and year.
    * Cancel the goods movement (creates a reversal document)
      CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
        EXPORTING
          materialdocument = g_material_doc
          matdocumentyear  = g_matdoc_year
        TABLES
          return           = i_return.
    Edited by: Raj on May 14, 2008 7:46 PM

  • BAPI needed  for  Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    We have a requirement where in we need to post the documents throuh BAPI for Goods receipt Purchase order(Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    use 'BAPI_GOODSMVT_CREATE'
    Check this sample.
    code
    REPORT ZRICH_0001 .
    Structures for BAPI
    DATA: GM_HEADER TYPE BAPI2017_GM_HEAD_01.
    DATA: GM_CODE TYPE BAPI2017_GM_CODE.
    DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.
    DATA: GM_ITEM TYPE TABLE OF
    BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.
    DATA: GM_RETURN TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
    Setup BAPI header data.
    GM_HEADER-PSTNG_DATE = SY-DATUM.
    GM_HEADER-DOC_DATE = SY-DATUM.
    GM_CODE-GM_CODE = '04'. " MB1A
    Write 971 movement to table
    CLEAR GM_ITEM.
    MOVE '412' TO GM_ITEM-MOVE_TYPE .
    MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
    MOVE '3800533484' TO GM_ITEM-MATERIAL.
    MOVE '1' TO GM_ITEM-ENTRY_QNT.
    *MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
    MOVE '1060' TO GM_ITEM-PLANT.
    MOVE '0007' TO GM_ITEM-STGE_LOC.
    *MOVE '0901' TO GM_ITEM-MOVE_REAS.
    MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
    MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
    APPEND GM_ITEM.
    Call goods movement BAPI
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    GOODSMVT_HEADER = GM_HEADER
    GOODSMVT_CODE = GM_CODE
    IMPORTING
    GOODSMVT_HEADRET = GM_HEADRET
    MATERIALDOCUMENT = GM_RETMTD
    TABLES
    GOODSMVT_ITEM = GM_ITEM
    RETURN = GM_RETURN.
    IF NOT GM_RETMTD IS INITIAL.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ELSE.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ENDIF.
    WRITE:/ GM_RETMTD.
    LOOP AT GM_RETURN.
    WRITE:/ GM_RETURN.
    ENDLOOP.
    [/code]
    Also check the Bapis
    BAPI_PO_CREATE --> To create Purchase Order
    BAPI_PO_CHANGE --> To change Purchase Order
    BAPI_PO_GETDETAIL --> Todisplay Purchase Order
    Regards,
    Raj.

  • Regarding screen fields include in purchase order transaction

    Hai guys,
        I need to add new field in purchase order transaction ( me21n, me22n, me23n ) . i have added the new field in screen painter. when i was creating the field and then i made the field to refer from dictionary , when i refer from dictionary the field is showing in non-editable format.how to make the field  as editable format to enter the value.what is the settings behind it please explain.
    for your information i have added one more field without refering dictionary it is accepting inputs .
    Regards,
    N.selvamuthukumar.

    thanks for your reply.
    we have already  done the changes as you mentioned. but still we are facing the same problem of inactive state on the newly created field.
    kindly suggest any other settings to be done for dictionary related fields.. (we have enabled the dictionary related option in the screen field properties menu)
    otherwise provide step by step setting for new field creation.....(se51)
    thanks with regards
    selva

  • Creating new DMS info record directly from purchase order transactions

    Hello Everybody,
    does anyone knows of a way to make it possible for users to Create New DMS info record directly from the purchase order transactions ?
    e.g:
    in ME22N there is a button of "Documents" for an item level in the order, but that button only allows to link an existing info record.
    Link To a screenshot:
    http://img263.imageshack.us/i/me22n1.jpg/
    Regards,
    Yossi Fridman.

    hi
    This query has already been addressed in the following Forum by Christoph Hopf..
    pls chk link below.
    Create DIR through P.O and Sales order screen
    Thanks
    john
    Edited by: johnpp on Feb 15, 2011 11:54 AM
    Edited by: johnpp on Feb 15, 2011 11:57 AM

  • New smart form picking enjoy purchase order /SAPDII/SPP_ORDER

    Hi Experts,
    Ours is a new implementation project.
    Requirement is to design a new smart form for purchase order.
    The print program for the purchase order is loaded.
    When I go for print preview the print program is calling the enjoy PO and not my form.
    I checked in the transaction NACE
    PRINT PROGRAM : Z_SMBZA_ZA_FM06P
    FORM ROUTINE :ENTRY_NEU
    FORM : -
    PDF/SMARTFORM : Z_MMPO_ZA
    My print program has 2 includes
    INCLUDE Z_SMBA0_AA_FM06TOP.
    INCLUDE Z_SMBA0_AA_FM06PE02.
    Every thing is working fine except with the following piece of code
    IF NOT tnapr-sform IS INITIAL.
        lf_formname = tnapr-sform.
      ELSE.
        MESSAGE e001(ssfcomposer).
      ENDIF.
    Here I am getting tnapr-form as /SAPDII/SPP_ORDER and not Z_MMPO_ZA
    If I change the field to Z_MMPO_ZA in debugging it works fine and I am getting the output of my form.
    In the table TNAPR the field SFORM  shows Z_MMPO_ZA
    In the table NAST the field PFLD3 shows /SAPDII/SPP_ORDER
    Can some one help me how to make the program by default read my form and not /SAPDII/SPP_ORDER
    Thanks
    Joshi

    Hi,
    IF NOT tnapr-sform IS INITIAL.
    lf_formname = tnapr-sform.
    ELSE.
    MESSAGE e001(ssfcomposer).
    ENDIF.
    In debugging check what is value in TNAPR-KSCHL and confirm whether this is the desired output for PO printing.
    Also check in PO Header --> Messages, what is the output type configured there. If it is not the desired output type, try adding your desired output type there and chek the print preview.
    Also confirm the NACE settings are correct for your Output Type used wihile taking the PO printout.
    Thanks & Regards,
    Harish

  • Specific Exchange rate type for Purchase order transactions

    Hello,
    Is there any transaction in customizing where we can default a specific exchange rate type to be used for specific transactions. To explain in more detail, I am setting up a new exchange rate type which will be maintained by Treasury. We want Purchase Orders (in a specific Purchasing Org) to be raised only with that rate type. There are other requirements as well like that Exhange rate field should be non editable in the Purchase order etc.
    Any inputs would be of great help
    Keyur

    I donot think any such standard setting is there..
    Depending on the currency that you enter....in PO foreign currency...excahnge rate is read from transaction OB08....
    Or if you manually key in the excahnge rate in pO header.

  • Help Restriction Purchase Order Transaction Notification

    Good afternoon experts community'm doing a lock which I doubt as raise it, the case is as follows:
    The purchase order should not be created if the unit price of the item is higher than the price of the price list of sap, the problem is that now they will start to use the extra coin price list, that is why it is requires blocking the creation of the purchase order if the order price is higher or not applicable to the two alternatives we have in our price list.
    In advance I will be grateful if anyone reads this post and I can reach out to fill this requirement and also bring something more to my knowledge.
    best regards!
    example
    if @transaction_type = 'A' and @object_type='22'
    begin
        set @itemcode =(select top(1) o1.itemcode
                          from opor o inner join por1 o1 on o1.docEntry = o.docEntry
                                      inner join ocrd c  on c.cardcode  = o.cardcode
                         where u_facnum is not null
                           and  not exists(
                                           select *
                                             from itm1
                                            where itemcode  = o1.itemcode
                                              and pricelist = c.listnum
                                              and (price > o1.Price and AddPrice1 > o1.Price  or itemcode in ('FLETE','SEGURO'))
                           and  o.docEntry = @DocEntry)
       if (
           select count(*)
             from opor o inner join por1 o1 on o1.docEntry = o.docEntry
                         inner join ocrd c  on c.cardcode  = o.cardcode
            where u_facnum is not null
              and  not exists(
                              select *
                                from itm1
                               where itemcode  = o1.itemcode
                                 and pricelist = c.listnum
                                 and (price > o1.Price and AddPrice1 > o1.Price  or itemcode in ('FLETE','SEGURO'))
              and  o.docEntry = @DocEntry
           )>0
       begin
         set @error = 1
         set @error_message = 'Error el articulo '+@itemcode+' no concuerda a lista de precios del cliente.!'     
       end
      end

    Hi,
    Please avoid using Transaction Notification if you want to insert a B1 object via DI API using the integration framework.
    The reason is, that the integration framework uses the DI API logic and this transaction notification runs on top after the DI API process is finished. Therefor it is not really part of the DI API process.
    This could cause an unexpected exception in the DI Adapter of the Integration Framework.
    My proposal is to check your mentioned logic within the integration framework instead of using the transaction notification at the end.
    E.g. Build a flow using a SQL Call atom to retrieve the pricelist price you want to compare with.
    You can built a conditional processing in your integration flow to avoid the creation of the purchase order or directly change the price on the flow.
    Another option is to check your logic, create the purchase order with status "for approval" and inform the keyusers via B1 alert message out of your integration scenario step.
    Best regards
    Bastian

  • Regarding BAdi : Customer's Own Screens in Enjoy Purchase Order

    Hi freinds
    If we activate the above mentioned BAdi what enhancements will we get in comparition with std functionality.
    Regards
    Eldee

    Hi
    By implement ting this BAdi you can define your own screens which will be visible in ME21n screen at the time of purchase order creation.
    Certain screens or fields which are  not present in the standard  but required by the client can be accomplished using this BAdi.
    Thanks & Regards
    Kishore

  • Bapi_po_create1 - enjoy purchase orders

    Hi
    I am using bapi_po_create1 for purchase orders conversion. I have a problem in using this. Whatever delivery date i supply in bapimeposchedule-delivery_date, it is getting overridden with the default date else current date. would like to have a solution for this problem.
    Thanks
    Elango

    Hi Andrzej
    I did fill the respective POSCHEDULEX table with 'X'. I used the date format yyyymmdd. The date value for purchase order create date is working fine. I assume the date field is getting populated based on the INFO records. if i dont fill the the info records it takes current date otherwise based on the info records. Pl let me have some solution for this..
    elango

  • Enjoy Purchase order - Personal settings v Vendor Master fields

    We want to use Personal settings to default certain fields but want fields from the vendor master to take prioirty.... can we change the field selection available to users or can we switch off personal settings, or change the priority so if payment terms maintains at vendor level, these take prioity over personal setting ones!

    Dear Keith,
    You can try it in your system, i told you as per standard SAP, so we talk about SAP design, and for me, it make sense if the personal setting is overriding the vendor master setting, because the vendor master (purchasing data) also just for default data,and SAP give personal setting in order to make default data under user level, so the personal setting is only effected for the user, not all user that using the transaction
    Regards,

  • Reg. Validation on Header text in Purchase Order Transaction

    Hi All,
       As per the requirement we need to validate on header text in PO transaction.
    Can any one let me know if there is way to do using user exit or configuration.
    Please kindly help me. This is urgent.
    Regards
    Anil Kumar K

    Hi
    You can check either user exit or BADI implementations.
    I´d recommend implementing  BADI ME_PROCESS_PO_CUST on the method PROCESS_HEADER.
    Dont forget to reward if helpful.
    Bye
    Gabriel P.

Maybe you are looking for

  • Problem in Server side includes using Tomcat

    Problem in Server side includes using Tomcat: I am trying out small programs in servlet. I get one example program for server side includes from net. The code is: <HTML> <HEAD><TITLE>Times!</TITLE></HEAD> <BODY> <P> The current time in London is!!! :

  • Safari vs. Firefox and Other Browsers

    As already posted in these Safari forums, a number of people can not visit certain web pages using Safari under Leopard, while Firefox and similar browsers, and also Safari under Tiger, can. Some people can not visit certain pages at all, and some pe

  • Finder not browsing external drive

    I'm having trouble with Finder. When I connect my external drive, the icon shows up, and DiskUtility shows it mounted normally. However, when I try to open it through the Finder window, I get the error message: "The alias "xyz" can't be opened becaus

  • Transfering Metatags from old copy of bridge

    Greetings! I recently upgraded my OS to the new windows 7 (loving it so far) and I reinstalled my adobe products.... However I failed to export/copy all my keywords and meta data from my old photoshop. The instal created a folder called windows.old,

  • Frozen problem of ZEN Stone p

    Hi all, I need your help with my ZEN Stone plus (2GB). It was bought last December. Recently, it always gets frozen?with the?showing of?"CREATIVE" letters?after I press the play button. I cannot get to?the menu. All the buttons lose their functions.