cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Vendor of Freight Condition Type in STO

Former Member
0 Kudos

Hi,

I am facing a problem in updating KOMP-LIFNR in my program. I have below scenario

I have created a Z program which gets all materials from mchb and creates a STO order thru a BAPI_PO_CREATE1. Anyway STO is getting created but i am facing a program to update a freight condition type. I need to LIFNR(Vendor) in freight condition type.

Pls help is how to update is there any bapi to update.

Regards,

Sreekanth

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

We dont have any fields in the BAPI_PO_CREATE1 to directly input the Freight vendor , But by maintaining the freight vendor in the purchase infor record will update the Conditons in the PO at the time of creation of the PO.

You can also acheuive this by using the user exit enhancement SAPL2012

Exit : EXIT_SAPL2012_001.Customer Exit for Creating a Purchase Order in Enjoy Using BAPI_PO_CREATÊ1

You can chek out using SMOD.Please take the help of ABPERs to develop the code as per the requirement.

Award points if useful

Thanks & Regards

Kishore.

Former Member
0 Kudos

Check Table T685 and T685A. Bruce