Issue with update_task API for updating Scheduled Dates for Task..
Hi All,
We have a requirement to update the project and task dates to a specified period from the current dates. I dont want to update all the tasks, and hence using the update_task API. The scheduled_finish_Date is the column from "pa_proj_elem_ver_schedule" which we want to update. As, this is the date which is shown on the Workplan tab for the tasks for (Scheduled Start and Scheduled Finish Date). I want to extend this scheduled_finish_Date to some days , say for eg. 60 days.
To achieve, that update_task api is being used and the parameter for the scheduled_date is : p_scheduled_finish_date, this is passed as call to pa_project_pub.update_task API.
We are also updating the completion data, which is happening fine and is updating the pa_tasks : completion_date column.
Problem is with scheduled date, Please let me know how to go about this issue.
Here is the sample code for calling the API :
pa_project_pub.update_task
(p_api_version_number => l_api_version_number_i,
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 => lt_return_status,
p_pm_product_code => l_pm_product_code,
--p_structure_updates_flag => g_no,
p_pm_project_reference => l_proj_reference,
p_pa_project_id => p_project_id_i,
p_pm_task_reference => p_pm_task_reference_i,
p_pa_task_id => p_task_id_i,
p_task_name => p_task_name_i,
p_task_number => p_task_number_i,
p_pa_parent_task_id => p_parent_task_id_i,
p_task_completion_date => p_tsk_actual_finish_date_i,
--Transaction Date (shown on the screen)
p_scheduled_finish_date => p_tsk_sched_end_date_i,
-- Scheduled Date (shown on the screen)
p_out_pa_task_id => l_pt_task_id,
p_out_pm_task_reference => l_pt_task_ref
I am really not sure if I am missing anything here, please suggest as to how to update the Schedule Start and Finish Dates using the API.
Waiting in anticipation!
Thank you
Anand.
Hello,
Make sure the wf is active in QA (re-activate if possible), check the transport for errors, check authorizations for WF-BATCH perhaps delete and recreate via SWU3?), refresh the buffers (SWU_OBUF).
Please let me know if any of this helps.
regards
Rick Bakker
Hanabi Technology
Similar Messages
-
Updating Scheduling data for Purchase Order
Hi,
I need a function module which can update the scheduling data for purchase order in EKET table. Normally we create Purchase Order as a reference from purchase requisition through BAPI_PO_CREATE1. That time it takes care of all the scenarios. But as per the requirement I want to create a PO which is created from more than one Purchase Requistions so I can't use the said BAPI. But still I am using this BAPI and after creation is completed I am updating the Requistions. The same scenario is taken care in ME59N, but I can't copy that code because of some requirements. So could any one please give me the idea to replicate the same functionality with any function module or other ways.
Thanks
Somnath paultry to pass all u sheduling related fields to POSCHEDULE and make sure u have enabled POSCHEDULEX along with sheduling related fields .....also (if no changes are there leave it with space )...
this will definetly update not only eket table ....it will update every table regarding to purchase order,ekpo,ekko,eket ...etc
Example of population of BAPI interface in the Function
Parameter: POHEADER
COMP_CODE = 1000
DOC_TYPE = NB
ITEM_INTVL = 00001
VENDOR = 0000001000
PMNTTRMS = 0001
PURCH_ORG = 1000
PUR_GROUP = 001
CURRENCY = EUR
Parameter: POHEADERX
COMP_CODE = X
DOC_TYPE = X
ITEM_INTVL = X
VENDOR = X
PMNTTRMS = X
PURCH_ORG = X
PUR_GROUP = X
Parameter: POITEM
PO_ITEM = 00001
MATERIAL = 100-100
PLANT = 1000
STGE_LOC = 0001
QUANTITY = 15.000
TAX_CODE = V0
ITEM_CAT = 0
ACCTASSCAT = K
Parameter: POITEMX
PO_ITEM = 00001
MATERIAL = X
PLANT = X
STGE_LOC = X
QUANTITY = X
TAX_CODE = X
ITEM_CAT = X
ACCTASSCAT = X
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
DELIVERY_DATE = 02.12.2002
QUANTITY = 6.000
PO_ITEM = 00001
SCHED_LINE = 0002
DELIVERY_DATE = 03.12.2002
QUANTITY = 5.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELIVERY_DATE = 04.12.2002
QUANTITY = 4.000
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
DELIVERY_DATE = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0002
Parameter: POACCOUNT
PO_ITEM = 00001
SERIAL_NO = 01
QUANTITY = 15.000
GL_ACCOUNT = 0000400000
COSTCENTER = 0000001000
CO_AREA = 1000
Parameter: POACCOUNTX
PO_ITEM = 00001
SERIAL_NO = 01
QUANTITY = X
GL_ACCOUNT = X
COSTCENTER = X
CO_AREA = X
Parameter: POCOND
ITM_NUMBER = 000001
COND_ST_NO = 001
COND_TYPE = PB00
COND_VALUE = 79.900000000
CURRENCY = EUR
CURRENCY_ISO = EUR
COND_UNIT = KG
COND_P_UNT = 1
CHANGE_ID = U
Parameter: POCONDX
ITM_NUMBER = 000001
COND_ST_NO = 000
ITM_NUMBERX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Parameter: POPARTNER
PARTNERDESC = OA
LANGU = EN
BUSPARTNO = 0000001100
PARTNERDESC = GS
LANGU = EN
BUSPARTNO = 0000001200
PARTNERDESC = PI
LANGU = EN
BUSPARTNO = 0000001000
reward points if helpful.... -
Issue with respect to Daily work schedule creation for employees in UK Shif
Hi Experts,
We are implementing neagtive time management for our client . there are a set of employees who work in UK shift.
Th shift timings are a bit odd.
Timings 11:30 to 18:00 is the time when employee has to work at his Office
and 21:00 to 22:00 he has to work from home
Please make a note the above given timings is for a single day.
Please guide me how to go a head.
Regards,
SmithaSmitha
Create break schedules as below first
01 UKBK 01 18:00 18:30 0,50
01 UKBK 02 18:30 22:00 2,50
then create daily work schedule as below
DWS grouping 01 Start End
Daily work schedule UKDW UK daily Work 01.01.1990 31.12.9999
Planned working hours DWS selection rule 01
Planned working time -
Planned working time 11:30 - 22:00
Normal working time -
Core time 1 -
Core time 2 -
Work break schedule UKBK
Hope it will solve your problem.
Surya -
Can I update or fix the hardware issue with my iPad instead of a usb for my 2007 MacBook Pro
Can I update or fix the hardware issue with my iPad instead of a usb for my 2007 MacBook Pro
Have no idea what you are asking about. What hardware issue? What does a USB and a 2007 MacBook Pro have to do with it?
GB -
How to execute ATP check and update schedule lines for existing sales order
Hello all,
After stock quantity has been updated, wed like to perform ATP check and update schedule lines for sales documents which have not been delivered yet.
Is BAPI_SALESDOCUMENT_CHANGE useful to do so?
If so which fields should I set X?
At the moment, I called BATCH INPUT and execute ATP check.
But I'm wondering if this is not a smart way.
Thank you
YukoHi arnab
one way of achieving your requirements is
after creating the sales order you can execute the SALEs order MRP using MD50 transaction enter the order # and MRP control parameters 1,3,1,2. and execute.
Ensure the following before MRP.
1. All the master data are maintained for the schedule line creation for the components ( Source list, Scheduling agreements)
2. Material master with valid MRP data.strategy group having MTO strategy.
after sales order MRP you will get the schedule line created for the components
also MRp will create the cpacity requirements as we run the MRP with Lead time scheduling.
Hope this helps
SK
Reward your points -
Update scheduling data in material master
Hi,
How to update scheduling data from Process order to master recipe in mass. As I can schedule recipe in C202 and update the sceduled data in material master by CA96 & CA97 transactions. But i wants to schedule master recipe in mass. Is there any way to mass update it ?
Regards
AmitHello
I have tested in my internal test systems and system correctly updated the material master using CA97, without aky kind of previous scheduling of the master recipe.
Can you please provide a more detailed description of the issue? What is happening if you try to run CA97 without running the scheduling of the mater recipe? How are you running CA97?
You may also try CA97N, which is a newer version of CA97.
BR
Caetano -
Missing Data Target in Infopackage for Update ODS Data in Data Target Cube
Hello & Best Wishes for the New Year to all of you,
I have 3 ODS (1 on Full Update and 2 with Delta Updates). All these 3 ODS update data to a single CUBE. In my development system this works correctly. Data load from PSA to ODS to Cube.
Now I transported this to my QA and Production System. In QA and Production System, I am able to load data upto all the 3 ODS and ACTIVATE Data in all these 3 ODS.
When I am trying for "Update ODS Data in Data Target" to load data from ODS to Cube in QA /PD, the system created Infopackage (ODS to CUBE), doesnot get the Data Target details. (Initial Upload / Full Upload). The Data Target Tab is Blank (expected Cube details).
I have tried to transport again after deleting the update rules.
Can you suggest what could be the problem ?
regards - Rajesh SarinThanks Dinesh,
I have the ODS to CUBE Update Rules ACTIVE in the QA and PD system. Still the problem exists only in QA and PD. In DV the ODS to CUBE Data Target is available in the Infopackage and loading the data correctly to Cube.
Listing all the trials I have done :
1) Originally transported with all the Collected Objects. Inspite of having Active Update Rules, Data Target Cube was missing in QA and PD.
2) After this problem, I again transported only the Update Rules through the Transport Connection, still the problem didnot get solved in QA and PD.
3) Again, I sent a transport to delete the Update Rules which deleted the ODS to CUBE update rules in (DV), QA, PD. After that I sent another request to CREATE the ODS To CUBE UPDATE Rules in (DV), QA and PD. Still the Data Target is missing, inspite of having Active Update Rules in QA and PD.
In DV the ODS to CUBE Data Target is available and loading the data correctly to Cube, even now.
4) I have also tried "Generate Export Data Source" for the 3 ODS in QA and PD. Still it doesnot help.
Can you please suggest ?
regards - Rajesh Sarin -
Any issues with latest 2014 ios update & Straight Talk
Hi, I've been with straight talk for about 2 weeks without any problem - switching --porting--pics.....all went well . Now my phone ( iPhone 3c) shows iOS update waiting..
Due to all I have read here & there,I'm a bit uneasy to do the update. Has anyone had any issues with lates t2014 ios update using ST? Will it affect the working of the phone if I don't do update? Thanks for any input.Hi, Glad that worked for you. I don't know why this is happening other than to offer an opinion. This hardware acceleration was causing an issue with the previous version of FP also. I think that this technology is ready but the websites are not, youtube included.
The same thing happened with Flash Player for the mobile phones, Android in particular. Adobe was ready but had to wait on Google to catch up. So the users thot Adobe was at fault, but that wasn't the case. Google had to update and that was done with their 2.2 update. This is not an opinion however. I followed this because users were coming here asking why Flash Player wasn't available for their Android:-)
Adobe/Microsoft/Mac/Linux are all involved and if one advances a particular technology that effects the others, then each one must make a change for that technology to work. At least that's how I see it.
Thanks for marking your thread as answered
Regards,
eidnolb -
Compatibilityy issue with windows XP and windows 8.1 for adobe photoshop elements 4.0
Compatibility issue with windows XP and windows 8.1 for adobe photoshop elements 4.0?comcom
You are going to have to contact Adobe on this one. We are other users.
Sounds like it's not even an Apple question? Not sure.
But the Adobe program changed, nothing changed in iTunes, right? -
FM for Updating Installation date in Contracts + sales orders Item level
Hi
Plesae give any FM for Updating Installation date in Contracts + sales orders Item level for contracts tab.
Thanks and Regards,
Vishnuvardhan....Have used the billing transaction to set a Default Billing date at time of blling.
-
I have been having issues with not receiving texts and voicemails daily, for a few months now. If I turn the phone completely off, when I turn it back on the messages will flood in from hours before. I can't be continually turning off my phone in case someone left me a message. How do I resolve this issue?
Wifi: my Cell phone will remember 10 wifi connections. So delete any you don't use often and your home wifi and try to enter home wifi again.
if it still won't connect to home wifi, call your internet provider for help. You may need a newer router or different settings Or upgraded service. Your phone seeks the best connection and will refuse lesser connections.
last resort. Backup the phone. Do a full reset, then restore as new with the backup.
if still not fixed, go back to apple and insist on repair or replacement.
HOWEVER. voicemail is not a wifi issue, it's a carrier function, which is why the SIM card is a suspect. -
Sql queries for retrieving setups data for functional modules
Hi,
Can anyone give me the sql queries for retrieving setups data for functional modules (GL, AP, AR, FA, and CM) from Database.Hi,
Can anyone give me the sql queries for retrieving setups data for functional modules (GL, AP, AR, FA, and CM) from Database. -
Hello everyone,
I am working on a jsp/servlet project now, and got questions about which is the better way to deal with concurrent writing issues.
The whole senario is described as following:
First each user is viewing his own list of several records, and each record has a hyperlink through which user can modify it. After user clicks that link, there will be a popup window pre-populated with the values of that record, then user can do the modifications. After he is done, he can either click "Save " to save the change or "Cancel" to cancel it.
Method1---This is the method I am using right now.
I did not do any special synchronization measures, so if user 1 and user2 click the link of same record, they will modify the record
at the same time, then whose updates will take effect depends on who submits the request later. If user1 submitted first, then user 2, user1
will not see his updates. I know with this method, we will have the problem of "Lost Updates", but this is the simplest and efficient way to handle this issue.
Method2--This is the method I am hesitating.
I am considering to use "Select....for update nowait " to lock a record when user1 has selected one record and intended to modify it. If user2 wanted to modify the same record, he is not allowed. ( by catching the sql exception.)But the issue I am concerned about is because the "select .. For update" action and "Update action" are not so consecutive as many transaction examples described. There could be a
big interval between " select " and "update" actions. You could not predict user's behavior, maybe after he open the popup window, it took him a while to make up his decision, or even worse, he was interrupted by other things and went away for the whole morning?.Then the lock is just held until he releases it.
And another issue is if he clicks "cancel" to cancel his work, if I use method1, I don't need to interact with server-side at all, but if user method2, I still need to interact with the server to release the lock.
Can someone give me some advice ? What do you do to deal with similar situation? If I did not make clear of the question, please let me know.
Thanks in advance !
RachelHi Rachel,
Congratulation, you have found a way to overcome your programming business logic.
Have you ever consider that the solution of using CachedRowset concept yet to be included in j2se 1.5 tiger next year too prove workable under the scenario , whereby you can disconnect from the database after you have execute your query and reconnect again if you have to do transactional activity later, so that the loading overhead as well as the data pooling activity could be well balanced off.
Although rowset is still not an official API now, but its potential to me is worth consideration.
I have written a simple but crude cut JSP programme posted on this forum under the heading "Interesting CachedRowset JSP code to share " to demonstrate the concept of CachedRowset and hoping that the Java guru or the developer could provide feedback on how to imporve on the programming logic or methodology.
Thanks!! -
Sound issues with recent 8.3 update for Ipad mini 2
So recently I purchased an Ipad mini 2 32 gb tablet. I saw there was an software update and processed it right away. That completed fine but what I found that when I was running the new Mortal Combat game there was this occasional crackling sound that was very annoying. I also experience it on some Youtube videos. So I decided to return the unit thinking there was defective hardware. So I got the replacement and it worked just fine at 8.2 I decided not update the software for a week and see what happened. Well it ran Mortal Combat just fine with no crackling. It also ran youtube videos with no problems. So I thought ok, looks like I had a bad unit. Let me load up 8.3 now and I should be good. Well just what I was hoping would not happen, did. The crackling returned and I have very frustrated now. What can I do? Does apple or any one else know about this issue?
I just responded to you on this other thread that references this post: Re: iOS 8.3 a disaster
Happy to try to help take a look! -
I had my phone replaced by Verizon because the volume was ringing too low with disregard to the level it was set on... this happened immediately after the update and continued even with factory reset. Verizon sent me another one which is doing the same thing but with more issues which include the picture sending and now my mute button is missing when I receive calls. I am a business and cannot afford to miss a single call... especially as this is our slow time of year. To do your part to help push Samsung to send out a corrective update you need to contact them... I did this and a verizon rep told me to encourage this on these forums... here is the link http://www.samsung.com/us/support/contact# it will get you to their contact page and from there you select email under product support. The more of you that do this, the more they will realize there are several... some serious... issues with this update. Thank you and good luck... to all of us!!
I noticed with my Charge phone that when I get a call the FIRST ring is highly muted (quite soft) and then all rings after that are full volume.
I wish that even the first ring was load (full volume) but I accept the fact that that is how GB 2.3.6 works. Anyone know how to change this?
Ya can't win 'em all.
JerryF
Maybe you are looking for
-
Hi i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error: Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.Messa
-
Connecting iPod Touch to Orange / Wanadoo Livebox Wi-Fi with WEP Security
Hi I'm sorry to post yet another question about connecting to WiFi as this seems to be a major topic of conversation - However I need some specific help if someone would be so kind... I have an Orange / Wanadoo Livebox in the UK and already have seve
-
Vendor evaluation - General Service and support
Hi What are the subcriteria that can be under General Service and support? How the scores are calculated for this?\ If manual where can we enter the scores for these? Regards Soumen
-
Number of Appropriation request submitted for approval
Hi Friends, There are around 14000 appropriation request (AR's) are created in my system. And we have developed workflow for AR approval. And AR should be submitted for approval via only Control tab in IMA11 but some of the AR's are submitted via Var
-
Delivery Order and PGI in Third Party Shipment scneario
Hi all, I am just wondering how is delivery order and goods issue is perform in the SAP system in a third part shipment scenario? Is it require? Since this is third party shipment to my customer, do I need to create a delivery order and PGI in the sy