Hi all,
does anyone know of a BAPI or a Function Module that given only the sales order document number and the posting date to create an outbound delivery?
(I am looking for something that creates automatically a delivery just like when I create a sales order with automatic delivery creation.)
Regards,
GB
Request clarification before answering.
Hi George,
What I do here is created a function module and in this function module un generate BATCH INPUT DATA
and then do a call transaction to create the delivery...
If it did give you some clues, please don't forget the reward
-
-- > you did choose my solution
-
Message was edited by: STEPHAN KAMINSKI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for your postings. I finally recorded the transaction VL01N which seems to be the best solution for my problem at the moment.
Regards,
GB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hI George..
i want to do bdc for VL01N.. my doubt is.. manually when we enter the storage location under picking tab, system search for the stock availability if not it displays error message, than agian we enter some diff storage location and so on.. how can we do in the bdc..
hope u understood my doubt.. this is urgent requirement kidly help me
thanks
Hi GB,
You could also try:
submit rv50sbt1
with s_vbeln eq yoursalesordernumber
with vstel eq yourshippinglocation
with s_ledat-high eq space "Deliv date
with allea eq 'X' "Sales Orders
with alleb eq ' ' "Purchase orders
with samml eq 'X' "Create Deliveries
with anzei eq space "List Display
and return.
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check these function modules for sales order document no.
<b>In case of smartform:</b>
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZFORMNAME'
IMPORTING
fm_name = v_form_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
i_otf[] = w_return-otfdata[].
<b>In case of sapscript:</b>
options-tdgetotf = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
options = options
...
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
otfdata = i_otf
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
OTHERS = 5.
i_otf -
Regards,
Sakthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
try this link
http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec8f94ac011d1894e0000e829fbbd/content.htm
regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi george,
check out these two BAPI's.
BAPI_SALESORDER_CREATEFROMDAT2.
BAPI_IBDLV_CREATE_ FROM_OBDLV.
regs,
jaga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you can use RV_DELIVERY_CREATE_SINGLE or RV_DELIVERY_CREATE.
Do a where-used list on RV_DELIVERY_CREATE_SINGLE, you will be able to make out how to call it.
I just looked at RV_DELIVERY_CREATE, it seems first you have to use function module SHP_GET_SD_DATA to get sales order data and then call RV_DELIVER_CREATE fm with corresponding tables parameters.
Hope this helps..
Sri
Message was edited by: Srikanth Pinnamaneni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.