Application Development 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: 

Update VTRKP table using BAPI or FM

Former Member
0 Kudos

Hi,

Kindly let me know if there is any BAPI or FM to update the VTRKP table.

I need to update the fields TRACKLOC and TRACKTEXT fields in the VTRKP table.

Any pointers would be highly appreciated and rewarded.

Regards,

Ravi.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Can you take a look of XSI_TRACKING_DATA_SAVE ..theres no BAPI for this , try to see how this FM is called while updating in standard  transaction.....

5 REPLIES 5

Former Member
0 Kudos

Can you take a look of XSI_TRACKING_DATA_SAVE ..theres no BAPI for this , try to see how this FM is called while updating in standard  transaction.....

0 Kudos

Hi Ramachandran,

Thanks a lot for your reply.

I had a look at the FM you mentioned. I think it is used to update the VTRKH table, though I am not very sure. But when I was looking for this FM, I came across another FM XSI_VTRK_UPDATE which updates both the VTRKH and VTRKP table. Can you please share your thoughts on this...

Regards,

Ravi.

0 Kudos

Sorry i overlooked it, yes u are right, but ensure that u pass the data in a consistent manner (similar to standadrd transaction) to this FM , also u need to chk if  there are any subsequent tables  that require updation as welll , so can u tell me the tcode in which  this maintenace will happen ??

0 Kudos

Actually, I am using this FM in the User Exit for delivery creation against Sales Order. I am also not aware of the tcode in which this FM is maintained. This FM belongs to the Function group VVTR.

Also, as per my knowledge, no other table requires updation when updating VTRKP table, but I am not very sure. I will update this once i finish my development and everything works fine.

Many Thanks.

Regards,

Ravi.

0 Kudos

Look into that transaction VTRC. You can also search for the sap note related to this process. For example 366914.