‎2010 May 14 9:18 AM
All,
We have few fields in HEADER screen "Additional Data Tab" fields are ( KVGR1, KVGR2....KVGR5) After saving the sales order, and user goes for Delivery VL01N , these fields get carried over to LIPS table.
Now My requirement is I need to change the value of these fields in LIPS. But problem is these fields are not reflecting in VL02N screens. and checked the following bapis for the same to update.
1. BAPI_OUTB_DELIVERY_CHANGE
2. LE_MOB_DELIVERY_UPDATE
3. SHP_BAPI_DELIVERY_CHANGE
4. WS_DELIVEY_UPDATE
5. WS_DELIVERY_UPDATE_2
6. BAPI_DELIVERYPROCESSING_EXEC
But In these fm/bapi the "additional data fields" ( KVGR1, KVGR2....KVGR5) are not available.
In this what my the change options we have?
Is direct update LIPS to these fields have any impact ?
a®
‎2010 May 14 9:36 AM
‎2010 May 14 9:37 AM
You may be able to use copy routines.
Transaction VOFM, menu path Data Transfer->Deliveries.
There should be standard copy routines. I do not know how these get called. I suspect some functional bod would need to add these to some random config stuff that they do.
Also, I cannot beleive you are asking about direct update to these fields.
Edited by: Martin Shinks on May 14, 2010 10:37 AM
‎2010 May 14 10:06 AM
Martin,
Thanks for your reply.
I have not explained properly. So i am come again
ie
After delivery is created , I need to change these values (while creating delivery these values get copied from sales order into table LIPS) But while changing thru VL02N these fields are not available in VL02N screen) and Delivery change fm/bapi's these fields are not available
My requirement is to change these fields in delivery (change mode - ie after creation of delivery)
a®
‎2010 May 14 10:13 AM
Is there a particular reason as to why the delivery needs to be changed after it has been created.
‎2010 May 14 10:37 AM
‎2010 May 14 10:37 AM
While creating the Sales order -> Additional Data --> the fields which i mentioned one them is "Freight Terms" . This field needs to be changed after the delivery , ( This is business need) before picking
a®
‎2010 May 14 10:48 AM
‎2010 May 14 10:53 AM
At the time that the delivery is being created, would you know the values that need to be put into these fields on LIPS.
‎2010 May 14 11:08 AM
Martin,
Thanks for your patience reply.
While creating the delivery these fields get copied from sales order values (additonal data tab) but requirement is once delivery is created these field values needs to be changed., For that user needs a report they will enter delivery number and new values for these fields in selection screen, then these selection values to be updated to LIPS. But problem is i could not find these fields in VL02n screens or bapis
I hope you are clear now.
a®
‎2010 May 14 11:12 AM
Hi,
You can update the table directly, BUt as those fileds are customized ones, better validate them using relevant T tables.
--
Reddy
‎2010 May 14 11:12 AM
Reddy,
I have checked these fm/bapi but these not possible to update these fields
a®
‎2010 May 14 11:17 AM
It is clearer now.
The fact that these fleds do not apper in VL02n, tells me that these fields should not be changed on the delivery as they should match the values on the sales order. I do not know if this is true. You would have to ask a functional person.
Is it feasible that the users would run the report based on the order, then the report would change these values on the sales order which in turn would transfer over to the delivery.
Thanks
Martin
‎2010 May 14 11:30 AM
Martin,
Thanks
I tried that approach to update the sales order fields again after delivery is created. But the issue is these fields get locked after the delivery for sales order is created. So i could not able update in sales order internally it get populated in LIPS inVL02n change
Now getting out of options,
last options i am having is direct update. But before going for that i need some expert opinion
a®
‎2010 May 14 11:35 AM
You could delete the delivery, amend the sales order and re-create a new delivery.
Would the users be able to determine these new values based on the sales order and not the delivery. If so then I would get the report to change the order first then intiate the delivery creation.
Direct update is a last resort of no other solution is available. For this issue, I would be pretty certain the business could come up with a different approach.
‎2010 May 14 11:40 AM
Thanks Martin.
I am also waiting for a different business approach for the same.
a®