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

Similar Messages

  • WM: Return Purchase order process issue-Using 161 movement type

    Hi
          i did return PO with using 161 movementype .when i do GRN, WM is appear 601 movement type and storage type is 916 .
          i  think is wrongly triggered the movementype and storage type 916 .
          so where i made mistake the configuration.pls suggest me to do the configuration.
        with regards
       dinesh
    Edited by: code acess on Jul 8, 2011 7:50 AM

    You can ask SAP AG why it was designed this way - I already told you my explanation I have no better thoughts.
    Just remark: WM-mvt 601 is not only related to sales process. Just check the WM/IM interface and you will see it (e.g. IM-mvt 261, IM-mvt 541 are assigned to it). I think it generally means outbound delivery process.
    If the stock is not in the right place and system cannot find it based on the search strategy you use, you have to enter the data manually.
    Edited by: Csaba Szommer on Jul 8, 2011 11:41 AM
    Edited by: Csaba Szommer on Jul 8, 2011 11:48 AM

  • Regarding purchase order pricing conditions using exits or badi

    Hi friends can anybody help me and  let me know the solution.
    Please explain how the change in the pricing condition amount value should update the cost in PO.
    and which EXITS or BADI use for .
    if anybody have the solution send me reply AS SOON AS
    Thanks,
    srinivas

    OK
    But the problem is pricing conditions like transport cost. Because when I do a new purchase order the system use last transport cost and i don´t want it.
    What I want (if possible) with infoupdate is:
    - Update ( PBXX & PB00)
    - Don´t update (other conditions like transport).
    Thanks....

  • Req:Download of purchase order item details using ALV oops

    Hi all,
    How to download the purchase order item details using ALV oops from the output of header details

    Hi all,
    How to download the purchase order item details using ALV oops from the output of header details

  • 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

  • Report for Purchase Orders didnt reach target through ALE

    Hi Experts,
    we are sending Purchase Orders to Third party system using XI.
    But some of the orders when we save its automatically  system generating output medium is PRINT so these orders not going through ALE.
    1)Can anyone please tell me why the system is generating PRINT instead of ALE distribution.
    2) is there any report for how many purchase orders created for the day and how many of them gone through successfull using ALE distribution.
    Answer will be rewarded.
    Kiran

    Hi
    Have you configured the PO Output type/messages with the Medium as 'A'(ALE)
    otherwise the system willd efualt take 1(print) as default medium.
    Check the NAST table entries for that date created Output type of PO's
    for all of them the Medium(NACHA) field should be A
    then all will go through ALE
    check them.
    Regards
    Anji

  • Purchase order : get Account assignment into BADI

    Hi,
    i'm using the BADI ME_PROCESS_REQ_CUST method POST ; in this method i need to access to items and it's work (i use im_header->get_items( ) ). But now i need to access to Account assignment, how can i do this ? the only object available is im_header.
    Be careful, i can't read database because when i create a new document, the data are not saved again.
    Thanks for help.
    Cheer

    IM_HEADER->get_items( ) returns the internal table RE_ITEMS type ref to MMPUR_REQUISITION_IITEMS (of line type MMPUR_REQUISITION_ITEM) which gives the list of  line items.
    Loop through the internal table RE_ITEMS, refer to the component RE_ITEMS-ITEM (type ref to IF_PURCHASE_REQUISITION_ITEM) & use the method RE_ITEMS-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ) to get the account assignment details related to each item.  This method is to be called in the loop for each line item.
    Regards, Vinod
    P.S : Is it purchase order or Purchase requisition ? By going through the post it is PR, your subject line seems to be wrong.
    Edited by: Vinod Kumar on Jul 15, 2011 2:21 PM

  • Purchase order workflow issue

    Hi All,
    A PO is created and rejected by a user in user decision step.The workflow will end.If the PO is changed(amount) again,the release strategy is triggered for the same user.But the workflow is not triggering.If the release strategy is for a different user,its triggering the workflow.I have used a fork inside which 1 parallel branch contains a wait for significantly changed event & another branch contains the user decision step,po release step & rejection reason scenario.
    Please refer the thread below.
    PO Release Strategy Issue
    Replies will be greatly appreciated.
    Edited by: Feddie on Jan 3, 2008 11:43 AM

    Hi,
    This is not workflow issue(work flow is different term)
    It seem problem of BADI (program written for creation of purchase order based on sales order)
    Take help of ABPer so he/she can solve this issue
    Kapil

  • Purchase order idoc issue

    Hi,
        I am facing a issue with an inbound purchase order change IDOC (message type: PORDCH).
    I am getting the following error: FM VENDOR_MASTER_DATA_SELECT_15 ; no partner functions found for vendor VENDOR_MASTER_DATA_SELECT_15 1.
    The vendors are configured such that they dont need a partner function. The suprising part is that the same message type idoc from the same vendor got succesfully posted a few days back and a few days after the issue was found, which means the error doesnt occur every time.
    Any input is highly appreciated.
    Thanks,
    Aparna.

    Hi Aparna,
    I want to make changes in an existing PO through an inbound idoc. I am using idoc type PORDCH01 and message type PORDCH, process code BAPI. But I am getting an error "Characteristic does not exist in operating concern".
    Can you please explain how u are using idoc type PORDCH01??
    Thanx in advance,
    Shaleen

  • Excise duty condition type and Purchase Order Print Issue

    Dear Friends,
    We have a issue related to Purchase order print out.
    We are maintaining TAXINN.
    We have implemented CIN and we are maintaining Excise Conditions i.e. Basic Excise in JMOP
    In FV11 we are maintaining values for JMOP with plant and material Group combination.
    In Purchase Order Tax calculation is happening correctly.
    But issue is to find the value of taxes for Purchase Order Print.
    We are using function module CALCULATE_TAX_FROM_NET_AMOUNT
    and passing values of Company Code, Country, Currency, and Base amount to get the entries in condition types.
    But we are not getting any entry even after passing the values.
    How we can get these values in JMOP.
    Regards
    Kant

    Why do you want to calculate the taxes during the PO Print when you are getting correct values in PO itself?
    Modify your print program with pulling values directly from EKPO/ EKKO Tables and display it to Spool.
    check with ur ABAP Person

  • SAP MM Purchase Order custom field pulling through to FI

    Hi
    I have no idea where to start.  I need to create a custom field in the Purchase order which has to pull through to FI.  I've created an Account Assignment category I - Insurance and need to have a field on the Purchase order where the users can fill in the Claim Number. (Reference field).
    I thought I could maybe use the Unloading point field as we don't use it currently, but it doesn't pull through to reports on FI.
    Secondly I would like to link my Account assignment category to a specific General Ledger account (when the user choses Aac I, I would like a G/L to automatically populate and be grey (no changes possible)
    Thanks so much!
    Carina

    I Actually think I found the answer here - http://www.bluemarlinsys.com/ns/0603-03.asp
    1) How to default a General Ledger account on a Purchase Order account assignment for an inventory item?
    When you create a standard Purchase Order using ‘K’ account assignment to expense an inventory item with GL account and cost center, the system expects you to key in GL account number and the cost center. In case you don’t want to use the account modification ‘VBR’ assigned GL account number, it is possible to default a separate GL account with standard configuration steps.
    a) Transaction: OME9 (Maintain account assignment categories)
    Create a new account assignment category ‘Z’ by making a copy of account assignment category ‘K’.  Change account modification to ‘ZBR’.
    b) Transaction: OMGO (Define combination of item categories/account assignment categories)
    Assign account assignment category created in previous step to an item category blank or space.
    Note:
    This is an optional step, if you don’t want to touch the standard ‘K’ cost center account assignment.
    c) Transaction: OBYC (Automatic account assignment configuration)
    Choose account transaction key ‘GBB’ by double clicking the existing entry and choose the appropriate chart of account for your company. Assign the GL account that needs to be defaulted for general modification ‘ZBR’ and valuation class ‘RAW’ (use appropriate valuation class set-up in your company).
    d) Transaction: ME21N to create a purchase order to test the configuration.
    When you create a PO with account assignment ‘Z’ for an inventory item, the system should default the above-configured GL account.
    2) How to default a GL account for a material group when a purchase order is created without a material master?
    If you want to create a purchase order without a material master (service/expense items), the standard SAP R/3 4.x and higher releases, offer functionality to assign a valuation class to a material group. This way automatic MM account assignment can be set-up to drive the appropriate GL account for a material group/valuation class in your company.
    a) Transaction: OMSK (Define valuation class):
    b) Transaction: OMQM (Entry aids for items without a material master):
    Assign the appropriate valuation class for a material group.
    c) Transaction: OME9 (Maintain account assignment categories)
    Create a new account assignment category ‘Z’ by making a copy of account assignment category ‘K’.  Change account modification to ‘ZBR’.
    d) Transaction: OMGO (Define the combination of item categories/account assignment categories)
    Assign the account assignment category created in previous step to an item category blank or space.
    Note:
    This is an optional step if you don’t want to touch the standard ‘K’ cost center account assignment.
    e) Transaction: OBYC:  (Automatic account assignment configuration)
    Choose account transaction key ‘GBB’ by double clicking the existing entry and choose appropriate chart of account for your company. Assign the GL account that needs to be defaulted for general modification ‘ZBR’ and valuation class ‘TRF’ (use the appropriate valuation class set-up in your company).
    f) Transaction: ME21N to create a purchase order to test the configuration.
    Standard order type, Account assignment category ‘Z’ and Material Group ‘TRAFFIC’.
    Account assignment screen:
    Note:
    Before configuring account assignment, please discuss this with your SAP FI/CO functional contact and Accounting department key user for mapping valuation class to General ledger account numbers etc.
    Some of my colleagues in MM Purchasing liked this configuration and I thought your company might also benefit from this in case you want to default the GL account in purchasing to avoid wrong account coding.  

  • Purchase order script issue

    when i copied the medruck form and then saved the data into nace transaction and then went to me22 and when i clicked on messages and i got the output screen stating output NEU is not defiened and i clicked on f4 button and found out there is only email option in it, how i need to save it and execute my form and what is partner tab in the screen, what i need to give in it.

    using NACE tocde we can assign print program to form.
    goto NACE->select the Application type(EF-purchase order)->select output types->NEU for new PO printout->double click on process routines_> sscroll right->specfiy ur form and print proggram there(instead of MEDRUCK give ZMEDRUCK)->save
    Nace is for message control settings. Say if u want to trigger a Smartform or an Idoc or any other customized program u can do the message control settings.
    Say at the time of Sales Order creation or updation u want to trigger a Smartform, then u have to follow the following steps:
    Goto NACE
    Select application V1 and then click Output Type.
    create a new Output type or copy the existing one abd save it with new name
    then in Processing Routine Mention the driver program name and in Form routine mention the main subroutine name.
    In Smartform mention your SMartform name and also the layout if u have ceated.
    Again go to NACE and Select application V1 and press Procedures.
    here out of the many procedures u have to select the right one and attach your Output Type to it.
    You can also create a condition record..Say if u want to trigger this Smartforms for Sales Order of particular type.
    Hope this helps.

  • Purchase order locking issue

    Hi ,
    We are processing IDoc. The IDoc FM does GR of STO by using MIGO transaction via BDC , then FM also does GR of STO Delivery number by using VL02N transaction . MIGO transaction is successful but while doing GR of STO Delivery number via VL02N we are getting an error like ' Purchase order XXXXXXXXXX is currently locked by user XXXXXX .
    This happens if we process the IDoc in background . If I process the IDoc in foreground  by putting breakpoint at MIGO and VL02N , it executes successfully .
    I feel it is a locking issue . I tried using FM DEQUEUE_ALL , MM_DEQUEUE_DOCUMENT after MIGO but it did not work out .
    Please suggest for any pointers on this locking issue .
    Regards,
    Kiran.

    Forget about WAIT statement.
    Use:
    set update task local.
    ...before starting MIGO.
    regards

  • Purchase order-smartform issue

    dear experts,
        Here in purchase order import po printout one of the text field-AIR/OCEAN FREIGHT-VAL am getting the value like 560.00 but actually i should get 56,000. So i have changed my smartform declaration like JOFV TYPE KWERT. the earlier it was displayed like jofv like ps207-bgert. then the same in samrtforms form interface-->import paramter...where there given like jofv type ps207-bgert. then there i made a change like JOFV TYPE KWERT. once after this has done..when i save it doesn't ask for the request no...it directly saves...SO HERE MY PROBLEM IS NOW I HAVE TO GIVE THE REQUEST NO TO EDP THEN THEY WILL MOVE TO PRODUCTION TO SEE THE O/P.
      here what can i do.....please help me out....
    thanks & regards,
    selva....
    Moderator message: please use more descriptive subject lines for your posts, do not post in all upper case.
    Edited by: Thomas Zloch on Jun 18, 2011 11:06 AM

    Hi,
    if its directly saved means already in some other request.
    if you want to find SAP request in which your smart form is being saved then follow this
    1) se03
    2) Search for Objects in Requests/Tasks
    3) Add in object selection blank box - SSFO and select checkbox
    4) give smartform name
    5) Execute
    it will show request name details
    Regards,
    Dhina...

  • How to create a Purchase order from XI Using ORDERS05

    Hello Experts,
    I need to create a purchase order using OREDRS05 from XI. I was not able to create and I am having these quires.
    1. What are all the mandatory fields that I need to fill in to create a purchase order?
    2. Which part of the SAP will take care of the control record? Is this done by SAP or Integration Tool?
    3. When I have tryed with an existing Inbound Idoc(On R/3 Side) its showing Satus 51 what should I do?(Error: There is no article description for item 000010)
    If Possible give me the step by step procedure to reslove..
    Thanks in Advance,
    Sai Suma

    Hi Suma,
    Check this link
    Creating Purchase Order IDOC through XI
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    Sachin

Maybe you are looking for

  • SCEP 2012 and VDI offline servicing

    I've seen this question being asked before in another thread (Best practice to run Microsoft Endpoint Protection client in VDI environment) however the answer doesn't provide enough information (for me at least) We are planning to use a Citrix XenDes

  • SMSY Data Source changes after performing Managed System Config

    Hello everyone, I am working with Solman EHP1 SPS26.  I have setup up my central SLD to push system data to my Solman local SLD which is then retrieved from Landscape Fetch to SMSY.  Initially, everything seemed to be working and all data sources rep

  • Quicktime Sharing Feature doesn't extract sound

    Anyone know the fix for sharing movie clips with quicktime? The compression on the Video is working fine but the sound seems to be dissappearing. I'm importing Movie Clips into Iphoto then playing them with Quicktime, clicking on share to e mail and

  • ITunes won't update, unistall or re-install.

    iTunes won't update or unistall. When I try, it says the installer source doesn't exist. When I tried to just reinstall it fresh, it says the old versions of Bonjour, iTunes and Quicktime can't be removed. Any solution for any of this?

  • Error when dragging from ftp into bridge

    I just want to share this cautionary tale When I drag a file from ftp into bridge I get the following message, "This operation is not permitted. Instead use restore." Then the file is deleted off the ftp site and not added to bridge. Which means I th