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

create shipment

Former Member
0 Likes
1,182

Hello,

In my program i have:

1 - create delivery

2 - commit work and wait

3 - create shipment using MF ''OIGI_CREATE_SHIPMENT_RFC''

4 - commit work and wait

When i use call transaction 'VL02N' for updating created delivery, i have error 'object locked' in MF and the shipment was not create i don't know why?

NB: The call transactin is used between 2 and 3

Thanks a lot

6 REPLIES 6
Read only

Former Member
0 Likes
1,050

hi

good

The parameter for this BAPI must be specified in structure HEADERDATA. To create a shipment, the system needs to know the shipment type. The shipment number & transportation planning point is also optional.

Global dates for the shipment (start of shipment, start of loading, and so on) can be supplied by table HEADERDEADLINE. Which deliveries should be assigned to the shipment needs to be specified in table ITEMDATA. The data for the shipment stages is taken from table STAGEDATA. gelesen. Dates can also be supplied for each stage (table STAGEDEADLINE). Because not all deliveries necessarily need to have the same starting point and destination, the deliveries are assigned to stages using table ITEMONSTAGE. The addresses of the stage starting points and destinations can be specified in detail from table ADDRESS. Tables HDUNHEADER and HDUNITEM let you inform the shipment that the deliveries should be packed and which shipping units should be used.

thanks

mrutyun^

Read only

prabhu_s2
Active Contributor
0 Likes
1,050

once u had created the delivery using ur program check sm12 to see if the delivery is locked before saving the delvy

Edited by: Prabhu S on Mar 11, 2008 10:34 AM

Read only

Former Member
0 Likes
1,050

The message is 'Object requested is currently locked by user &' = MC(601).

I think i have the entry in sm12 and the object locked is 'EVVBLKE'. How can i do plse?

Read only

prabhu_s2
Active Contributor
0 Likes
1,050

delete the entry in sm12 and unlock the delivery to update it manualy via the t.code. but this will not happen every time. before the system finshes the update an event had occurered that has locked the delivery and hence the issue.

Read only

Former Member
0 Likes
1,050

I put the MF 'DEQUEUE_EVVBLKE' but i have always the problem

Read only

Former Member
0 Likes
1,050

This message was moderated.