‎2007 Mar 13 7:03 PM
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
‎2007 Mar 14 7:32 AM
HI SK,
Could you provide the coding in order to find the error?
Regards,
John.
‎2007 Mar 14 7:44 PM
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
‎2009 Oct 23 1:36 PM
Hi SK,
Did your problem get resolve?i am also facin same problem ..could you please me me to resolve this issue.
Thanks
Monica