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: 

BAPI for creating PO from shipping cost document

Former Member
0 Kudos

Hi All,

I am having a scenario in which i have to create service PO from Shipping cost Document (SCD). I need to know do we have any bapi for this...and let me know how to proceed...

Points rewarded...

regards,

RK

Edited by: Rajat Kapoor on Jan 2, 2008 10:26 AM

1 ACCEPTED SOLUTION

former_member183994
Active Participant
0 Kudos

Run transaction BAPI, then select Materials Management/Purchasing/Purchase order/CreateFromData1. (function module BAPI_PO_CREATE1 ) You will find documentation in the relevant tab

4 REPLIES 4

former_member183994
Active Participant
0 Kudos

Run transaction BAPI, then select Materials Management/Purchasing/Purchase order/CreateFromData1. (function module BAPI_PO_CREATE1 ) You will find documentation in the relevant tab

0 Kudos

Hi,

thanks for ur inputs,

Can we create service PO from function module BAPI_PO_CREATE1...

actually i am new to bapi and have very littel idea how to work with bapis..

Former Member
0 Kudos

Hi,

I am trying to create Shipment cost document (vi01) using the standard function modules. I followed this forum and could able to create vi01 using below stepsin sequence..

SD_SCD_REFOBJ_READ

SD_SCD_INITIALIZESD_SCD_ITEMS_CREATE

SD_SCD_ITEM_PRICING_COMPLETE

SD_SCD_ITEM_AMOUNT_ADJUST

SD_SCD_ITEM_CHANGE

SD_SCD_CHANGE

SD_SCDS_CHECK_COMPLETE

SD_SCDS_SAVE

SD_SCD_TYPE_DETERMINE

However, using the shipment number I need to update the Condition tab in T.code: vi01 with Pricing data, populating Condition types and values, calculate them and display the Net value, then save and transfer the Cost document. Can anyone suggest me, how can i achieve this?

even thought the used the following fn modules and passed l the values are not fetched from

SD_SCD_ITEM_PRICING_COMPLETE,

SD_SCD_ITEM_AMOUNT_ADJUST

SD_SCD_ITEM_CHANGE

i tried these tables

komv-kschl = Condition Type

komv-kawrt = condition base value

komv-kbetr = rate

komv-waers = currency key

konv-knumv = doc condition

Can anyone help me?

0 Kudos

Hi Sirisha,

Have you solved your issue??

I am also having similar requirement. I have to change Amount in VI02, based on some item category.

I created some application, in that i am giving amount, from that i want to update amount in vi02. Can you tell me how to acieve this.

If you solve yours, can you share that code to me?? Please any help.

Thanks and regards,

venkat.