Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_OUTB_DELIVERY_CREATENOREF - Time 2 Required.

Former Member
2,860

Hey Guys,

Trying to use this BAPI to create a delivery without Ref.

Getting the following error returned in my Return Table.

VLBAPI 066 Time 2 required

I have no idea what this is or where to fix it... suggestions?

Tim.

Hey Guys,

Trying to use this BAPI to create a delivery without Ref.

Getting the following error returned in my Return Table.

VLBAPI 066 Time 2 required

I have no idea what this is or where to fix it... suggestions?

Tim.

1 REPLY 1
Read only

Abhijit74
Active Contributor
0 Likes
1,556

Hello,

The error is coming due to invalid Date and time format you are entering. Please go through the documentation of the BAPI.

Please go through below for giving different values od Dates and Times.

You can use parameter DATES to specify delivery dates or how they are

calculated.

Component ,, Description

DELIV_NUMB ,, Not used

TIMETYPE ,, Logical time (see below)

TIMESTAMP_UTC ,, UTC time stamp in short form (YYYYMMDDhhmmss)

TIMEZONE ,, Time zone

The following date categories TIMETYPE (logical events according to

table TTSEGTIME) can be used:

Date category ,, TIMETYPE

Delivery date ,, WSHDRLFDAT

Planned goods issue date ,, WSHDRWADAT

Loading date ,, WSHDRLDDAT

Transportation planning date ,, WSHDRTDDAT

Material availability date ,, WSHDRMBDAT

For historical reasons, internal format (TTSEGTIME-TIME) is used. Use

this format in programs that fill the parameter DATES.

Caution:

When entering a date category on a screen (for example, parameter entry

in test mode for transaction SE37), external format must be used, due to

the conversion exits. You will find this in the following tables:

TIMETYPE ,, Entry

WSHDRLFDAT ,, 'WS DELIVERY LIKP'

WSHDRWADAT ,, 'WS GOODS ISSUE LIKP'

WSHDRLDDAT ,, 'WS LOADING LIKP'

WSHDRTDDAT ,, 'WS TRANSP DISP LIKP'

WSHDRMBDAT ,, 'WS MATERIAL AV. LIKP' .

Thnaks,

Abhijit