Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sales Order - Additional Data - Update

former_member194669
Active Contributor
0 Likes
2,702

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®

15 REPLIES 15
Read only

Former Member
0 Likes
2,392

LE_MOB_DELIVERY_UPDATE is having those fields right?

--

Reddy

Read only

Former Member
0 Likes
2,392

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

Read only

0 Likes
2,392

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®

Read only

0 Likes
2,392

Is there a particular reason as to why the delivery needs to be changed after it has been created.

Read only

0 Likes
2,392

Hi,

Please check WB2_IBD_CHANGE , WGT_SAPI_0101_CHANGE_1100

Read only

0 Likes
2,392

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®

Read only

0 Likes
2,392

J_1B_SD_SH_CHANGE_LIPS

--

Reddy

Read only

0 Likes
2,392

At the time that the delivery is being created, would you know the values that need to be put into these fields on LIPS.

Read only

0 Likes
2,392

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®

Read only

0 Likes
2,392

Hi,

You can update the table directly, BUt as those fileds are customized ones, better validate them using relevant T tables.

--

Reddy

Read only

0 Likes
2,392

Reddy,

I have checked these fm/bapi but these not possible to update these fields

a®

Read only

0 Likes
2,392

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

Read only

0 Likes
2,392

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®

Read only

0 Likes
2,392

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.

Read only

0 Likes
2,392

Thanks Martin.

I am also waiting for a different business approach for the same.

a®