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_CREATE_SHIPMENT

Former Member
0 Likes
588

Hi

I am using the above BAPI for creating shipment. when I test this bapi in a simple test program with parameters like shipment type , delivery order etc.. it successfully created the shipment. when I use the bAPI in a different program (ZSD_shipment) with more parameters it gives the error message as

"Object ZSD_shipment) of class RE and language EN does not exist".

(Error number = 616 and type = 'SF' ).

(The above bapi is available in the system and I have tested with test program.)

if anyone know how to solve this issue please reply.

regards

SK

3 REPLIES 3
Read only

Former Member
0 Likes
529

HI SK,

Could you provide the coding in order to find the error?

Regards,

John.

Read only

0 Likes
529

Hi John,

thanks for your reply.

I found that the error in the parameter 'stagedeadline'.

I just tried with the following .

CALL FUNCTION 'BAPI_SHIPMENT_CREATE'

EXPORTING

headerdata = gt_shipheader

IMPORTING

transport = g_transport

shipmentguid = g_shipmentguid

TABLES

headerdeadline = gt_headerline

itemdata = gt_shipitem

stagedata = gt_shipstage

stagedeadline = gt_stagedeadline

itemonstage = gt_itemonstage

address = gt_shipaddr

hdunheader = gt_handlngheader

hdunitem = gt_handlngitem

return = gt_bapiret2.

IF ttype <> space.

gt_stagedeadline-time_type = ttype. Ttype = HDRSTPLDT

gt_stagedeadline-time_stamp_utc = utc.

gt_stagedeadline-time_zone = zone.

APPEND gt_stagedeadline.

ENDIF.

can you please let me know how to get this value.

thanks

SK

Read only

0 Likes
529

Hi SK,

Did your problem get resolve?i am also facin same problem ..could you please me me to resolve this issue.

Thanks

Monica