02-25-2010 7:25 AM
Hi All,
Please provide me the FM Name which will create the outbound delivery same as VL01N transaction and I needs to update Serial Numbers also. Please help me to find the FM which will create outbound delivery and behave same as VL01N transaction.
Thanks in advance.
02-25-2010 7:34 AM
try BAPI_OUTB_DELIVERY_CHANGE
also
in the link below your question has been discussed ..
also try this link
hope it helps
Regards
Manthan
02-25-2010 7:41 AM
Hi,
That discussion is not useful for me since the FM what they have mentioned BAPI_OUTB_DELIVERY_CREATENOREF is not available in My system and also i dont want to replicate the outbound delivery ..i want to create the Outbound delivery
02-25-2010 7:43 AM
did you try these
BAPI_OUTB_DELIVERY_CREATE_SLS
BAPI_OUTB_DELIVERY_CREATE_STO
also one fact has come to light
there is an OSS note "Note 491875 - Maintenance of Delivery Transactions VL01, VL02, VL31, VL32".
By reading it, i understand that no BAPI exists for delivery creation/modification (VL01N VL01 / VL02N VL02).
==> I think you should use Batch input for creating/modifying deliveries (and Goods issues).
Regards
Manthan.
02-25-2010 7:47 AM
Hi Manthan,
BAPIS mentioned by you are not available in My system.
02-26-2020 5:09 PM
02-25-2010 7:41 AM
hi
check FM 1:
CLEAR: ls_request.
ls_request-document_type = 'A'.
ls_request-document_numb = tvbap-vbeln.
ls_request-document_item = tvbap-posnr.
ls_request-quantity_sales_uom = tvbap-KWMENG.
ls_request-PLANT = tvbap-werks.
ls_request-STGE_LOC = tvbap-lgort.
ls_request-MATERIAL = tvbap-matnr.
ls_request-batch = tvbap-charg.
ls_request-date_usage = p_datvw.
ls_request-date = p_date.
ls_request-time = p_time.
APPEND ls_request TO lt_request.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
* EXPORTING
* DELIVERY_EXTEND =
* TECHN_CONTROL =
TABLES
REQUEST = lt_request
* PARTNER =
* PARTNER_ADDR =
* TEXT_HEADER =
* TEXT_LINES =
CREATEDITEMS = CREATEDITEMS
RETURN = RETURN
* EXTENSION1 =
* EXTENSION2 =
* CO_CHAR_VALUES =
* BATCH_ATTRIBUTES =
* BATCH_VALUES_CHAR =
* BATCH_VALUES_CURR =
* BATCH_VALUES_NUM =
* TOKENREFERENCE =
or FM2:
CALL FUNCTION 'W_FRM_DELIVERY_CREATE_GENERAL'
EXPORTING
I_INTERNAL_COMMIT = 'X'
I_NO_LOCK_DOCS = 'X'
I_INIT_UNIT_CONV = 'X'
TABLES
T_DOCUMENTS = ITAB_DOCUMENTS
T_MESSAGELOG = ITAB_MESSAGELOG
T_VBLS = T_VBLS
EXCEPTIONS
NOTHING_TO_DO = 1
MESSAGE_ACCORDING_LOGS = 2
OTHERS = 3.
.
regards,darek
09-20-2010 6:51 PM
08-27-2015 6:34 AM
Hi,
use below FM.
BAPI_OUTB_DELIVERY_SAVEREPLICA
BAPI_DELIVERPROCESSING_EXEC
Regards,
Salil