2007 Jun 18 3:46 PM
Hi,
I'm trying to use FM <b>L_TO_CREATE_SINGLE</b>, but there is no way to provide the delivery number.
For creating the delivery I used <b>BAPI BAPI_OUTB_DELIVERY_CREATENOREF</b>.
Any suggestion?
Thanks.
2007 Jun 18 4:00 PM
2007 Jun 18 3:58 PM
Hi,
Look at the below function modules
FIPR_TRANSPORT_ORDER_CREATE
QMLR_CREATE_TRANSPORT_ORDER " Create Transport Request from Quality Notification
WS_LM_TRANSFER_ORDER_CREATERegards
Sudheer
2007 Jun 18 4:00 PM
2007 Jun 19 4:04 PM
I have tried changing the FM, but I need a single OT created, and others tend to create several.
I have noticed, as well, that you can add the datum vbeln inside the table T_LTAK.
Does anyone know why this call doesn't work, please?
[In fact I've been trying to put the FM to work directly from SE37, but I haven't succeeded so far...]
lt_ltak_vb-vbeln = pa_vbeln.
append lt_ltak_vb.
CALL FUNCTION 'L_TO_CREATE_SINGLE'
EXPORTING
i_lgnum = pa_lgnum
i_bwlvs = '501'
i_matnr = pa_matnr
i_werks = pa_werks
i_anfme = pa_qty
i_altme = '10'
i_wdatu = pa_wdatum
i_lgort = pa_lgort
i_letyp = pa_letyp
i_charg = pa_charg
i_betyp = pa_betyp
i_benum = pa_benum
i_bestq = pa_bestq
i_sobkz = pa_sobkz
i_sonum = pa_sonum
i_vfdat = pa_vfdat
i_zeugn = pa_zeugn
IMPORTING
e_tanum = pa_tanum
TABLES
t_ltak = lt_ltak_vb
EXCEPTIONS
no_to_created = 1
bwlvs_wrong = 2
betyp_wrong = 3
benum_missing = 4
betyp_missing = 5
foreign_lock = 6
vltyp_wrong = 7
vlpla_wrong = 8
vltyp_missing = 9
nltyp_wrong = 10
nlpla_wrong = 11
nltyp_missing = 12
rltyp_wrong = 13
rlpla_wrong = 14
rltyp_missing = 15
squit_forbidden = 16
manual_to_forbidden = 17
letyp_wrong = 18
vlpla_missing = 19
nlpla_missing = 20
sobkz_wrong = 21
sobkz_missing = 22
sonum_missing = 23
bestq_wrong = 24
lgber_wrong = 25
xfeld_wrong = 26
date_wrong = 27
drukz_wrong = 28
ldest_wrong = 29
update_without_commit = 30
no_authority = 31
material_not_found = 32
lenum_wrong = 33
error_message = 34
OTHERS = 35.Thanks a lot.
2007 Jun 22 12:30 PM
Finally I called the transaction. Thanks all the same.
I would like to know, anyway, whether passing <b>vbeln</b> to the FM, through the table, which seems to be the only way, results in the FM detecting the delivery. Just in case...
Regards.
2007 Jul 06 11:56 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |