BAPI_PROCORD_CHANGE need to change GLTRS (scheduled finish date)

Hello -
I am writing a program where I need to change the scheduled finish date (field GLTRS) in a process order (transaction COR2).  I would like to use the bapi BAPI_PROCORD_CHANGE but it does not contain that field in the input structure. 
Does anyone have any ideas how I can change that field without writing a BDC?  I am also curious to know why it was excluded from the bapi in the first place.
Thanks!

Hi Ferry,
Thank you for your quick reply!
That is very close to what I need, but it only updates GSTRS (scheduled start) and I need to update GLTRS (scheduled finish). 
Can you think of any other suggestions?  I have also looked at BAPI_ALM_ORDER_MAINTAIN, but it doesn't have GSTRS as an input either, and doesn't seem to work for the order type I need.
Thanks again,
Susanna

Similar Messages

  • GLTRS - Scheduled Finish Date and 2LIS_04_P_MATNR extractor

    Hi Experts,
    Its a strange situation. I have one process order which is showing GLTRS as 3/3/2009 in AFKO but when I extract this order (after filling up setup table for full load) using 2LIS_04_P_MATNR the record doesnt bring the same date; instead in the field "Scheduled Finish Date" it displays date 2/25/2009.
    when I see in Tx COR3 date 2/25/2009 is schedule start date.
    Can anyone help me on this?
    thanks,
    Purvang

    Same problem here except for field GLTRP.  I realize this is old post, but were you able to find solution?

  • Trying to update Project scheduled finish date - newbie help needed!

    Guys, I am super new to Oracle Projects, I have never used it before.  I've just learned a few things in the UI and read through the docs documenting the stored procs.  My question is simple (hopefully)   In the UI I choose a responsibility, then under "Projects : Delivery" I choose "Search Projects", I enter the Project ID in the field and click Go, I am able to see all the project details and the Tasks.  No problem there!  What I would like to do through the Update_Project API is to change the "Scheduled Finish Date" of the Project.
    I have the following information that I have managed to scrape up:
    Project_id, Responsibility_id, User_id, Resp_Appl_Id
    I retrieved the project id using:
             Select project_id,name from pa_projects_all
              where name = 'My Project';
    So first I call set_global_info with the appropriate parameters, then this:
        -- SET GLOBAL VALUES
         pa_interface_utils_pub.set_global_info(
         p_api_version_number => 1.0,
         p_responsibility_id => fnd_profile.value('57203'),
         p_user_id => fnd_profile.value('1013415'),
         p_msg_count => l_msg_count,
         p_msg_data => l_msg_data,
         p_return_status => l_return_status);
         l_project_in.pa_project_id := 4608;
         l_project_in.scheduled_finish_date := to_date('2008-02-27', 'YYYY-MM-DD');
      --UPDATE_PROJECT
              pa_project_pub.UPDATE_project(
                        l_api_version_number,
                        p_commit => l_commit,
                        p_init_msg_list => l_init_msg_list,
                        p_msg_count => l_msg_count,
                        p_msg_data => l_msg_data,
                        p_return_status => l_return_status,
                        p_workflow_started => l_workflow_started,
                        p_pm_product_code => null,
                        p_project_in => l_project_in,
                        p_project_out => l_project_out,
                        p_key_members => l_key_members,
                        p_class_categories => l_class_categories,
                        p_tasks_in => l_tasks_in,
                        p_tasks_out => l_tasks_out);
    What I am getting is the message "error :Project ID is invalid" and the status is "E"
    I'm not sure why it is invalid as it is the exact Project ID from the projects table.  The only thing I can think of is that the p_pm_product_code is set to null but I am not sure where this value comes from and why it even matters.  I checked the documents and it says it refers to some external system.  Why does the external system code matter if I am changing data within Oracle Projects?

    Hello,
    Looks like you are not setting the Initialization values correctly. Oracle Project APIs are Org specific and require proper initialization before being called for them to work.
    Few things i noticed from the code is :
    1.  The following is being used to set the User ID and Responsibility ID  :
         p_responsibility_id => fnd_profile.value('57203'),
         p_user_id => fnd_profile.value('1013415'),
    I think the call should be like this. This should be used only if you are going to call the API through a concurrent program from the submit request window (Oracle Apps environment). fnd_profile.value will get the responsibility id and the used id of the user running the program and assign it to the variables.
         p_responsibility_id => fnd_profile.value('RESP_ID'),
         p_user_id => fnd_profile.value('USER_ID'),
    Or If you are directly passing the IDs hardcoded then, This can be used if you are running the script from a Non-Oracle Applications environment, for example from SQL*Plus.
         p_responsibility_id => 57203
         p_user_id => 1013415
    2. I notice that you are not passing P_OPERATING_UNIT_ID parameter in the call to pa_interface_utils_pub.set_global_info. This is fine if you are not using MOAC  and you have set MO: Operating Unit profile for the responsibility being passed.  If you are using MOAC or are not sure, then it is always a good practice to explicitly  pass the P_OPERATING_UNIT_ID parameter in the call to pa_interface_utils_pub.set_global_info.
    Note :  DO NOT use fnd_profile.value('ORG_ID') to set the P_OPERATING_UNIT_ID parameter. In a MOAC environment this may not work.
    3. Always ensure you check the return status of the pa_interface_utils_pub.set_global_info for success before calling the Project APIs. This will save you a lot of frustration when testing.
    4. You might find the following note useful
    Project API Overview and Reference (Doc ID 1424156.1)
    Regards,
    Raghavan Gopalakrishnan

  • Change of Basic Finish Date for a Maintenance Order

    Hi Experts,
    I have a requirement where I need to change the Basic Finish Date of an order. Currently in config for order type and plant combination, scheduling parameters are set as:
    Adjust to Basic Finish Dates
    Automatic Scheduling.
    If in an order, I remove the tick for Automatic Scheduling, I am able to change that but I am not supposed to do that.
    Can you suggest me how thisissue can be resolved. Remember, changing the Config is not an option.
    Regards...

    hi
    Since you have done the adjust basic dates ,kindly change the operation dates ,which will automatically change the dates specified in the operation dates
    regards
    thyagarajan

  • How to change the schedule line date in SO with reference to value contract

    Hi SD Guru's,
    I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy control because there is no schedule lines in value contract and copy control for schedule lines does no exist.
    I can not add to user exit MV45AFZZ  , because order that was created with reference to the value contract, does not go through this user exit.
    Do you have some ideas where i can add it?
    Thanks and Regards
    Viky
    Edited by: Viky Sloutsky on Oct 20, 2010 12:43 PM

    Hello Viky
    How about using program MV45AFZB- USEREXIT_CHECK_VBEP or USEREXIT_MOVE_FIELD_TO_VBEPKOM
    or program FV45EFZ1- USEREXIT_CHANGE_SALES_ORDER
    Does the program go through these exits when an order is created with ref to a value contract??
    Also I am wondering why you need to change a Schedule line determined by Availability check and/or delivery scheduling?

  • Process Order Basic Finish Date and Scheduled Finish Date

    Folks,
    I have a requirement from the business to be able to update the Process Order Basic Finish Date and Scheduled Finish Date independently from each other.
    In other words, update the Basic Finish Date and the Scheduled Finish Date cannot change or update the Scheduled Finish Date and the Basic Finish Date cannot change.
    I believe the reason for this is to be able to use the Basic Date to maintain the ATP accurately and keep the Scheduled Date to mark when the order was originally due from the shop floor to be able to measure if orders are being completed on time or late.
    I have worked in tnx OPUZ and had some success with other issues with these dates but I can't seem to make them work independently from each other.
    Or does anyone have any ideas how to measure proces order performance to the production schedule?
    Thank you for your help,
    Greg

    Rajesha, thank you for your reply but it doesn't solve my problem.
    Let me restate my scenario:
    I start a process order and both the basic and scheduled finish dates are the same, June 1.
    At some point, shop floor tells me they will be late and cannot deliver until June 15.
    I need to update a date in the system so the ATP and the MRP planning runs have correct information for promising customers, I will update the Basic Finish date with June 15.
    I also need to keep the original June 1 date in order to measure the shop floor performance to the production schedule to measure how early or late the  order was delivered. How can I keep the original finish date or how can I measure if a process order is early or late??
    Thank you for your help,
    Greg

  • Scheduled finish date for process orders not updating in BW

    We are having problems with the scheduled finish date (GLTRS) for process orders. When the process order is already released, changes done in R/3 on the scheduled finish date will not result to a delta hence data in BW is not updated. Table AFKO, where data is coming from, is always updated with the changes though. 2LIS_04_P_MATNR is used in extracting the data.
    Has anyone experienced the same problem? We are looking for possible ways on how to have a delta whenever there are changes on the process order even after it is already released.
    Any help would be greatly appreciated...

    Hi Donna,
    If I've understood your problem correctly, you can increase the load frequency as Sriee has pointed out.
    If you want latest data frequently and if you are on BI 7.0 then you can look at Real Time Data Acquisition(RDA)
    Regards,
    Tom.

  • Production Orders - Scheduled Finished Date Basic Finish Date

    In production orders, it is being noticed scheduled finished date lies further than basic finish date, what could be the
    reason? what configuration should we need to do in order to make scheduled finish date matches (or) lies before basic finish date

    Eshwer,
    Basic dates of production orders can be made to match scheduled date.
    Config is at OPU3.  Under the "adjust scheduling" section, select either 1 or 'blank'.
    Best Regards,
    DB49

  • Process Order Schedule Finish date before Schedule Start date

    On rare occasions, the process order Schedule Finish date is before the Schedule Start date.  This causes an error on the APO system when the process order is CIF to APO.  Does anyone have any ideas how this occur?
    Thanks.
    Best regards,
    Sandy

    Rajesha, thank you for your reply but it doesn't solve my problem.
    Let me restate my scenario:
    I start a process order and both the basic and scheduled finish dates are the same, June 1.
    At some point, shop floor tells me they will be late and cannot deliver until June 15.
    I need to update a date in the system so the ATP and the MRP planning runs have correct information for promising customers, I will update the Basic Finish date with June 15.
    I also need to keep the original June 1 date in order to measure the shop floor performance to the production schedule to measure how early or late the  order was delivered. How can I keep the original finish date or how can I measure if a process order is early or late??
    Thank you for your help,
    Greg

  • Early schedule start date, early schedule finish date

    I want early schedule start date, early schedule finish date and project cost plan in my report. This is a PS requirement. In the standard cube (0PS_C02) I can find actual start date and actual finish date. Has anybody used early schedule start date and early schedule finish date in the reports? If yes then did you get it using standard cube/ODS or you went for enhancement?

    HI,
    He have to go for few tables in which u can find all the data.
    Firstly u have to enhance the datasource .
    First go to table AFKO here you insert  AFUNR (Order Number) this table you will get AUFPL .
    Then take AUFLP and go to AFVV table and insert AFUPL . you will get all the activites and all dates of each activity  for example early start date ,early finish date, foirecost date etc.
    Thanks and Regards
    Dinesh

  • Basic start date and scheduled finished date...can we have Planned date?

    Is there any "Plan Start Date" in SAP, the date where scheduler must put manually in the system to determine the "committed" date for the work to be executed - based on earliest and latest start date which automatically calculated by SAP?
    Our plant must keep the Basic Finish Date unchanged since it is the Required Date of the Work to finish.  We found that the Plan Date does not change and I was wondering if there is any way we can have the Planned date on the order header or have the basic finish date unchanged?
    Appreciate your advices

    Hi
       As per your query screen variant is the better option to be choose so that here you can go with user id based restriction
    Attaching the complete the scenario
    Transaction and Screen variants with an Example
    http://scn.sap.com/docs/DOC-39667
    Try these document & try to configure if you have any further please revert back.
    Thanks & Regards
    Sandeep Kumar Praharaj

  • PM Orders Basic & schedule finish date

    Hi Experts,
    I want the basic start & finished date similar to schedule start & finishe date  in any condition.For e.g. if i change the basic start & finished date the schedule start & finished date should become similar to basic start & finish date and vise versa.May I know how to do the customization setting.
    AR

    AR,
    This can be done through transaction OPU7.
    For the plant and order type combination, set the Adjust dates field to either"Adjust dates, Adjust dependent requirements to operation start" or "Adjust dates, Adjust dependent requirements to Order start".
    Regards
    Narasimhan

  • Change of scedule finish date

    Hi Gurus,
    I have items of two operations on a routing with different work centers and control keys. Now, my production order is calculating the finish date as per the sceduling as of operation one.I need the production orders to work out the finish dates of an order by the operation two.
    Please help me how i can handle this...?
    Thanks for your understanding.
    Naveen.A

    Naveen,
    In Scheduling parameters(OPU3) for the Plant & Order type combination define 'Adjust Basic dates to Scheduled Dates". Once this setting is there after the order is scheduled you would get have a same date for Scheduled Order finish and Basic Finish dates and this would be again based on the last operation completion dates.
    Regards,
    Prasobh

  • Schedule finish date

    Dear Gurus,
    In my current system, I am using activity elements with in the activity to plan my resources.
    The activity elements take the start and finsih date (earliest) from the parent activity.
    Now, during partial confirmation of the activity, I enter the forecast duration to get the next realistic finish date of the actvity. Now when i reschedule my project, the activity element's finish dates are exceeding the parent activity's finish date by one day. The noteable difference i can see before and after the confirmation and schedule update is that, the execution finish time before confirmation was 24:00:00 and after confirmation, its 00:00:00 of the next day of the activity finish date.
    For example
    Activity finish date is 03.08.2009 with execution time 24:00:00
    Activity element finish date is 04.08.2009 with execution time 00:00:00.
    Regards,
    VDS

    Hi Rupesh,
    I don't think there is any difference...  03.08.2009 - 24:00:00 is Midnight of 03 and 04 whereas 04.08.2009, 00:00:00 is same as that of the earlier one (i.e... midnight of 03 & 04) ... Where is the difference of one day ... if it is 04.08.2009 - 24:00 then what you have said is correct..
    Regards,
    Bala

  • Change notification Planned finish date in IQS3

    Hi!  Im not sure if this is under MM.  In changing Planned Finish dates in IQs3, I would like to ask why the system is not allowing us to change the date in the Detail Level.  But it is allowing us to change in the Item Level.  Please explain the reason for this.. Thanks so much!

    the dates in prod order comes from current scenarion (capcity) availble at system (Work center)
    planned order, dont consider capacity at all.
    and if you convert a planned order which has prodcution date as today and there is enough capacity, i dont think after conversion it will change dates.
    Pravin

Maybe you are looking for

  • Faulty Line - No Phone service for over 4 weeks.

    Hi, I've had NO phone or broadband for over 4 weeks and no useful information as to when this will be fixed. I'm hoping someone could provide me with and alternative contact number to the 0800 800 151/0330 123 4151 one, where I can speak to someone w

  • Buy iCloud Storage for Another?

    I would like to buy extra iCloud storage for another person who doesn't have a credit card attached to their iCloud account. How can I do this?

  • Excel 2013 isssue

    I am putting some HTML content in Session through ob_content () and Jquery.post and then i am writing this content to a xls file. The below is the code :  $myFile = $FileName.".xls"; $Path=$myFile; $fh = fopen($Path, 'w') or die("can't open file"); $

  • JavaPlugin2_NPAPI alias file in home folder ?? What for

    Does anyone know why this file is in the home folder. It is a black arrow alias file. I right click to show original and nothing happens. I think the original file is  gone, do you think I can safley delete the file. thanks

  • CRMXIF_ORDER_SAVE_M01-IDoc Sample data for sales order in CRM.

    Hi Friends , I am usig the IDoc CRMXIF_ORDER_SAVE_M01,I could able to save the Order in CRM,but the values of partners, Sales area,PO Category,Customer Po details and the material detail are not available in the created Sales order,though I am pasing