BAPI or FM to create Prod. Orders from partial planned order (like CO48)

Hello everyone.
    I need create a Prod. Order from a planned order, but only converting this one partially, as in tx co48. Do you know any Bapi o FM or I only have the Call transaction option???
Thanks a lot.

IMH wrote:
Hello everyone.
>  
>     I need create a Prod. Order from a planned order, but only converting this one partially, as in tx co48. Do you know any Bapi o FM or I only have the Call transaction option???
>
>
> Thanks a lot.
I don't think we have many BAPI's in the PP module. I guess recording is the option.

Similar Messages

  • Need FM or BAPI to create Notification Order (Like TCode IW34)

    Hi PLM Expert,
    Can you give hints to create Notification Order (Like TCode IW34) from FM or BAPI?
    Thanks in advance,
    Gilang

    Hello Raj and other experts, I need help creating a a maint order referencing notification. I am using method CREATETONOTIF to create Order refer notification. I am successful in creating order however bapi is creating two orders. One without reference to notification and second one with reference to notification. Please note i have to use create header object type and method 'Create' as well.
    If i get rid of first method below it_methods - Object id header & Method create so i only execute method called CREATETONOTIF , i get a error on "Enter another operation number" from bapi . Your help would be greatly appreciated. I am stuck on this error now.

  • Is there any bapi that i can create sales order and date

    Hi Gurus
    is there any bapi that i can create sales order and date .

    This appears to be related to Problem With BAPI_SALESORDER_CREATEFROMDATA but without the detail. If you want to ask again, please add that detail.
    locked
    Rob

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • BAPI vs IDOC in creating Sales Order

    Hi Gurus,
    Good day!
    I would like to seek for your expertise to assess the advantages and disadvantages of using IDOC vs BAPI in creating sales orders?
    Overview of the requirement:
    Sales Orders are automatically created via idoc but we are planning to redesign the process by using BAPI. However, there are concerns when using a BAPI such as.
    1. Error handling/monitoring
    2. reprocess of failed creation of orders
    Thank you in advance.

    Hi Sai Sai,
    those are exactly the disadvantages.
    If you were using other middleware like SAP XI then you would have a place to monitor communications and reprocess messages, so you could use BAPI.
    But if you don't you'd had to create that mechanism in SAP or move that responsibility to your partners.
    BAPIs are useful for online SAP programs but if you require a background process with a maintenance infrastructure then you are better served with IDOCs.
    regards,
    Edgar

  • BAPI or FM to create Service Order type SM01 in Plant Maintanence

    Hi All,
    Can anyone help me in searching for a BAPI or a function Module to create a Service Order of type SM01(Service Order). This is usually done through transaction IW31. I have written a BDC as of now but it is acting cranky as a lot of things depend on User Settings I wanted to have a generalised way of doing this rather than a BDC.
    Regards,
    Sudhi

    Hi Sudhi,
    There does not seem to be a BAPI available for Service Order Creation (at least in 6.20). One option you can consider is create the order with minimum required fields using BDC and then immediately change it using the Order Maintain BAPI.
    Is your BDC executed as part of a dialog transaction or in background job? If it is always executed in background you should not worry about user settings as you can schedule the job to always run with the same id. The same applies if your data comes in as an idoc.
    Gareth is correct. I did not see the BAPI docu.
    Cheers,
    Ramki Maley.
    Message was edited by: Ramki Maley

  • Anyone used BAPI/FM for LT03 create transfer order

    Hi all,
    Has anyone used BAPI/FM for <b>LT03</b> create transfer order based on delivery.
    the BAPI/FM should accept <b>multiple line items for individual storage units</b>.
    thanks,
    Subba

    thanks Amit....
    But it would be helpful to know the usage of this FM....and if anyone has used in their program....
    thanks,
    Subba

  • Which FM/BAPI is used for creating repair orders

    Hi,
       Please tell me which FM / BAPI is used for creating service notifications,Repair/Service order and Delivery Docs.How to find out??
    Please someone help me.
    Thanks,
    Neelima

    For service notification you can try using this.
    'BAPI_ALM_NOTIF_CREATE'

  • BAPI or FM to create direct delivery from special stock

    I am looking for a BAPI or FM for creating Delivery automatically base on special stock.
    In specail stock we have goods with sales order.
    let me have your advice soon.
    Thanks.

    Hello ,
    Check the following FM.
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    Thanks,
    Krishnakumar

  • BAPI or FM to create Work Order with reference to Notification (IW34)

    Hi Experts,
    Can you please let me know a BAPI or FM to create a Work Order with reference to Notification(just want to replicate IW34)?
    I tried using BAPI_ALM_ORDER_MAINTAIN but it is creating another new notification in addition to the notification I passed in Object list.
    Thanks in Advance.
    -Chandra

    Hi,
    try FM BAPI_SALESORDER_CREATEFROMDAT2
    with ORDER_HEADER_IN fields
    REFOBJTYPE
    REFOBJKEY
    REFDOCTYPE
    Regards,
    Clemens

  • BAPI or FM for creating transfer order with reference to reservation

    hi
    i need a BAPI or FM to create a transfer order with reference to a reservation. I tried BAPI_GOODSMVT_CREATE but the problem is it does not support movement type '311'. is there any FM or BAPI to use movement type '311' and create a transfer order with reference to a reservation? pls help

    Hi,
    Try Using WM_CREATE_GOODS_MOVEMENT first use this and later use any of the TO create FM.
    Thanks & Regards,
    YJR

  • BAPI or FM needed to retrive data from SNP Planning Area

    Hi All,
                 There is a planning area created for SNP ,now I need to retrive key figure values present in this SNP Planning area.Does any know of BAPI or FM which can be used to retrive data from SNP Planning Area?
    Thanks,
    Venu

    Hi Venu,
    A)  Please try this BADI Implementation
        /SAPAPO/EXTRACT_EX             Sample implementation
        /SAPAPO/SDP_EXTRACT             Definition name
        /SAPAPO/IF_EX_SDP_EXTRACT   Interface name
        /SAPAPO/CL_IM_EXTRACT_EX     Class name
    The Uses of this BADI are;
    1) You can interrrupt the data extraction process from the planning area.
    2) You can use the CHANGE_INPUT method to override the input parameters for the extractor (sent from the requesting system).
    3) You can use the CHANGE_OUTPUT method to alter the extracted data, derive the values of certain InfoObjects  , for example.
    4) You can use the CHANGE_SELECTION method to modify the selection table that is used for extracting data using a  BAdI method. This is particularly useful when extracting data from an SNP planning area because you cannot specify a location product in the standard selection.
    B)  You can also try the below function modules
    /SAPAPO/CL_IM_EXTRACT_EX - Load key figures of Demand Planning
    /SAPAPO/CDI_TSDMID_KEYFS_LOAD - Load key figure data from TSDM
    Regards
    R. Senthil Mareeswaran.

  • Checking the mould availability when creating prod order

    Hi,
    we have a client and we still working in blue print phase.
    our client creating spun pole, flat type pc sheet, mainly use for construction of a building.
    Our client have a pain point that the requirement from production always didn;t consider the mould
    availability.
    for example :
    the client is set up with 3 plant, region A, B and C.
    We plan to maintain the mould as asset.
    1)
    When requirement arise from sales for example 10 PCS spun pole 3Meter in the plant B.
    Production must know whether the mould 3M is available if not there should be some information.
    But if there is 2 mould (1M and 2M) it can be use together to produce spun pole 3M.
    The mould in plant A and C should not be used in consideration because the requirement is in plant B.
    2) so management will also want to know the scheduling
    for example 1mould 3Meter can produce the spun pole in 20 days
    so if there is 3 mould for the 3 spun pole 3Meter it takes 20days to
    On the other hand mould is maintain as asset
    Is there any idea how to design the solution for this pain point?
    best regards,
    Freddy Ha

    This seems standard. Refer the note 124917.
    Extract of Note:
    When you create a purchase order with reference to a purchase requisition (PReq), the system does not execute any availability control if the order value is smaller or equal to the value of the purchase requisition.
    This is also the case if you set in Customizing different tolerance limits or actions for the activity groups purchase requisition and purchase order.
    This is not a program error. Since an availability control has already been executed when you create the purchase requisiton, during conversion into a purchase order the system executes only an availability control again if the value assigned increases as a result.
    Up to now, it is not planned to change this logic of the availability control in our standard system.
    Regards
    Sreenivas

  • How do I create Notifications automatically from Maintenance plans

    Hi folks
    I have a new requirement from a client.
    They would like some of their Maintenance plans to automatically create Notifications which can later be converted to maintenance orders.
    Please let me know what configuration chnages i need to carry out.
    Thanks, Felix

    HI
    goto SPRO>Plant Maintenance and Customer Service>Maintenance Plans, Work Centers, Task Lists and PRTs>Maintenance Plans>Set Maintenance Plan Categories-->
    new entries , enter PM notification slect call object as 2 notification and ref obj100 or copy existing from NC.
    tehn at the time of creating plan IP42, slect this and yu get option to enter the notification tyrpa nd other deatisl
    -ashok

  • Error While Creating Essbase Database From Hyperion Planning

    Hi,
    While creating the Essbase Database From the 'Manage Database' in Hyperion Planning, I am getting the following error:
    com.hyperion.planning.olap.EssbaseException: Account (1060000)
    It gets stuck at Adding Dimensions.
    I have tried reconfiguring Planning, but no luck.
    My Relation Repository is MS SQL Server 2005 and the Essbase and Shared Services are on a Linux box.
    I am getting the following error in the Planning log
    [12-Nov-2009 10:50:41]: Propegating external event[ FROM_ID: 68b6dbf1 Class: class com.hyperion.planning.sql.HspLock Object Type: -1 Primary Key: 50001 ]
    [12-Nov-2009 10:50:41]: Processing cube: Plan1
    [12-Nov-2009 10:50:41]: Setting System CFG properties for Attribute Dimensions
    [12-Nov-2009 10:50:41]: Adding dimension: Account
    [12-Nov-2009 10:50:41]: Closing outlines
    com.hyperion.planning.olap.EssbaseException: Account (1060000)
         at com.hyperion.planning.olap.HspEssbaseOutlineAPI.EssAddMemberEx(Native Method)
         at com.hyperion.planning.olap.HspCubeRefreshTask.addDimension(Unknown Source)
         at com.hyperion.planning.olap.HspCubeRefreshTask.addDimensionsAndMembers(Unknown Source)
         at com.hyperion.planning.olap.HspCubeRefreshTask.buildOutlines(Unknown Source)
         at com.hyperion.planning.olap.HspCubeRefreshTask.run(Unknown Source)
         at com.hyperion.planning.HspJSImpl.runCubeRefresh(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.runCubeRefresh(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
         at java.lang.Thread.run(Thread.java:595)
    Thanks for your help.
    Edited by: user524093 on Nov 12, 2009 4:38 PM

    Have you tried restarting the services and giving it a try?
    Which version of Essbase/Planning are you on?
    If your Essbase server name has more than 30 characters, please use NODENAME with short server name.

Maybe you are looking for