BAPI PROCESS ORDER Creation u2013 can the SCHEDULE Date/Time be specified?

I am currently using BAPI_PROCORD_CREATE to create a Process Order from an inbound IDOC.  This works well, when I pass the following fields:
BAPI Parameter ORDERDATA
ORDER_NUMBER      Process Order number (EXTERNAL)
MATERIAL      Material to be produced
PLANT              Plant
ORDER_TYPE      Order Type
BASIC_START_DATE Start Date
BASIC_START_TIME Start Time
BASIC_END_DATE   Basic End Date
BASIC_END_TIME   Basic End Time
QUANTITY         Process Order Quantity
QUANTITY_UOM     Quantity Unit of Measure
However, I have a requirement to also specify the SCHEDULED Start Date (GSTRS) and End Dates (GLTRS), but the BAPI parameters do not the SCHEDULE Dates to be specified.
I have also used the functions CLOI_CHANGES_UPL_31 and CLOI_CHANGES_UPL_45 to create Process Orders successfully, but neither of these allow for the SCHEDULE dates to be passed in.  
Does anyone know how I might be able to achieve such a result?
I am trying to avoid the use of CALL TRANSACTION on COR1, so would be grateful if anyone has any thoughts.   
In the mean time, Iu2019ll ask the business if it would be possible to apply any rules by whereby if we specified a BASIC_START_DATE, whether it would be able to derive the correct schedule date accordingly.
PPu2019s not one of my better modules, so apologies if whatu2019s been asked above is a stupid question!
Alistair

HI...
Pls chk in scheduling control for detailed scheduling in T code OPUZ. and change the scheduling type forwards to forwards in time and backwards to backwards in time.
Now when ever you would create the order system would ask the scheduling dates either start or finish in stead of Basic dates.
Instead of using BAPI you could make a simple LSMW pogram. It would talk 5 min.
This is a standard SAP functionality to select Basic dates because SAP consider all master data for scheduling like Schedule margin key.
I think It would help you.
Regards
Vivek

Similar Messages

  • External Number gneration for process order creation

    Hi,
       I need to generate external number range for process order creation and at the time of goods receipt.
       How can I do this in the include ZXVBZU02.
    Regards
    SAi

    You might want to try search first:
    http://www.google.com/search?hl=en&source=hp&q=externalnumberrangeforprocessordersite%3Asap.com

  • Basic and scheduling  dates & time calculation in process order creation

    Hi guru's,
    i have one requirement, i need to calculate and display the basic and scheduled dates & times based on the given input i.e material , plant , process order type , quantity , UOM and scheduling type ( for corresponding scheduling type user will provide either start date or finish date ) using RFC. can  u plz provide any function module for this purpose or logic for calculating the same  , as i am working on version 4.7ee .
    Awaiting for a quick response.
    Regards,
    Madan

    Dear Rohan,
    1.Check the length of break timings defined in the resource that is assigned in the phase.
    2.Check in OPUZ whether for the process order type and plant combination whether scheduling is to include the break time also
    (whether the check box for scheduling with breaks) is included.
    Check and revert back.
    Regards
    Mangalraj.S

  • REGARDING PROCESS ORDER CREATION

    Hi All,
    While creating the process order for material, system showing the message that "Manual process order cannot be created for this product". But if we try with another user id, i could able to create the order for the same material.
    Plz suggest the solution to get rid of this error.
    Thanks
    Arvind S

    Hi,
    The message "Manual process order cannot be created for this product" clearly indicates that the user is not authorized for Manual process order creation by COR1 transaction for this material and may be this material is planned through MRP or SOP etc. and in critical or certain situations manual process order creation is allowed to another user/user id for the same material ( type of materials/material code).
    Some time organizations put such restrictions through enhancements. You can search the exact reason or logic of restriction by the help of ABAP consultant.
    Regads,
    Narresh

  • Userexit in BAPI sales order creation

    HI all,
      My requirement is one SERIALNUMBER field add BAPI salesorder creation.
    That field not existed in satndard BAPI structures.BAPI input XML file.
    Salesorder>extras(menu)>Technical object->serialmumber[RIPW0SERNR).
    please give any enhancement serial number  BAPI sales order creation.
    Thanks.
    Edited by: sreddy GPs on Sep 23, 2008 5:59 AM

    Hello,
             Whatever the Structure that you are refering to in the BAPI for Sales Order Creation, use an Append Structure to add the SERIALNUMBER field to the existing Standard BAPI Structure.
    For your information, the following are the BAPIs that can be used for Sales Order Creation.
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    BAPI_SALESORDER_CREATEFROMDATA
    BAPI_SALESORDER_CREATEBOS
    Hope it would serve your purpose.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Batch Determination in Process Order Creation - COR1

    Hi All
    I have a requirement wherein i have to map the standard sap methodology of batch determination that happens in a process order. Currently, in the tcode COR1, whenever a user selects a component material and triggers batch determination, sap determines a list of eligible batches based on the search strategy & condition records
    defined in the config.
    What i want to know is that whether this list of batches can be generated in a custom program, using some standard FM, BAPI etc? or if i have to manually implement the logic, how to go about incorporating the search strategy & condition records in the logic.
    Any pointers will be appreciated.
    Regards
    Ravish Garg

    HI Madhuri
    It is not directly possible to use this FM to to evaluate all new batches and compare the Batch results with the batch search strategy.
    To be able to use this FM properly, its necessary to pass the correct structures to its importing parameters, which can be determined using 2-3 FM's before this and fetching data from the standard tables.
    Cheers
    Ravish

  • Process Order is not picking the follow-up material

    Hi Gurus,
    We have changed a BOM by discontinuing a component and giving a follow-up material with the valid from dates as 18/5/09.  and then MRP is run on that nignt  ( mrp job set to run daily in the back ground). and on 19/05/09 a Process Order is created from the planned orders genereated by the MRP run.
    now, we found that the new componenet (follow-up) is not copied into the process order, but the old compomemt (discontinued) is removed. 
    MRP parameters are correctly defined (Planning mode is set to 2) .  Please let me know if we are missing anything.
    Thanks,
    N

    Hi
    Pl ensure that the Following requirements have been met before you can use the discontinuation functionality:
    1) Both materials must be planned using MRP.
    2) The base unit of measure of the follow-up material must be the same as the base unit of measure of the discontinued material.
    3) You must enter discontinuation data for the discontinued item and follow-up data for the follow-up item.
    and Also refer the SAP link for Complete Details
    http://help.sap.com/saphelp_45b/helpdata/en/b1/c044d1439a11d189410000e829fbbd/content.htm
    Regards
    Brahmaji

  • Problem in process order creation.

    Dear Sir/ Madam
                             i am facing a problem while process order creation.
    the problem is:
    Error when calculating cost for order ATFEDEC11  "see log Log is deleted when saving
    Do you still want to save?"

    Hi,
    The log for production order preliminiary costing is not saved. Therefore, once the order is saved, there is no log available anymore (this is by the way a question of PP; none of the logs is saved).
    Hope that helps...
    Regards,
    Declan

  • Process order creation with out BOM

    Hi
    I have an requirement...
    material A is finished good
    i create process order for material A
    but i dont use BOM... with out BOM can i create process order .
    after creating process order cani isuue components against  order ? is it possible please can any one help me in this issue
    but one condition : i craet process order material A 10 KG
    for this FG i used components  materia A used 8 kg  and material B used 2 kg
    is it possibel pls..could any one gude me in this issue
    Regards
    Sesi

    material A is finished good
    i create process order for material A
    but i dont use BOM... with out BOM can i create process order .
    yes, You can create a orderwith out BOM
    after creating process order cani isuue components against  order ? is it possible please can any one help me in this issue
    Yes, You can assign component  manually in component overview screen  or you can issue material directly for order with 261 movement, It will go to unplanned consumption
    but one condition : i craet process order material A 10 KG*
    for this FG i used components  materia A used 8 kg  and material B used 2 kg
    In The component overview screen of process order  assign the Material A with 8 kg ,
    & material B as 2 KG
    Regards,
    Sundaresan
    Edited by: Sundaresan . E. V on Oct 4, 2010 2:41 PM

  • TCODE for Process order creation against Sales order

    Hi gurus,
    Pls tell me what is the TCODE for Process order creation against Sales order
    Eg. CO07 is for production order from sales orde

    Typically, in MTO scenario after the sales order is created you run MRP which will create planned order and then you convert that into production order using MD04.
    Or if you have SD settings correctly directly from the release of Sales Order it will create planned order or production order.
    please check and revert back.

  • If the reporting is scheduled, can the schedule be managed via Autosys

    If the reporting is scheduled, can the schedule be managed via Autosys?  Please describe.

    Yes,
    For ex: You have Information Broadcasting scheduled via process chain. Now you can have process chain trigger set by AutoSys. Using Autosys you can schedule SAP jobs across applications and platforms.

  • Could I update the schedule date by the add-in software OpenPS?

    I create the R/3 PS WBS using the add-in software OpenPS from MS Project at the beginning. But according to  our company working business , I can't update the WBS schedule date by  updating the activity schedule date under the WBS, i can only update the WBS schedule. (so I have done some set-up and set the duration of every activity is zero).  I hope I can update the schedule date by the add-in software OpenPS from MS Project during the R/3 system is online running(NOT the beginning). 
    We know the adjustment of schedule in MS Project is very easy and convinent.  So if I adjust the schedule  in MS Project, and I update the schedule in R/3 PS by the add-in software, then everything will be good.
    But  maybe this operation will have a bad effect on the running R/3 system.
    Please give me some advice and practice experience.

    Hi Sanjay,
    You really MUST try things BEFORE saying that they are wrong.
    The CDHDR table DOES store the creation date AND time because the system treats the creation as a Change.
    If you simply enter ME51N as the transaction code in SE16N for table CDHDR you will see that it is YOU that is wrong.
    Please do try to verify your comments before challenging Seema in this way, who has provided a good and workable solution.
    Steve B

  • Converting Delivery Creation Date/Time into the Local Date/Time

    Hi
    I have two fields like 'Delivery Creation Date' and 'Delivery Creation Time' in ECC system . My user wants the Delivery Creation Date / Delivery Creation Time in Local time of Plants .
    For example :
    Delivery    Plant       DelivCreationDate       DelivCreationTime   DelivCreationDate(Local)   DelivCreationTime(Local)
    312456          1650               11/2/2007                     4:30                          11/2/2007                          3:30
    Here the Plant 1650 is in Mexico . The above delivery is created in Canada in ECC system according to the candain time .
    But user wants to convert the Candain Delivery Creation Date and Time into the Local Date/Time of specific plant .
    So we need to convert the  Candain Delivery Creation Date and Time into Mexico timings .
    How can it is possible this one and user wants to automate this process .
    Please let me know
    Mubeen

    DATA :
    timestamp like TZONREF-TSTAMPS,
    time like sy-uzeit,
    date like sy-datum.
    The following function module is used to convert the
    time and date into GMT timestamp
    CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
    EXPORTING
    i_datlo = <source_fields>-delivery_date
    i_timlo = <source_fields>-delivery_time
    I_TZONE = CAD'
    IMPORTING
    E_TIMESTAMP = timestamp.
    The following function module is used to convert the
    above obtained timestamp to MEX  timezone date and time.
    CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
    EXPORTING
    i_timestamp = timestamp
    I_TZONE = MEX
    IMPORTING
    E_DATLO = date
    E_TIMLO = time.
    CAD and MEX are variables i have used...
    the challenge is to find the canadian and mexican time zone....CAD and MEX.
    which you can get by performing a lookup in table T001W and passing country as parameter.

  • How can I make the current date/time be sent when emailing as XML?

    I'm creating a form for a customer to use for submitting print jobs. This customer will be emailing the XML form data, which will in turn be converted into a production order. I'd like to make the PDF form capture my customer's system time, so that I know when they filled out the form. I COULD just leave that up up the customer and use required current date and time fields, but that provides the ability for the customer to falsify that information.
    Is there any good way to capture the current date/time in the XML data, so that the customer doesn't need to nor has the ability to?
    Any suggestions would be great!

    You can use the following methods getHours(),getMinutes(), and getSeconds() from the date object to obtain the values for hour,minute,and second.
    Click here to see an example:
    http://66.34.186.88/LiveCycleSamples/.3bbc2f4b.pdf

  • Exit for production order creation that update BOM explosion date

    Hi Guros
    does any one know a user exit for production order creation that update BOM explosion date = AUFLD.
    or a UE that run before the BOM explosion.
    thanks.

    Dear,
    I dont think user exist will work for you,
    You need to find BAdi for it, cl_exithandler=>get_class_name_by_interface .
    Or try with SE84,
    Enter the package name and check the " Enhancements"
    Regards,
    R.Brahmankar

Maybe you are looking for