<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: shipment order using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468635#M220445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anurag's advice is working fine with me. Do test the &lt;/P&gt;&lt;P&gt;same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2006 08:58:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-30T08:58:14Z</dc:date>
    <item>
      <title>shipment order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468632#M220442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bapi_shipment_create is the bapi ,i want to use for the creation of shipment order but the structures &amp;amp; the fields inside that bapi is unfamiliar to me.so i need some samples so that i can follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)i want to know which structures , i have to use &amp;amp; what r the fields of that structures, i have to pass so that a shipment order will be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means, what r the fields of that bapi i have to use to crete a complete shipment order?plz suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone send me some sample code for creating shipment order using bapi?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 08:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468632#M220442</guid>
      <dc:creator>former_member190312</dc:creator>
      <dc:date>2006-08-30T08:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: shipment order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468633#M220443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample call --- you need to populate the it_item table with the delivery note information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IS_HEADER-TRANS_PLAN_PT = 'LHU1'.&lt;/P&gt;&lt;P&gt;    IS_HEADER-SHIPMENT_TYPE = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'BAPI_SHIPMENT_CREATE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      HEADERDATA           = IS_HEADER&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      TRANSPORT            = L_SHIPMENT_NUM&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SHIPMENTGUID         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    HEADERDEADLINE       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ITEMDATA             = IT_ITEM&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    STAGEDATA            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    STAGEDEADLINE        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ITEMONSTAGE          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ADDRESS              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    HDUNHEADER           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    HDUNITEM             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      RETURN               = IT_RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 08:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468633#M220443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: shipment order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468634#M220444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Pabitra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Though i have never worked with this FM, i think the &lt;/P&gt;&lt;P&gt;documentation provided should guide you for using it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Below is the same for your reference:&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;Create Shipment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This function module creates a new shipment based on the &lt;/P&gt;&lt;P&gt;data supplied in the R/3 System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The global data for the shipment must be specified in&lt;/P&gt;&lt;P&gt; structure HEADERDATA. To create a shipment, the system &lt;/P&gt;&lt;P&gt;needs to know the shipment type. The shipment number is &lt;/P&gt;&lt;P&gt;optional and is taken from the appropriate number range &lt;/P&gt;&lt;P&gt;and returned if it was not specified explicitly. The &lt;/P&gt;&lt;P&gt;transportation planning point is also optional and can be determined based on Customizing settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global dates for the shipment (start of shipment, start &lt;/P&gt;&lt;P&gt;of loading, and so on) can be supplied by table &lt;/P&gt;&lt;P&gt;HEADERDEADLINE. Which deliveries should be assigned to&lt;/P&gt;&lt;P&gt; the shipment needs to be specified in table ITEMDATA. &lt;/P&gt;&lt;P&gt;The data for the shipment stages is taken from table &lt;/P&gt;&lt;P&gt;STAGEDATA. gelesen. Dates can also be supplied for each &lt;/P&gt;&lt;P&gt;stage (table STAGEDEADLINE). Because not all deliveries &lt;/P&gt;&lt;P&gt;necessarily need to have the same starting point and &lt;/P&gt;&lt;P&gt;destination, the deliveries are assigned to stages using&lt;/P&gt;&lt;P&gt; table ITEMONSTAGE. The addresses of the stage starting &lt;/P&gt;&lt;P&gt;points and destinations can be specified in detail from &lt;/P&gt;&lt;P&gt;table ADDRESS. Tables HDUNHEADER and HDUNITEM let you &lt;/P&gt;&lt;P&gt;inform the shipment that the deliveries should be packed&lt;/P&gt;&lt;P&gt; and which shipping units should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the function module is called, table RETURN &lt;/P&gt;&lt;P&gt;contains all the log entries generated during the &lt;/P&gt;&lt;P&gt;process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can create test scenarios directly with various &lt;/P&gt;&lt;P&gt;combinations and see the required data to be passed. &lt;/P&gt;&lt;P&gt;Will try to explore on my end and provide you the code &lt;/P&gt;&lt;P&gt;when i can make it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 08:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468634#M220444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T08:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: shipment order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468635#M220445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anurag's advice is working fine with me. Do test the &lt;/P&gt;&lt;P&gt;same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 08:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468635#M220445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: shipment order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468636#M220446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_bapi_shipment_create .
***************************************************************
* This report is provided to help understanding the interface *
* of function module 'BAPI_SHIPMENT_CREATE' with regard to    *
* its ability to fill the different shipment-deadlines        *
* With running this report, new shipments are created         *
***************************************************************

* fill the interface for bapi
DATA: headerdata LIKE bapishipmentheader,
         headerdeadline LIKE bapishipmentheaderdeadline
                    OCCURS 0 WITH HEADER LINE,
         itemdata LIKE bapishipmentitem  OCCURS 0 WITH HEADER LINE,
         stagedata LIKE bapishipmentstage OCCURS 0 WITH HEADER LINE,
         stagedeadline LIKE bapishipmentstagedeadline
                           OCCURS 0 WITH HEADER LINE,
         itemonstage LIKE bapishipmentitemonstage
                          OCCURS 0 WITH HEADER LINE,
         address LIKE bapishipmentaddress
                          OCCURS 0 WITH HEADER LINE,
         hdunheader LIKE bapishipmenthdunheader
                          OCCURS 0 WITH HEADER LINE,
         hdunitem LIKE bapishipmenthdunitem
                          OCCURS 0 WITH HEADER LINE,
         return LIKE bapiret2  OCCURS 0 WITH HEADER LINE.


SELECTION-SCREEN COMMENT /1(83) com1.
SELECTION-SCREEN COMMENT /1(83) com2.
SELECTION-SCREEN COMMENT /1(83) com3.
SELECTION-SCREEN COMMENT /1(83) com4.
SELECTION-SCREEN COMMENT /1(83) com5.
SELECTION-SCREEN COMMENT /1(83) com6.
SELECTION-SCREEN COMMENT /1(83) com7.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN ULINE.


SELECTION-SCREEN BEGIN OF BLOCK header WITH FRAME TITLE text-hrd.
* Headerdate - obligatory
SELECTION-SCREEN COMMENT /1(79) com8 FOR FIELD tplst.
PARAMETER: tplst LIKE vttk-tplst.
SELECTION-SCREEN COMMENT /1(79) com9 FOR FIELD tplst.
PARAMETER: shtyp LIKE vttk-shtyp.
SELECTION-SCREEN END OF BLOCK header.

SELECTION-SCREEN ULINE.

SELECTION-SCREEN BEGIN OF BLOCK status WITH FRAME TITLE com10.
* Plan
PARAMETER:  plan LIKE  bapishipmentheader-status_plan.
*checkin
PARAMETER:  check LIKE  bapishipmentheader-status_checkin.
*load start
PARAMETER:  load_s LIKE  bapishipmentheader-status_load_start.
*load end
PARAMETER:  load_e LIKE  bapishipmentheader-status_load_end.
*Completion
PARAMETER:  compl LIKE  bapishipmentheader-status_compl.
* tra begin
PARAMETER:  ship_s LIKE  bapishipmentheader-status_shpmnt_start.
* tra end
PARAMETER:  ship_e LIKE  bapishipmentheader-status_shpmnt_end.
SELECTION-SCREEN END OF BLOCK status.

* Headerdeadline
SELECTION-SCREEN BEGIN OF BLOCK h_deadline WITH FRAME TITLE com11.
PARAMETERS: ttype(10)
            DEFAULT 'HDRSTPLDT', "= End of planning
            utc LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype2(10)
            DEFAULT 'HDRSTCIPDT',"= planned date of check-in
            utc2 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone2 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype3(10)
            DEFAULT 'HDRSTCIADT',"= actual date of check-in
            utc3 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone3 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype4(10)
            DEFAULT 'HDRSTLSPDT',"= planned date f. start loading
            utc4 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone4 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype5(10)
            DEFAULT 'HDRSTLSADT',"= current date f. start loading
            utc5 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone5 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype6(10)
            DEFAULT 'HDRSTLEPDT',"= planned date f. end loading
            utc6 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone6 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype7(10)
            DEFAULT 'HDRSTLEADT',"= actual date f. end loading
            utc7 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone7 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype8(10)
            DEFAULT 'HDRSTCPDT',"= planned date f. shpmnt completion
            utc8 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone8 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype9(10)
            DEFAULT 'HDRSTCADT',"= actual date f. shpmnt completion
            utc9 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone9 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype10(10)
            DEFAULT 'HDRSTSSPDT',"= planned date f. start shpmnt
            utc10 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone10 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype11(10)
            DEFAULT 'HDRSTSSADT',"= actual date f. start shpmnt
            utc11 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone11 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype12(10)
            DEFAULT 'HDRSTSEPDT',"= planned date f. end shpmnt
            utc12 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone12 LIKE bapishipmentheaderdeadline-time_zone.

PARAMETERS: ttype13(10)
            DEFAULT 'HDRSTSEADT',"= actual date f. end shpmnt
            utc13 LIKE bapishipmentheaderdeadline-time_stamp_utc,
            zone13 LIKE bapishipmentheaderdeadline-time_zone.

SELECTION-SCREEN END OF BLOCK h_deadline.

***********************************************************************
* Format the select-options                                           *
***********************************************************************
INITIALIZATION.
  com1 = 'This report was provided to help understanding the behaviour'.
  com2 = 'of function module BAPI_SHIPMENT_CREATE with regard to its '.
  com3 = 'ability to fill the new shipments deadlines: '.
  com4 = 'Planning, Check-In, Loading Start, Loading end, '.
  com5 = 'Shpmnt completion, Shipment start and shipment end.'.
  com6 = 'This report creates new shipments which can be '.
  com7 = 'viewed e.g. with transaction VT03n'.
  com8 = 'Transportation Planning Point (obligatory)'.
  com9 = 'Shipment type (obligatory)'.
  com10 = 'BAPISHIPMENTHEADER-Flags --&amp;gt; see note 531207 '.
  com11 = 'HEADERDEADLINE-Structure --&amp;gt; see note 531207 '.
***********************************************************************


START-OF-SELECTION.
******************head begin***********************************
  headerdata-trans_plan_pt = tplst.
  headerdata-shipment_type = shtyp.

* change Plan status
*  HEADERDATA-SHIPMENT_NUM = tknum.
  IF plan &amp;lt;&amp;gt; space.
    headerdata-status_plan = plan.
  ENDIF.
* Change Check_in status
  IF check &amp;lt;&amp;gt; space.
    headerdata-status_checkin = check.
  ENDIF.
*load beginn
  IF load_s &amp;lt;&amp;gt; space .
    headerdata-status_load_start = load_s.
  ENDIF.
* load end
  IF load_e &amp;lt;&amp;gt; space .
    headerdata-status_load_end = load_e.
  ENDIF.
* completion
  IF compl &amp;lt;&amp;gt; space.
    headerdata-status_compl = compl.
  ENDIF.
*tra beginn
  IF ship_s &amp;lt;&amp;gt; space.
    headerdata-status_shpmnt_start = ship_s.
  ENDIF.
*tra beginn
  IF ship_e &amp;lt;&amp;gt; space.
    headerdata-status_shpmnt_end = ship_e.
  ENDIF.

***** HEADERDEADLINE END OF PLANNING
  IF ttype &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype.
    headerdeadline-time_stamp_utc = utc.
    headerdeadline-time_zone = zone.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE PLANNED DATE OF CHECK-IN
  IF ttype2 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype2.
    headerdeadline-time_stamp_utc = utc2.
    headerdeadline-time_zone = zone2.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE ACTUAL DATE OF CHECK-IN
  IF ttype3 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype3.
    headerdeadline-time_stamp_utc = utc3.
    headerdeadline-time_zone = zone3.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE PLANNED D START OF LOADING
  IF ttype4 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype4.
    headerdeadline-time_stamp_utc = utc4.
    headerdeadline-time_zone = zone4.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE CURRENT D START OF LOADING
  IF ttype5 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype5.
    headerdeadline-time_stamp_utc = utc5.
    headerdeadline-time_zone = zone5.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE PLANNED D END OF LOADING
  IF ttype6 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype6.
    headerdeadline-time_stamp_utc = utc6.
    headerdeadline-time_zone = zone6.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE ACTUAL D END OF LOADING
  IF ttype7 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype7.
    headerdeadline-time_stamp_utc = utc7.
    headerdeadline-time_zone = zone7.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE PLANNED D SHIPMENT COMPLETION
  IF ttype8 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype8.
    headerdeadline-time_stamp_utc = utc8.
    headerdeadline-time_zone = zone8.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE ACTUAL D SHIPMENT COMPLETION
  IF ttype9 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype9.
    headerdeadline-time_stamp_utc = utc9.
    headerdeadline-time_zone = zone9.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE PLANNED D START OF SHIPMENT
  IF ttype10 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype10.
    headerdeadline-time_stamp_utc = utc10.
    headerdeadline-time_zone = zone10.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE ACTUAL D START OF SHIPMENT
  IF ttype11 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype11.
    headerdeadline-time_stamp_utc = utc11.
    headerdeadline-time_zone = zone11.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE PLANNED D END OF SHIPMENT
  IF ttype12 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype12.
    headerdeadline-time_stamp_utc = utc12.
    headerdeadline-time_zone = zone12.
    APPEND headerdeadline.
  ENDIF.
***** HEADERDEADLINE CURRENT D END OF SHIPMENT
  IF ttype13 &amp;lt;&amp;gt; space.
    headerdeadline-time_type = ttype13.
    headerdeadline-time_stamp_utc = utc13.
    headerdeadline-time_zone = zone13.
    APPEND headerdeadline.
  ENDIF.

itemdata-DELIVERY  = '0080000028'.
itemdata-ITENERARY = '0001'.
append itemdata.
************************************************************
************************************************************
  CALL FUNCTION 'BAPI_SHIPMENT_CREATE'
       EXPORTING
            headerdata     = headerdata
       TABLES
            headerdeadline = headerdeadline
            itemdata       = itemdata
            stagedata      = stagedata
            stagedeadline  = stagedeadline
            itemonstage    = itemonstage
            address        = address
            hdunheader     = hdunheader
            hdunitem       = hdunitem
            return         = return.

  LOOP AT return.

   WRITE:/ return-message.

  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 09:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shipment-order-using-bapi/m-p/1468636#M220446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T09:38:27Z</dc:date>
    </item>
  </channel>
</rss>

