Function module for display production order details

Hi All,
       I want to display production order details including operation,sub-operations and components using standard FM.I checked 4 FMs, but some are not displaying my require details. I found PM_ORDER_DATA_READ function module, it is displaying all details.But you can execute the function module 2 times for different orders it is giving ABAP dump 'itab_error'. Please get back to me if any one faced this problem or know solution.I am also checked BAPI_ALM_ORDER_GETDETAIL FM.
My require fields are
AUFNR, WERKS, PLNAL, PLNFL, VORNR,UVORN, ARBPL, KTSCH,
LTXA1,OFFSTB,VGW01 etc.
I am using SAP 4.7 release. Please send me either standard FM or BAPI to display all details of production order.
Thanks in Advance
Shaik Basha

Hi,
I had the same problem this morning and I found out a FM you have to run to fix this problem.
FM: CO_IT_SET_FLG_ITAB_NEW
Rgds,
Parise

Similar Messages

  • Function module for displaying the location

    Hi,
          Could anyone tell  the Function module for displaying the location in our system  without a  file name while downloading, when the user press f4.
    thanks

    * read the default pathname on application server
      call function 'FILE_GET_NAME'
           exporting
    *           CLIENT                  = SY-MANDT
                logical_filename        = lc_logical_filename_ftappl
                operating_system        = sy-opsys
    *           parameter_1             = ' '
    *           PARAMETER_2             = ' '
    *           USE_PRESENTATION_SERVER = ' '
    *           WITH_FILE_EXTENSION     = ' '
    *           USE_BUFFER              = ' '
           importing
                emergency_flag          = l_emergency_flag
                file_format             = l_file_format
                file_name               = l_file_name_ftappl
           exceptions
                file_not_found          = 1
                others                  = 2.

  • Function Module for open Purchase Order & Sales Order?

    Hi, commonly I read the data from tables and calculate the open quantity for sales order and purchase order, but I want to know, are there any standard function modules for getting the list of open "purchase order" and "sales order" respectively?
    Thanks and Regards.

    hi Ren,
    u can check all these bapi's related to salesorder
    BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
    BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
    BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    May be this FM can help you
    MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
    Regards,
    Naveen

  • Function module for getting Vendor Address details

    Hi,
    Im new to this group,and new to ABAP
    plz hep me out by solving ABAP Query...
    i want to generate a report for getting Vendor Details
    like Vendor address,Ph num and Email
    input fields are Company code,country key and Account Group.
    im Using Smart Forms for this..
    but im not getting the Exact Function module to get All Required Details..
    regards
    Smitha

    thanks for ur quick reply...
    SELECT SINGLE LIFNR
      FROM LFB1
      INTO V_LIFNR
      WHERE BUKRS EQ V_BUKRS.
      CALL FUNCTION 'VENDOR_READ'
        EXPORTING
          i_bukrs         = V_BUKRS
          i_lifnr         = V_LIFNR
        EXCEPTIONS
         NOT_FOUND       = 1
         OTHERS          = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    this is the code i have written...
    but my problem is there no table in the Function module....
    for Example...
    CALL FUNCTION 'QPAX_PLMKB_READ_FROM_PLKO'
        EXPORTING
          i_plnty            = 'Q'
          i_plnnr            = V_PLNNR
          I_PLNAL            = V_PLNAL
          i_sttag            = V_DATUV
       TABLES
        T_PLMKB_TAB        = IT_TAB
    i want the function modules with tables and proper input...

  • Function module for reteriving Purchase order values

    hi,
    I there any function module for reteriving the Purchase order Values

    better to put ur logic /requirement on table EKKOEKPOEKBE.
    Regards
    Prabhu

  • Function module to display the card details for the tcode BCA_CN_card_03

    HI all,
       I need to know the function modules to create the card data  and also to display the card details in accounts management in CRM.
    Points will be awarded.
    Thanks and regards,
    vinoth.

    1 BUPA_ADDRESS_GET_DETAIL
    2 BUPA_IDENTIFICATION_GET_DETAIL
       BUPA_IDENTIFICATIONDETAILS_GET
    3  BUPA_TAX*
    4,5 BUPA_PCARD*

  • Function module for displaying customer address changes detail

    Hi ,
    Can anyone tell me any code or function module which gives me customer addresses before changes or after changes customer address.
    Regards,
    Gaurav T.

    GT,
    First check acustomer in 'XD04' which has got some change doc history. See all changes in XD04 for that customer.
    Then go to CDHDR table,
    OBJECTCLAS = 'DEBI'.
    OBJECTID      = Customer Number (10 digit with 0 padding).
    UDATE           = Update/change date (Take from XD04).
    Run the table & put the same values in CDPOS along with the CDHDR-CHANGENR & get the field wise changes in Customer with new & old values.
    Try this out or else call me.
    Regards,
    SP.

  • Need a function module to create production order with reference

    Hi
    I need a function module to create a production order with reference to an existing order. There is no BAPI available for SAP 4.7 release. I found that the function module CO_ZF_PRODUCTIONORDER_CREATE does not create with reference to an existing order.
    Any help will be rewarded.
    Pavan

    Dear Pavan,
    Unfortunately there is no FM for this..
    Cheers
    Nitesh

  • Bapi or Function module for getting Bom Item Details (Urgent)

    Hi All,
    I Want to get the Bom Item Details Corresponding to Production Order Number.
    So Please Provide me Some Function Module or Bapi So that by giving the
    Production Order number I will get all material related to that PO.
    Thanks In Advance.

    Hi,
    use the function module.
        call function 'CS_BOM_EXPL_MAT_V2'
          exporting
            capid                 = 'STD1'
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mmory                 = '1'
            mtnrv                 =  matnr
            werks                 = werks
          tables
            stb                   = it_stb2
            matcat                = it_matcat
          exceptions
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            others                = 8.
    Regards,
    Sankar.

  • Function module to get Service Order details created with a Sales Order

    Hi,
    Could anyone tell me if there is any function module to get the details of the Service order that is created automatically for a line item in a sales order. Let me explain my requirement clearly.
    When a sales order is created with specific line item, a service order is automatically created for that line item. I need to get the information about the associated service order. I can't find this information in VBAK, VBAP or VBEP tables obviously. But, i can see the link between the service order created and related Sales document # and item #  in the DB view  CAUFV. But, the key field here is Service order #. But my requirement is to get the service order details from the key field of Sales document.
    I tested the FM SD_SALES_DOCUMENT_READ_POS that reads the sales document header and item material tables, but this doesn't help me in getting the service order details associated with the material line item.
    Your early response is greatly appreciated.
    Thanks in advance,
    venu

    Hi Akshay,
    I actually saw this , but surprisingly, there is nothing stored in this field in either of the tables VBAK or VBAP. I mean, even for the sales orders which have associated service orders, nothing is stored in either of the above tables.
    Can you please tell me if there is anyother way.
    Thank you,
    venu

  • Functional module to change production order

    Hi,
    I tried with FM CO2H_PROD_ORDER_CHANGE
    to change production order quantity field GAMNG value, but it did not work.
    Please suggest me any FM or BAPI to change Production order quantity.
    Thanks
    Hema

    Hi Ferry,
    Thanks for your fast reply.
    I tested with the function modules
    KK_F_AFKO_AFPO_UPDATE
    RK_AUFTRAG_SICHERN
    First FM does not have GAMNG(total order qty) field.
    With 2nd FM, it is directly updating table AUFK and AFPO with order qty and order qty. It will not update operation quantity, that is alsor required.
    If we do manually in CO02 transaction, operation quantity also will update once we change the order quantity.
    Thanks
    Hema

  • Function module for open sales order and open PO

    hi all,
    can anyone please tell me that is there any function module to get open sale order  and also for open purchase order?
    regards saurabh.

    Hi ,
    In EKPO Table u select this fields  Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
    In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and  Qty.
    Both Tables having  Purchase Document  no , So  Purchase Doucment no throguh  u will get the Material and qty , Finally u Subract the both Material Qty's .
    u will get the Open Po For particular Material.
    If ur not getting ,Inform me .
    Regards ,
    Shankar GJ

  • Function module for Open Sales Orders.

    Can u any one tell me is there any standard function module to
    retrieve OPEN-SALES orders. I tried to debug VA05 but not of use...
    Thanks in advance,
    Sanjay.

    hi
      you can get open sales orders from vbuk and vbup
        SELECT
             A~VBELN
             A~GBSTK
             B~GBSTA FROM VBUK AS A
             INNER JOIN VBUP AS B
             ON AVBELN = BVBELN  INTO TABLE T_OPENS
             FOR ALL ENTRIES IN T_VBELN WHERE A~VBELN = T_VBELN-VBELN
            AND  A~GBSTK IN ('A','B')
             AND B~GBSTA IN ('A','B').
    in t_vebeln table is haveing sales orders by user selection you can get it like this
    regards,
    varma

  • Function Modules for creating production version.

    Hi,
    Is there any function module available in SAP to create Production version?
    I'm aware of CM_FV_PROD_VERS_MAINTAIN function module but this one works on dialog mode.
    Please let me know if there are any other function module/class available to create production version.
    Many Thanks!
    James....

    Dear,
    For  C223 production version,
    CM_FV_PROD_VERS_MAINTAIN
    CM_FV_PROD_VERS_SAVE
    Please refer this thread,
    Re: Create "Production version".
    Regards,
    R.Brahmankar

  • Any Function Module to display EKPO,EKET details if EKKO as input details.

    Hi ,
      If i enter the details of EKKO i have to get the details of EKPO and EKET . And can any one suggest me how to update Delivery date in Purchase order items which method id good.
    Regards,
    Sudhakar Reddy.A

    Hi
    U can use the BAPI  "BAPI_PO_GETDETAIL" for displaying the details of a PO by entering thye PO Number.
    U can use the BAPI I " BAPI_PO_CHANGE" to change item level delivery date.
    Thanks&Regards
    Rajendra

Maybe you are looking for

  • Since I updated Firefox 7, password for operations in banks webs don't work

    Since I've downloaded new Firefox 7.0 my banks websites don't work correctly, specifically when I am doing a transaction like a money transfer, I have to enter a password in small bar enabled for thi purpose. When I enter the password, nothing happen

  • Dreamweaver CS6 beendet sich beim Starten

    Hallo zusammen, ich habe derzeit ein Problem mit meinem Adobe Dreamweaver CS6. Beim Starten des Programms erscheint wie gewohnt das "Lade-Fenster". Wenn Dreamweaver dann fertig geladen hat beendet sich die Anwendung jedoch und das ganz Automatisch oh

  • SQL Developer starting very slow

    Im using SQL Developer 1.5.4 on Windows XP pro service pack 3 It had been working fine for a long time. Then suddenly starting take a very long time to start. It is taking about 1 minute to load the splash screen, then about 1 more minute for the pro

  • How do I stop autofill of addresses in the address bar

    I just switched to Mac from PC. I purchased a used macbook with OS X (10.5.5). I am trying to figure out how to stop Safari from automatically displaying website addresses in the address bar when I start to type in an address. Also along the same sub

  • Is compilations the answer?

    Is there a way to keep all the artists that I have just one or two songs of from showing up under ARTISTS on my Ipod? It causes quite a clutter. I thought maybe Compilations checked in iTunes would do this, but apparently not. Any ideas?