cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi for VL02N

FredericGirod
Active Contributor
0 Kudos

Hi,

I need to call the transaction VL01N/VL02N, I try to find a BAPI but .. I didn't find something interesting.

I have use instead a call transaction ... but it's not really clean.

Do you know a BAPI or function to call the transaction VL01N/VL02N ?

Thanks.

(SAP 4.6C)

Accepted Solutions (1)

Accepted Solutions (1)

sergey_korolev
Active Contributor
0 Kudos

Fortunately VL01N/VL02N are compatible with batch input and I successfully use them with CALL TRANSACTION using. The main thing you should not do when recording batch-input is to use table control for entering data. Instead for appending new delivery item click the button with and then click details button (with magnifying glass). Also, if you need to change some item first click the button Position to place the item at the top of table control and then again click Details.

Sorry, there is no delivery BAPI in 4.6c.

Hope this helps.

FredericGirod
Active Contributor
0 Kudos

Thanks for your reply

I don't want to make a batch-input, just call the transaction and recover the number of the delivery created.

With call transaction, I have to check the message (in an internal table), but that's not really clean.

Thanks again

Frédéric.

sergey_korolev
Active Contributor
0 Kudos

Dear Frédéric,

I've just recollected that there was some trick with the message containing delivery number. If I remember right you should call transaction with OPTION-NOBINTPT = 'X'. Where OPTION is a variable of type CTU_PARAMS which can be used in 'CALL TRANSACTION USING' with an addition 'OPTIONS FROM ...'. The problem was that in batch input mode VL01N transaction does not issue the message with delivery number.

Message was edited by: Sergei Korolev

Answers (0)