2005 Mar 16 7:20 AM
Hi Everyone,
Does anyone know of any BAPI to create an outbound delivery for purchasing document?
I have made a BDC program ( call transcation 'VL10B' ).
But the error messages always be shown when it's running as a backgroud job.
Best Regards,
Sky
2005 Mar 16 7:50 AM
Hi Lee,
Have a look at function modules under function group WFR0.
Thanks
Lakshman
2005 Mar 16 7:50 AM
Hi Lee,
Have a look at function modules under function group WFR0.
Thanks
Lakshman
2005 Apr 20 1:26 PM
2005 Apr 20 4:30 PM
Hi,
USe T code WF60 and put a break point at FMW_FRM_DELIVERY_CREATE , you will get the parameters it passes.
Good Luck!
Manohar
2005 Aug 11 8:54 AM
Hi Sky,
Let's try this code ...
.
tbl_request-document_numb = wa_itab-ebeln.
tbl_request-document_item = wa_itab-ebelp.
tbl_request-ship_to = wa_itab-kunnr.
tbl_request-sold_to = wa_itab-kunnr.
tbl_request-plant = wa_itab-werks.
tbl_request-quantity_sales_uom = wa_itab-wamng.
-
tbl_request-base_uom = wa_itab-meins.
tbl_request-material = wa_itab-matnr.
tbl_request-delivery_date = wa_itab-eindt.
tbl_request-transp_plan_date = wa_itab-tddat.
tbl_request-loading_date = wa_itab-lddat.
tbl_request-goods_issue_date = wa_itab-wadat.
tbl_request-document_type = 'B'. "Purchasing Ord
APPEND tbl_request.
- Create DO
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = tbl_request
createditems = tbl_items
return = tbl_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
.
Regards,
Therdsak
2005 Aug 11 9:16 AM
Hello Everybody.
I have the same problem with VL10B regarding bdc and background session.
Once an STO is created by entering data in transaction ME21N, I am right now using VL10B to do the delivery and the "Picking" and "Storage Location" of the "Sending Plant" have been configured to be populated automatically.
Also the "Post Goods Issue" has been scheduled in VL23.
I checked the FM "W_FRM_DELIVERY_CREATE" as suggested above. But I do not know how will it take data from an STO and do the delivery.
Can anyone please help.
Thank you.
Message was edited by: Sai Sanathan
Message was edited by: Sai Sanathan
2007 Oct 27 10:02 AM
Hi Gurues
I have an issue that once I created in VL10B NLCC Delivery with reference to NB Purchase order (ind of stock transport between two company codes).
Might be using the BAPI I could create additional rows in the NLCC delivery with referenc to another PO order?
Eddie