BAPI to get matrial /qty/ bin from production order

hii All,
which is the BAPI name to get the  Bin/Material/Qty from production order

HI,
try using BAPI_PO_GET_DETAIL(S)
REWARD IF USEFUL
vivekanand

Similar Messages

  • How to get unloading point value from Production order?

    Hi
    Can u tell me how can i get the Unloading Point  value from Production order where the
    Warehouse no,
    Movement Type AND
    Requirement Type F is given
    Kindly send me full select query (Table name-field name).
    Moderator message: please search for available information and try solving things yourself before asking.
    locked by: Thomas Zloch on Sep 24, 2010 9:15 AM

    Try these options.
    Table: AFPO
    Field: ABLAD.
    Table: AUFM
    Field: ABLAD.

  • Need BAPI to get Actual, Plan, Variance by Production Order

    Hi Experts,
    I need to get variance, Plan, and actual cost (material cost) by Production Order. Does SAP has BAPI to do this?
    Best Reguard

    For costing report, you have to read the following tables: based on material Qty/value/ Machine rate and machine posting date , machine rate ( T-code kp26)  and also types of material Raw, finished and semi finished ..
    AFRU ,AFPO,AFKO,AFVV,AFVC,CAUFV FOR PRODUCTION ORDER.
    For material calculation MARA, MSEG and MKPF as well as MAKT...
    Hope this’ll help you .
    Thanks

  • How to output serial number from production order in GLM ?

    how to pull serial number from production order in wwi template for GLM ?

    Hi,
    Please have a look to this thread:
    BAPI/RFC to get serial numbers for a production order
    Hope it helps,
    Kr,
    m.

  • How to Pickup Serial Number from Production order through table field

    Hi Experts,
    I have SAP production order for Qty 5 and assigned 5 serial numbers .
    How to pick up the serial numbers technically
    what table, field I have to use
    Thanks
    Prabakaran K

    Hi,
    Please have a look to this thread:
    BAPI/RFC to get serial numbers for a production order
    Hope it helps,
    Kr,
    m.

  • Open Multiple PDF files from Production order/Routing

    Hi Everyone
    We are in ECC 6.0 environment. We have a scenario where multiple documents were attached to single operation and also at multiple operations. But when I was trying to open these PDF documents, only the last file was getting opened and closing the previous file. How can I open multiple PDF files at one time from Production order or Routing?
    Any help is appreciated.
    Regards
    Prasad

    Hi Prasad,
    from DMS standard I regret but such a functionality is not available. In the standard originals can be opened only one after another.
    I think for realising this functionality an individual modificatoin is necessary.
    Best regards,
    Christoph

  • BOM explosion from Production Order

    Hi All,
      I understand from SAP Help files that we can explode BOM from Production Order using Read PP Master Data. But it also says, that we cannot do this if items have already been issued out. So would like to know is there anyway out to ensure that the production order is reading the latest version of BOM.
      The reason i want to know is because, at present the BOM keeps getting updated & so the work order has to reflect the new items. The BOM contains about 300 or more items, so manual changes is very tedious & error prone at the moment. Furthermore some components are outsourced. So i want to receive them back & post new materials for them. Hope my problem is clear & await inputs
    Vivek

    Hi All,
    Thanks for the inputs. I think for the situation am facing, the Order change management method, should be of help, as the BOM changes does not take place on scheduled dates, for me to fix the BOM explosion dates & assign them. As of now the BOM gets changed, depending the customer requirements, which is unpredictable.
    Clarification required:
    1. The profile which is created using OPL7 & assigned in OPL9 is unique, i.e. for any change numbers of BOM will always follow the profile entered in 'Overall Profile' in Work Scheduling view & i do not need to create new profiles for each new change number of BOM
    2. Once i run the COCM with the new change number, in the production order - components view will i be able to see any error message for those items which no longer feature in the new version of BOM? & will the materials added in the new BOM automatically feature in that list or do i have to manually add these to the order & if so, how will i know which materials need to be added?
      Hope the clarifications sought are clear, await inputs
    Vivek

  • Do we have any BAPI to get the Sales quote or Sales order details

    Hi Experts,
    Do we have any BAPI to get the sales quote or sales order details from my other SAP system.
    My requirement is to get the sales quote or sales order details from the other SAP system.
    Please help.
    Regards,
    Chitrasen

    Hi Experts,
    Thanks for ur help. The BAPI is BAPI_SALESORDER_GETSTATUS which helps in fetching the sales quote information.
    Thanks,
    Chitrasen

  • Deletion of Serial numbers/ Parallel sequences from production order

    HI ,
    I am trying to delete the Serial numbers from the production order programatically using the FM SERNR_DEL_FROM_PP. I dont get any error , but the serial number is not getting deleted from production order. If anyone have used this FM for deletion Please let me know what extra has to be done.
    Similarly i have a requirement or deletion of parallel sequence from the production order. Any FM to do the same?
    Code screenshot below
    CALL FUNCTION 'SERNR_DEL_FROM_PP'
           EXPORTING
                material              = i_matnr
                j_vorgang             = 'PMP2'
                ppaufnr               = i_paufnr
                ppposnr               = i_itemno
           IMPORTING
                anzsn                 = l_num_serno
                ZEILEN_ID             =
               SERIAL_COMMIT         =
           TABLES
                sernos                = gt_sernos
           EXCEPTIONS
                serialnumber_errors   = 1
                serialnumber_warnings = 2
                OTHERS                = 3.
      DATA ls_afpod_po TYPE afpod.
      MOVE-CORRESPONDING gs_afpod_po TO ls_afpod_po.
    *.....Update Number of serial numbers in parent order
      ls_afpod_po-anzsn = l_num_serno.
      update afpo
      set anzsn = l_num_serno
      where aufnr = i_paufnr and
            posnr = i_itemno.
      commit work AND WAIT.

    Hello,
    the function module SERNR_DEL_FROM_PP calls the function module SERNR_DEL_FROM_DOCUMENT within. There, the changes are only written into the memory.
    See also the code below:
    CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY'             "P99K058111
            EXPORTING                                             "P99K058111
                 I_MEMORY_ID = MEMID_STATUS.                      "P99K058111
    The variable memid_status has the value 'SN_STATS'.
    So if you want to update the data, you have to call the following function module:
    CALL FUNCTION 'SERIAL_LISTE_POST_PP'
      EXPORTING
        MEMORY_ID_STATUS       = 'SN_STATS'
    Regards Simon

  • A FM or BAPI to update the status of a Production Order

    Hello, does anybody know if there is an interface FM or BAPI to update the status of a production order. Specifically I want change the status of PP order to LKD (locked). I want to do it programmatically from an external system.
    Thank you
    Ernesto

    Hi,
    I believe you can use the FM I_CHANGE_STATUS to update the status..
    where JEST-OBJNR = AUFK-OBJNR
    Thanks,
    Naren

  • Purchase Order from Production order

    Hi,
    This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
    Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
    Pls help me in finding the material number.(item wise)
    Thanks & Regards
    Hrishi

    Hello
    To optimize the workflows, you can change certain functions of the standard material master by using customer exits.
    You can tailor the display of the material number to your requirements by using the SAP enhancement MGA00003. If, for example, a material has the number 123, you can use this enhancement to determine that the material number is to be displayed with a prefix such as MAT-. (The number 123 is still saved in the database.)
    Control for the material number assignment
    MGA00002
    EXIT_SAPLMG02_001
    (Internal number assignment)
    EXIT_SAPLMG02_002
    (External number assignment)
    Control for the material number display
    -{}-MGA00003
    EXIT_SAPLOMCV_001
    (Number conversion from display format to database format (input: start))
    EXIT_SAPLOMCV_002
    (Number conversion from display format to database format (input: end))
    EXIT_SAPLOMCV_901
    (Number conversion from display format to database format (input: start))
    EXIT_SAPLOMCV_902
    (Number conversion from display format to database format (input: end))
    Regards

  • Purchase order from production order !!  (Missing material no)

    Hi,
    This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
    Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
    Pls help me in finding the material number.(item wise)
    Thanks & Regards
    Hrishi

    Hi
    1. Check table EKPO, if material number is stored against said PO,
    2. Check ME23N, ME23N, ME22, ME23 screens are u able to see material no. in any of T-code.
    If one of T-code not showing material number, it is sort of bug in system
    Regards,
    NNK
    PS:Award points for useful ans

  • Excess Qty confirmation than Production order qty

    Hi
    SAP Experts
    Is it possible to confirm excess qty of yield in co11n against Production order qty.
    pl. guide me the steps required.
    with Best Regards
    Yogesh

    Yes,
    If you do not waht to conform excess qty than the production order qty, then the following are the options
    - as our friend told in Work scheduling view the under/over delivery tolerance should be zero and unlimited delivery tick should not be active
    - In production order the under/over delivery tolerance should be zero and unlimited delivery tick should not be active.
    - In OPK4 fior the combintaion of plant and order type the following confirmation parameters are to be maintained
    Under delivery - X error if qty below under delivery tolarance
    Over delivery - X error if qty above over delivery tolarance.
    With this settings you can avoid what you wanted.

  • RFC or BAPI to get  ECC CST LST  from SAP to third party

    Hi Friends,
    I want to find out RFC or BAPI to get ECC,CST and LST No. number from SAP system to third party software accourding to Ship to party.Please healp me.

    Hi,
    Thanks very much for your answer. In fact, table UVERS is empty both on SAP Wharehouse server and Netweaver, but you put me on the right way...
    I finally found that table CVERS_REF was enough, but I don't have the version of the component like in the status window...
    I doubt also I'm right using the RFC_READ_TABLE, but I don't know yet if a BAPI exists for what I'm looking for.
    Regards
    François MAESEELE

  • Getting a runtime error in reading long text from production order

    Hi all,
    I am trying to read production order long text and the code is not showing any syntax error but if i execute it i am getting a runtime error as "Text object aufk is not available".
    But i did check for the text object , text id enties in TTXOB and TTXID tables. Also i am able to see the relevant text in tables STXH and STXL, dont know why i am getting this runtime error and unable to debug.
    I tried a lot searching in forums, but they all ask me to write the code in the way i did, so dont know what is the problem.
    Data Declarations
    data: xaufk  type aufk.
    data: l_name type thead-tdname.
    data: ilines type table of tline with header line.
    Parameters
    parameters: p_aufnr type aufk-aufnr.
    concatenate sy-mandt p_aufnr into l_name.
    condense l_name no-gaps.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                 CLIENT                         = SY-MANDT
                  ID                                =  'kopf'
                  LANGUAGE                 =  sy-langu
                  NAME                          = l_name
                  OBJECT                       = 'aufk'
                TABLES
                  LINES                         =  ilines
              write : ilines.
    Regards
    Jessica

    Hey Vijay,
    Thanks for you reply, It worked, i am not getting the runtime error, but also not getting the output.
    am i missing anywrite statements?
    Please check the code and suggest changes if required. i want to see the long text in the production order in the output. should i say write: ilines.?
    Data Declarations
    data: xaufk  type aufk.
    data: l_name type thead-tdname.
    data: ilines type table of tline with header line.
    Parameters
    parameters: p_aufnr type aufk-aufnr.
    concatenate sy-mandt p_aufnr into l_name.
    condense l_name no-gaps.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                 CLIENT                         = SY-MANDT
                  ID                            = 'KOPF'
                  LANGUAGE                      =  sy-langu
                  NAME                          = l_name
                  OBJECT                        = 'AUFK'
                TABLES
                  LINES                         =  ilines
                 write : ilines.
    Regards,
    Jessica.

Maybe you are looking for