FM for PGI

HAI FRIENDS,
I m using WS_DELIVERY_UPDATE  fm for updating the outbound delivery .
In this the picking qty was updated .
But its not doing for PGI.
Is there any FM for PGI and Wat are all the input parameter required for this FM .Pls Explain  with example.
Pls Help me .its Most urgent.
Thanks in advance.
Regards,
Ekadevi.S

Finally I've managed to create movement type 641...
Let explain how:
First its to update the outbound delivery using the BAPI_OUTB_DELIVERY_CHANGE where you can assign a storage location for a position, the delivered quantity, net weight, gross weigth, volume and also conversion factor between units of measure.
The we need to do the picking and the post good issue (PGI) by WS_DELIVERY_UPDATE where you define the picking qty, date and time for the post good issue, etc. This is the one that creates a movement 641.
Here you can see an example of the two BAPI/FM request that you need:
<?xml version="1.0" encoding="UTF-8"?>
<BAPI_OUTB_DELIVERY_CHANGE>
     <INPUT>
          <DELIVERY></DELIVERY>
          <HEADER_CONTROL>
               <DELIV_NUMB></DELIV_NUMB>
               <GROSS_WT_FLG/>
               <NET_WT_FLG/>
               <VOLUME_FLG/>
               <DELIV_DATE_FLG/>
               <DOCK_FLG/>
               <DLV_DEL/>
               <INCO1_FLG/>
               <INCO2_FLG/>
               <ROUTE_FLG/>
               <SHIP_COND_FLG/>
               <DLV_PRIO_FLG/>
               <UNLOAD_PT_FLG/>
               <PICK_DATE_FLG/>
               <TRSP_DATE_FLG/>
               <LOAD_DATE_FLG/>
               <GDSI_DATE_FLG/>
               <SIMULATE/>
               <NO_LOCK/>
               <SPLIT_DONE_FLG/>
               <DLV_BLOCK_FLG/>
               <DLV_CHANGE_OFF/>
          </HEADER_CONTROL>
          <HEADER_CONTROL_SPL>
               <SENDER_METHOD/>
               <DELIV_NUMB></DELIV_NUMB>
               <GEOROUTE_FLG/>
               <BOP_GUID/>
               <INITIATOR_PROCESS/>
          </HEADER_CONTROL_SPL>
          <HEADER_DATA>
               <DELIV_NUMB>2030000016</DELIV_NUMB>
               <GROSS_WT/>
               <NET_WEIGHT/>
               <UNIT_OF_WT/>
               <UNIT_OF_WT_ISO/>
               <VOLUME/>
               <VOLUMEUNIT/>
               <VOLUMEUNIT_ISO/>
               <DOOR/>
               <INCOTERMS1/>
               <INCOTERMS2/>
               <ROUTE/>
               <SHIP_COND/>
               <DLV_PRIO/>
               <UNLOAD_PT/>
               <DLV_BLOCK/>
          </HEADER_DATA>
          <HEADER_DATA_SPL>
               <DELIV_NUMB></DELIV_NUMB>
               <GEOROUTE/>
          </HEADER_DATA_SPL>
          <SENDER_SYSTEM/>
          <TECHN_CONTROL>
               <DEBUG_FLG/>
               <UPD_IND/>
               <RECV_WHS_NO/>
               <RECV_SYS/>
               <DLV_TYPE/>
          </TECHN_CONTROL>
     </INPUT>
     <TABLES>
          <COLLECTIVE_CHANGE_ITEMS>
               <item>
                    <DELIV_NUMB></DELIV_NUMB>
                    <DELIV_ITEM/>
                    <DLV_QTY_FROM/>
                    <BASE_UOM/>
                    <BASE_UOM_ISO/>
               </item>
          </COLLECTIVE_CHANGE_ITEMS>
          <EXTENSION1>
               <item>
                    <FIELD1/>
                    <FIELD2/>
                    <FIELD3/>
                    <FIELD4/>
               </item>
          </EXTENSION1>
          <EXTENSION2>
               <item>
                    <PARAM/>
                    <ROW/>
                    <FIELD/>
                    <VALUE/>
                    <TYPE/>
                    <LENGTH/>
               </item>
          </EXTENSION2>
          <HEADER_DEADLINES>
               <item>
                    <DELIV_NUMB></DELIV_NUMB>
                    <TIMETYPE/>
                    <TIMESTAMP_UTC/>
                    <TIMEZONE/>
               </item>
          </HEADER_DEADLINES>
          <HEADER_PARTNER>
               <item>
                    <UPD_MODE_PARTN/>
                    <DELIV_NUMB></DELIV_NUMB>
                    <ITM_NUMBER/>
                    <PARTN_ROLE/>
                    <PARTNER_NO/>
                    <ADDRESS_NO/>
                    <DESC_PARTN/>
                    <MANUAL_ADDR/>
                    <SCA_CODE/>
               </item>
          </HEADER_PARTNER>
          <HEADER_PARTNER_ADDR>
               <item>
                    <UPD_MODE_ADR/>
                    <ADDR_NO/>
                    <FORMOFADDR/>
                    <NAME/>
                    <NAME_2/>
                    <NAME_3/>
                    <NAME_4/>
                    <C_O_NAME/>
                    <CITY/>
                    <DISTRICT/>
                    <CITY_NO/>
                    <POSTL_COD1/>
                    <POSTL_COD2/>
                    <POSTL_COD3/>
                    <PO_BOX/>
                    <PO_BOX_CIT/>
                    <DELIV_DIS/>
                    <STREET/>
                    <STREET_NO/>
                    <STR_ABBR/>
                    <HOUSE_NO/>
                    <STR_SUPPL1/>
                    <STR_SUPPL2/>
                    <LOCATION/>
                    <BUILDING/>
                    <FLOOR/>
                    <ROOM_NO/>
                    <COUNTRY/>
                    <LANGU/>
                    <REGION/>
                    <SORT1/>
                    <SORT2/>
                    <TIME_ZONE/>
                    <TAXJURCODE/>
                    <ADR_NOTES/>
                    <COMM_TYPE/>
                    <TEL1_NUMBR/>
                    <TEL1_EXT/>
                    <FAX_NUMBER/>
                    <FAX_EXTENS/>
                    <STREET_LNG/>
                    <DISTRCT_NO/>
                    <CHCKSTATUS/>
                    <PBOXCIT_NO/>
                    <TRANSPZONE/>
                    <HOUSE_NO2/>
                    <E_MAIL/>
                    <STR_SUPPL3/>
                    <TITLE/>
                    <COUNTRYISO/>
                    <LANGU_ISO/>
                    <BUILD_LONG/>
                    <REGIOGROUP/>
                    <HOME_CITY/>
                    <HOMECITYNO/>
                    <PCODE1_EXT/>
                    <PCODE2_EXT/>
                    <PCODE3_EXT/>
                    <PO_W_O_NO/>
                    <PO_BOX_REG/>
                    <POBOX_CTRY/>
                    <PO_CTRYISO/>
                    <HOMEPAGE/>
                    <DONT_USE_S/>
                    <DONT_USE_P/>
               </item>
          </HEADER_PARTNER_ADDR>
          <ITEM_CONTROL>
               <item>
                    <DELIV_NUMB>2030000016</DELIV_NUMB>
                    <DELIV_ITEM>0010</DELIV_ITEM>
                    <CHG_DELQTY>X</CHG_DELQTY>
                    <DEL_ITEM/>
                    <VOLUME_FLG>X</VOLUME_FLG>
                    <NET_WT_FLG>X</NET_WT_FLG>
                    <GROSS_WT_FLG>X</GROSS_WT_FLG>
               </item>
          </ITEM_CONTROL>
          <ITEM_DATA>
               <item>
                    <DELIV_NUMB>2030000016</DELIV_NUMB>
                    <DELIV_ITEM>0010</DELIV_ITEM>
                    <MATERIAL>000000000211000001</MATERIAL>
                    <BATCH/>
                    <HIERARITEM/>
                    <USEHIERITM/>
                    <DLV_QTY>2</DLV_QTY>
                    <DLV_QTY_IMUNIT>2</DLV_QTY_IMUNIT>
                    <FACT_UNIT_NOM>2</FACT_UNIT_NOM>
                    <FACT_UNIT_DENOM>2</FACT_UNIT_DENOM>
                    <CONV_FACT>1</CONV_FACT>
                    <GROSS_WT>2000</GROSS_WT>
                    <NET_WEIGHT>2000</NET_WEIGHT>
                    <UNIT_OF_WT>KG</UNIT_OF_WT>
                    <UNIT_OF_WT_ISO>KG</UNIT_OF_WT_ISO>
                    <VOLUMEUNIT>M3</VOLUMEUNIT>
                    <VOLUMEUNIT_ISO/>
                    <SALES_UNIT>TO</SALES_UNIT>
                    <SALES_UNIT_ISO>TO</SALES_UNIT_ISO>
                    <BASE_UOM>TO</BASE_UOM>
                    <BASE_UOM_ISO>TO</BASE_UOM_ISO>
                    <DEL_QTY_FLO></DEL_QTY_FLO>
                    <DLV_QTY_ST_FLO></DLV_QTY_ST_FLO>
                    <STOCK_TYPE/>
                    <VAL_TYPE/>
                    <MATERIAL_EXTERNAL></MATERIAL_EXTERNAL>
                    <MATERIAL_GUID></MATERIAL_GUID>
                    <MATERIAL_VERSION/>
                    <INSPLOT/>
                    <VOLUME>2000</VOLUME>
               </item>
          </ITEM_DATA>
          <ITEM_DATA_SPL>
               <item>
                    <DELIV_NUMB>2030000016</DELIV_NUMB>
                    <DELIV_ITEM>0010</DELIV_ITEM>
                    <STGE_LOC>CT2A</STGE_LOC>
                    <PICK_DENIAL/>
               </item>
          </ITEM_DATA_SPL>
          <ITEM_SERIAL_NO>
               <item>
                    <DELIV_NUMB></DELIV_NUMB>
                    <ITM_NUMBER/>
                    <SERIALNO/>
               </item>
          </ITEM_SERIAL_NO>
          <RETURN>
               <item>
                    <TYPE/>
                    <ID/>
                    <NUMBER/>
                    <MESSAGE/>
                    <LOG_NO/>
                    <LOG_MSG_NO/>
                    <MESSAGE_V1/>
                    <MESSAGE_V2/>
                    <MESSAGE_V3/>
                    <MESSAGE_V4/>
                    <PARAMETER/>
                    <ROW/>
                    <FIELD/>
                    <SYSTEM/>
               </item>
          </RETURN>
          <SUPPLIER_CONS_DATA>
               <item>
                    <DELIV_NUMB></DELIV_NUMB>
                    <ITM_NUMBER/>
                    <SPEC_STOCK/>
                    <SP_STCK_NO/>
                    <REF_QTY/>
                    <BASE_UOM/>
                    <BASE_UOM_ISO/>
                    <DLV_QTY/>
                    <SALES_UNIT/>
                    <SALES_UNIT_ISO/>
               </item>
          </SUPPLIER_CONS_DATA>
          <TOKENREFERENCE>
               <item>
                    <TR_EXT/>
               </item>
          </TOKENREFERENCE>
     </TABLES>
</BAPI_OUTB_DELIVERY_CHANGE>
<?xml version="1.0" encoding="UTF-8"?>
<WS_DELIVERY_UPDATE>
     <INPUT>
          <COMMIT>X</COMMIT>
          <DELIVERY>2030000016</DELIVERY>
          <IF_CONFIRM_CENTRAL> </IF_CONFIRM_CENTRAL>
          <IF_DATABASE_UPDATE>1</IF_DATABASE_UPDATE>
          <IF_ERROR_MESSAGES_SEND_0>X</IF_ERROR_MESSAGES_SEND_0>
          <IF_GET_DELIVERY_BUFFERED> </IF_GET_DELIVERY_BUFFERED>
          <IF_LATE_DELIVERY_UPD> </IF_LATE_DELIVERY_UPD>
          <IF_NO_BUFFER_REFRESH> </IF_NO_BUFFER_REFRESH>
          <IF_NO_GENERIC_SYSTEM_SERVICE> </IF_NO_GENERIC_SYSTEM_SERVICE>
          <IF_NO_INIT> </IF_NO_INIT>
          <IF_NO_MES_UPD_PACK> </IF_NO_MES_UPD_PACK>
          <IF_NO_READ> </IF_NO_READ>
          <IF_NO_REMOTE_CHG></IF_NO_REMOTE_CHG>
          <IF_WMPP> </IF_WMPP>
          <NICHT_SPERREN>X</NICHT_SPERREN>
          <NO_MESSAGES_UPDATE> </NO_MESSAGES_UPDATE>
          <SYNCHRON>X</SYNCHRON>
          <UPDATE_PICKING>X</UPDATE_PICKING>
          <VBKOK_WA>
               <VBELN_VL>2030000016</VBELN_VL>
               <VBTYP_VL/>
               <VBELN/>
               <LGNUM/>
               <TANUM/>
               <KODAT/>
               <KOUHR/>
               <BRGEW/>
               <KZBRG></KZBRG>
               <KZNTG></KZNTG>
               <NTGEW></NTGEW>
               <GEWEI/>
               <VOLUM/>
               <KZVOL></KZVOL>
               <VOLEH/>
               <KOMUE/>
               <WABUC>X</WABUC>
               <WADAT_IST/>
               <KZWAD>X</KZWAD>
               <WADAT>20080812</WADAT>
               <WAUHR>115436</WAUHR>
               <KZLFD></KZLFD>
               <LFDAT></LFDAT>
               <LFUHR></LFUHR>
               <KZTOR></KZTOR>
               <LGTOR/>
               <KZLSP></KZLSP>
               <LIFSK/>
               <LIKP_DEL/>
               <PACKING_REFRESH/>
               <PACKING_FINAL/>
               <PODAT/>
               <POTIM/>
               <KZPOD/>
               <LIFEX/>
               <BOLNR/>
               <PRVBE/>
               <XWMPP/>
               <TRATY/>
               <TRAID/>
               <KZKODAT/>
               <KZEBU/>
               <INCO1/>
               <INCO2/>
               <ROUTE/>
               <LPRIO/>
               <VSBED/>
               <LDDAT>20080812</LDDAT>
               <LDUHR>115436</LDUHR>
               <TDDAT/>
               <TDUHR/>
               <ABLAD/>
               <KZINCO1/>
               <KZINCO2/>
               <KZROUTE/>
               <KZLPRIO/>
               <KZVSBED/>
               <KZLDDAT>X</KZLDDAT>
               <KZTDDAT/>
               <KZABLAD/>
               <KZLIFEX/>
               <DECSPLI/>
               <KZCHGOFF/>
               <IMWRK/>
               <KZREG/>
               <KZLGBZO/>
               <LGBZO/>
               <SPE_ORIG_SYS/>
               <SPE_CHNG_SYS/>
               <SPE_TMPID/>
               <SPE_LOEKZ/>
               <SPE_NO_HU_CONS_CHECK/>
               <SPE_LOGSYS/>
               <SPE_RET_HU_UPDATE_REQUEST/>
               <SPE_GEN_PROCESS/>
               <SPE_WAUHR_IST/>
               <SPE_WAZONE_IST/>
               <SPE_LOC_SEQ/>
               <SPE_ACC_APP_STS/>
               <SPE_ACC_APP_STS_F/>
               <SPE_SHP_INF_STS/>
               <SPE_SHP_INF_STS_F/>
               <SPE_RET_CANC/>
               <SPE_RET_CANC_F/>
               <SPE_QI_STATUS/>
               <SPE_QI_STATUS_F/>
               <SPE_GEOROUTE/>
               <SPE_GEOROUTEIND/>
               <SPE_CARRIER_IND/>
               <SPE_GTS_REL/>
               <SPE_GTS_RT_CDE/>
               <GTS_CUSREF_NO/>
               <BOP_GUID/>
               <SPE_DIRECT_BILLING/>
               <SPE_BILLING_WAIT/>
               <SPE_PRINTER_PROF/>
               <SPE_KZGEOROUTE/>
               <SPE_KZGEOROUTEIND/>
               <SPE_KZCARRIER_IND/>
               <SPE_KZGTS_REL/>
               <SPE_KZGTS_RT_CDE/>
               <SPE_INITIATOR_PROCESS/>
               <SPE_RESET_VLSTK/>
               <SPE_KZTRAID/>
               <SPE_KZTRATY/>
               <SPE_INB_DLV/>
               <SPE_DIST_PROC_CODE/>
               <NO_TEXT_INIT/>
               <NO_MESSAGE_INIT/>
               <BLDAT/>
               <KZBLD/>
               <ANZPK/>
               <KZAPK/>
               <BORGR_KZWAD/>
               <BORGR_KZABL/>
               <MDIFF_BUCH/>
               <MDIFF_STORNO/>
               <KZTXT/>
               <TXTOLD_DEL_ALL_LANG/>
               <SPE_MDNUM_EWM/>
               <SPE_OMDNUM_EWM/>
               <SPE_CD_PLANT/>
               <SPE_CD_PLANTF/>
               <SPE_PRO_NUMBER/>
               <SPE_KZ_PRO_NUMBER/>
               <SPE_RED_IND/>
               <SPE_AUTO_GR/>
               <VORNU/>
               <VORPA/>
               <EXPVZ/>
          </VBKOK_WA>
     </INPUT>
     <TABLES>
          <ET_CREATED_HUS>
               <item>
                    <MANDT/>
                    <VENUM/>
                    <EXIDV/>
                    <EXIDA/>
                    <VSTEL/>
                    <LSTEL/>
                    <BRGEW/>
                    <NTGEW/>
                    <MAGEW/>
                    <TARAG/>
                    <GEWEI/>
                    <BTVOL/>
                    <NTVOL/>
                    <MAVOL/>
                    <TAVOL/>
                    <VOLEH/>
                    <ANZGL/>
                    <ERNAM/>
                    <ERDAT/>
                    <ERUHR/>
                    <AENAM/>
                    <AEDAT/>
                    <AEZET/>
                    <SORTL/>
                    <VEGR1/>
                    <VEGR2/>
                    <VEGR3/>
                    <VEGR4/>
                    <VEGR5/>
                    <VHILM/>
                    <LAENG/>
                    <BREIT/>
                    <HOEHE/>
                    <MEABM/>
                    <ERLKZ/>
                    <GEWTO/>
                    <VOLTO/>
                    <MEINS/>
                    <VOLEH_MAX/>
                    <GEWEI_MAX/>
                    <VBELN_GEN/>
                    <POSNR_GEN/>
                    <INHALT/>
                    <VHART/>
                    <KAPPL/>
                    <KALSM/>
                    <KSCHL/>
                    <MAGRV/>
                    <WERKS/>
                    <PSTYV/>
                    <VKORG/>
                    <VTWEG/>
                    <LADLG/>
                    <LADEH/>
                    <FARZT/>
                    <FAREH/>
                    <ENTFE/>
                    <EHENT/>
                    <LGORT/>
                    <GEWFX/>
                    <VELTP/>
                    <EXIDV2/>
                    <LANDT/>
                    <LANDF/>
                    <NAMEF/>
                    <NAMBE/>
                    <VHILM_KU/>
                    <VPOBJ/>
                    <VPOBJKEY/>
                    <HANDLE/>
                    <WMSTA/>
                    <LGNUM/>
                    <SAPRL/>
                    <KZGVH/>
                    <ADGE_DG/>
                    <ADGE_DGPR/>
                    <UEVEL/>
                    <PACKVORSCHR/>
                    <PACKVORSCHR_ST/>
                    <LABELTYP/>
                    <ZUL_AUFL/>
                    <STATUS/>
                    <HU_LGORT/>
                    <HU_SYSTEM/>
                    <SPE_HDALL/>
                    <SPE_VLSTK/>
                    <SPE_DELDEC/>
                    <SPE_IDART_01/>
                    <SPE_IDENT_01/>
                    <SPE_IDART_02/>
                    <SPE_IDENT_02/>
                    <SPE_IDART_03/>
                    <SPE_IDENT_03/>
                    <SPE_IDART_04/>
                    <SPE_IDENT_04/>
                    <SPE_LOGPOS/>
                    <SPE_CHK_COUNTER/>
                    <EPC1/>
                    <EPC2/>
                    <PACKAGE_CAT/>
                    <TRANSP_INDEX/>
                    <CRIT_SAF_INDEX/>
                    <LYARD/>
                    <YLCCL/>
                    <YLOCT/>
                    <STATS/>
                    <PRRTY/>
                    <FWAGN/>
                    <SCACD/>
                    <OWNER/>
                    <TRNPD/>
                    <SEALN1/>
                    <SEALN2/>
                    <SEALN3/>
                    <SEALN4/>
                    <SEALN5/>
                    <BLIND/>
                    <RSNCD/>
                    <RFTYP/>
                    <REFER/>
                    <PTMST/>
                    <ATMST/>
                    <YDOOR/>
                    <YSTGA/>
                    <URGFL/>
                    <PRFLG/>
                    <SLFLG/>
                    <SIGNI/>
                    <LTEXT/>
                    <UPDKZ/>
                    <KZTRA/>
                    <VEBEZ/>
                    <SORTF/>
                    <AENDB/>
                    <AENDB_WV/>
                    <AENDB_QUAN/>
                    <AENDB_STATUS/>
                    <KZUNT/>
                    <KZOBE/>
                    <FRGEW/>
                    <GEWEI_FR/>
                    <FRVOL/>
                    <VOLEH_FR/>
                    <KZPGN/>
                    <WERFD/>
                    <SELKZ/>
                    <LE_LGPLA/>
                    <LE_LGTYP/>
                    <WM_VERW/>
                    <MTPOS/>
                    <DEST_LGNUM/>
                    <DEST_LGTYP/>
                    <DEST_LGPLA/>
                    <OBJNR/>
                    <KUNNR/>
                    <LIEFNR/>
                    <TARAVAR/>
                    <STSMA/>
                    <HISTU/>
                    <ACTIVITY/>
                    <OBJECT/>
                    <HU_STATUS_INIT/>
                    <LOGSYS/>
                    <HU_LOCKED/>
                    <LETYP_WM/>
                    <TOP_HU_DLVRY/>
                    <KZEBU/>
                    <VWPOS/>
               </item>
          </ET_CREATED_HUS>
          <IT_BAPIADDR1>
               <item>
                    <ADDR_NO/>
                    <FORMOFADDR/>
                    <NAME/>
                    <NAME_2/>
                    <NAME_3/>
                    <NAME_4/>
                    <C_O_NAME/>
                    <CITY/>
                    <DISTRICT/>
                    <CITY_NO/>
                    <POSTL_COD1/>
                    <POSTL_COD2/>
                    <POSTL_COD3/>
                    <PO_BOX/>
                    <PO_BOX_CIT/>
                    <DELIV_DIS/>
                    <STREET/>
                    <STREET_NO/>
                    <STR_ABBR/>
                    <HOUSE_NO/>
                    <STR_SUPPL1/>
                    <STR_SUPPL2/>
                    <LOCATION/>
                    <BUILDING/>
                    <FLOOR/>
                    <ROOM_NO/>
                    <COUNTRY/>
                    <LANGU/>
                    <REGION/>
                    <SORT1/>
                    <SORT2/>
                    <TIME_ZONE/>
                    <TAXJURCODE/>
                    <ADR_NOTES/>
                    <COMM_TYPE/>
                    <TEL1_NUMBR/>
                    <TEL1_EXT/>
                    <FAX_NUMBER/>
                    <FAX_EXTENS/>
                    <STREET_LNG/>
                    <DISTRCT_NO/>
                    <CHCKSTATUS/>
                    <PBOXCIT_NO/>
                    <TRANSPZONE/>
                    <HOUSE_NO2/>
                    <E_MAIL/>
                    <STR_SUPPL3/>
                    <TITLE/>
                    <COUNTRYISO/>
                    <LANGU_ISO/>
                    <BUILD_LONG/>
                    <REGIOGROUP/>
                    <HOME_CITY/>
                    <HOMECITYNO/>
                    <PCODE1_EXT/>
                    <PCODE2_EXT/>
                    <PCODE3_EXT/>
                    <PO_W_O_NO/>
                    <PO_BOX_REG/>
                    <POBOX_CTRY/>
                    <PO_CTRYISO/>
                    <HOMEPAGE/>
                    <DONT_USE_S/>
                    <DONT_USE_P/>
                    <HOUSE_NO3/>
                    <LANGU_CR/>
                    <LANGUCRISO/>
               </item>
          </IT_BAPIADDR1>
          <IT_HANDLING_UNITS>
               <item>
                    <TOP_HU_EXTERNAL/>
                    <TOP_HU_INTERNAL/>
                    <VENUM/>
                    <VEPOS/>
                    <RFBEL/>
                    <RFPOS/>
               </item>
          </IT_HANDLING_UNITS>
          <IT_OBJECTS>
               <item>
                    <OBJTYP/>
                    <OBJKEY/>
                    <OBJKEY2/>
                    <OBJPOS/>
                    <VBELN/>
                    <POSNR/>
                    <MATNR/>
                    <SPLIT_NR/>
               </item>
          </IT_OBJECTS>
          <IT_PACKING>
               <item>
                    <DESTHU/>
                    <SOURCEHU/>
                    <KZUEB/>
                    <QUANTITY/>
                    <MEINS/>
                    <MATNR/>
                    <CHARG/>
                    <WERKS/>
                    <LGORT/>
                    <BESTQ/>
                    <SOBKZ/>
                    <SONUM/>
                    <QPLOS/>
                    <TANUM/>
                    <TAPOS/>
                    <VBELN_VL/>
                    <POSNR_VL/>
                    <ZEILE/>
                    <OBJECT/>
                    <OBJKEY/>
                    <OBJECT_ASSIGNMENT/>
                    <NEW_ALTME/>
               </item>
          </IT_PACKING>
          <IT_PACKING_SERNR>
               <item>
                    <ZEILE/>
                    <SERNR/>
               </item>
          </IT_PACKING_SERNR>
          <IT_REPACK>
               <item>
                    <SOURCEHU/>
                    <DESTHU/>
                    <PACKHU/>
                    <PACK_QTY/>
                    <BASE_UOM/>
                    <MATERIAL/>
                    <BATCH/>
                    <PLANT/>
                    <STGE_LOC/>
                    <STOCK_CAT/>
                    <SPEC_STOCK/>
                    <SP_STCK_NO/>
                    <DELIV_NUMB/>
                    <DELIV_ITEM/>
               </item>
          </IT_REPACK>
          <IT_TMSTMP>
               <item>
                    <EVENT/>
                    <DATE/>
                    <TIME/>
                    <ZONLO/>
                    <TIMESTAMP/>
                    <UPDKZ/>
               </item>
          </IT_TMSTMP>
          <IT_VERPO_SERNR>
               <item>
                    <EXIDV_OB/>
                    <BELNR/>
                    <POSNR/>
                    <SERNR/>
               </item>
          </IT_VERPO_SERNR>
          <PROT>
               <item>
                    <VBELN/>
                    <POSNR/>
                    <MATNR/>
                    <ARKTX/>
                    <LFIMG/>
                    <VRKME/>
                    <CHARG/>
                    <MSGNO/>
                    <MSGTY/>
                    <MSGID/>
                    <MSGV1/>
                    <MSGV2/>
                    <MSGV3/>
                    <MSGV4/>
               </item>
          </PROT>
          <TVPOD_TAB>
               <item>
                    <MANDT/>
                    <HANDLE_LIPS/>
                    <GRUND/>
                    <HANDLE_LIKP/>
                    <UE_HANDLE_LIPS/>
                    <VBELN/>
                    <POSNR/>
                    <LFIMG_DIFF/>
                    <VRKME/>
                    <LGMNG_DIFF/>
                    <MEINS/>
                    <UMVKZ/>
                    <UMVKN/>
                    <PODMG/>
                    <PODMG_LME/>
                    <PODMG_FLO/>
                    <LGMNG_DIFF_FLO/>
                    <LFIMG/>
                    <LGMNG/>
                    <KCMENG_VME/>
                    <KCMENG/>
                    <CALCU/>
                    <MATNR/>
                    <ARKTX/>
                    <PODAT/>
                    <POTIM/>
                    <RUDAT/>
                    <RUTIM/>
                    <FOBEM/>
                    <FOBEW/>
                    <UPDKZ/>
                    <SELKZ/>
                    <PODMUL/>
                    <DEFGR/>
               </item>
          </TVPOD_TAB>
          <VBPOK_TAB>
               <item>
                    <VBELN_VL>2030000016</VBELN_VL>
                    <POSNR_VL>00010</POSNR_VL>
                    <VBELN>2030000016</VBELN>
                    <POSNN>00010</POSNN>
                    <VBTYP_N/>
                    <MATNR>000000000211000001</MATNR>
                    <CHARG/>
                    <WERKS/>
                    <TAQUI>X</TAQUI>
                    <KZNTG></KZNTG>
                    <KZBRG></KZBRG>
                    <KZVOL></KZVOL>
                    <LIANP></LIANP>
                    <LIPS_DEL></LIPS_DEL>
                    <INSMK/>
                    <BESTQ/>
                    <KZPOD/>
                    <NDIFM/>
                    <ORPOS/>
                    <PIKMG>2</PIKMG>
                    <SOBKZ/>
                    <SONUM/>
                    <KZBEF/>
                    <PLMIN></PLMIN>
                    <FORCE_ORPOS_REDUCTION></FORCE_ORPOS_REDUCTION>
                    <LFIMG>2</LFIMG>
                    <LGMNG>2</LGMNG>
                    <LFIMG_FLO/>
                    <LGMNG_FLO/>
                    <UMVKZ/>
                    <UMVKN/>
                    <UMREV/>
                    <AKMNG/>
                    <VRKME/>
                    <MEINS/>
                    <KZFME/>
                    <BRGEW/>
                    <NTGEW/>
                    <GEWEI/>
                    <VOLUM/>
                    <VOLEH/>
                    <LGPLA/>
                    <LGTYP/>
                    <BWLVS/>
                    <XWMPP/>
                    <VFDAT/>
                    <KZVFDAT/>
                    <EBUMG_BME/>
                    <WMS_RFBEL/>
                    <WMS_RFPOS/>
                    <HSDAT/>
                    <KZHSDAT/>
                    <SPE_DIFF_POST_INDICATOR/>
                    <SPE_EXCEPT_CODE/>
                    <SPE_AUTH_NUMBER/>
                    <SPE_RET_QTY_POST/>
                    <SPE_BASE_UOM/>
                    <SPE_AUTH_COMPLET/>
                    <SPE_AUTH_COMPLET_F/>
                    <SPE_RET_CLOSING_INDICATOR/>
                    <SPE_EXP_DATE_EXT_B/>
                    <SPE_EXP_DATE_EXT/>
                    <SPE_MDIFF_INSMK/>
                    <SPE_IMWRK_ITM/>
                    <SPE_IMWRK_ITM_F/>
                    <SPE_ORIG_SYS/>
                    <SPE_***_VEND/>
                    <SPE_***_ITQS/>
                    <SPE_***_SA/>
                    <SPE_LIFEXPOS2/>
                    <SPE_VERSION/>
                    <SPE_DLV_QTY_FROM>1</SPE_DLV_QTY_FROM>
                    <SPE_INMSK_F/>
                    <SPE_LIFEXPOS2_F/>
                    <SPE_INB_ITM_UPD/>
                    <ARKTX/>
                    <LGBZO/>
                    <LGORT></LGORT>
                    <KZLGO/>
                    <LIFEXPOS/>
                    <KZLXP/>
                    <BWTAR/>
                    <KZBWT/>
                    <MFRGR/>
                    <EAN11/>
                    <IDNLF/>
                    <LICHN/>
                    <ABRVW/>
                    <KZTXT/>
                    <TXTOLD_DEL_ALL_LANG/>
                    <MDIFF_BWART/>
                    <MDIFF_GRUND/>
                    <MDIFF_LGORT></MDIFF_LGORT>
                    <MDIFF_AUTO_SPLIT/>
                    <SPE_MDNUM_EWM/>
                    <SPE_MDITM_EWM/>
                    <SPE_OMDNUM_EWM/>
                    <SPE_OMDITM_EWM/>
                    <ORMNG></ORMNG>
                    <SPE_GTS_STOCK_TYPE/>
                    <SPE_LIEFFZ/>
                    <SPE_APO_QNTYFAC/>
                    <SPE_APO_QNTYDIV/>
                    <SPE_PICK_DENIAL/>
                    <SPE_FORCE_ORMNG_UPDATE></SPE_FORCE_ORMNG_UPDATE>
               </item>
          </VBPOK_TAB>
          <VBSUPCON_TAB>
               <item>
                    <VBELN_VL/>
                    <POSNR_VL/>
                    <SOBKZ/>
                    <LVS_SONUM/>
                    <RFMNG/>
                    <MEINS/>
                    <MEINS_ISO/>
                    <LFIMG/>
                    <VRKME/>
                    <VRKME_ISO/>
               </item>
          </VBSUPCON_TAB>
          <VERKO_TAB>
               <item>
                    <EXIDV/>
                    <EXIDA/>
                    <VSTEL/>
                    <LSTEL/>
                    <BRGEW/>
                    <NTGEW/>
                    <MAGEW/>
                    <TARAG/>
                    <GEWEI/>
                    <BTVOL/>
                    <NTVOL/>
                    <MAVOL/>
                    <TAVOL/>
                    <VOLEH/>
                    <ERNAM/>
                    <SORTL/>
                    <MAGRV/>
                    <VHART/>
                    <MEINS/>
                    <VEGR1/>
                    <VEGR2/>
                    <VEGR3/>
                    <VEGR4/>
                    <VEGR5/>
                    <VHILM/>
                    <LAENG/>
                    <BREIT/>
                    <HOEHE/>
                    <MEABM/>
                    <ERLKZ/>
                    <GEWTO/>
                    <VOLTO/>
                    <VOLEH_MAX/>
                    <GEWEI_MAX/>
                    <INHALT/>
                    <WERKS/>
                    <LADLG/>
                    <LADEH/>
                    <FARZT/>
                    <FAREH/>
                    <ENTFE/>
                    <EHENT/>
                    <NAMEF/>
                    <NAMEB/>
                    <LANDT/>
                    <LANDF/>
                    <LGORT/>
                    <GEWFX/>
                    <EXIDV2/>
                    <VHILM_KU/>
                    <OBJECT/>
                    <OBJKEY/>
                    <VENUM/>
                    <PACKVORSCHR/>
                    <PACKVORSCHR_ST/>
                    <STATUS/>
                    <ZUL_AUFL/>
                    <LABELTYP/>
                    <HANDLE/>
                    <LOGSYS/>
                    <SPE_UPDKZ/>
                    <SPE_IDART_01/>
                    <SPE_IDENT_01/>
                    <SPE_IDART_02/>
                    <SPE_IDENT_02/>
                    <SPE_IDART_03/>
                    <SPE_IDENT_03/>
                    <SPE_IDART_04/>
                    <SPE_IDENT_04/>
                    <SPE_LOGPOS/>
                    <SPE_CHK_COUNTER/>
               </item>
          </VERKO_TAB>
          <VERPO_TAB>
               <item>
              

Similar Messages

  • Calling a driver program by submit in user exit for PGI

    Hi Gurus,
    I have a question regarding post goods issue (PGI) for transaction vl01n,vl02n and vl06g.
    earlier i have created a smartofrm and a driver program for sending the form output attachment in a mail after delivery posting manually.
    for this i have created a smartform and driver program in which all the logic to attach and mail send is written on delivery posting.
    but now customer want this fucntionality on Post goods issue (PGI), when user go to trasaction vl01n ,vl02n and vlo6g and pressing PGI button,
    then mail should be sent automatically with for output attachment.
    i have found a user exit which is being triggerd on PGI press MV50AFZ1 in which implemented the implecit enhancement in perform
    user_exit_save_document_prepeare with below code.
    ENHANCEMENT 1  ZPGI_MAIL_SEND.    "active version
    DATA c_zlf TYPE likp-lfart.
    IF sy-ucomm = 'WABU_T' and xlikp-lfart = c_zlf.
    SUBMIT ZSD_DECLARATION_CONFORMITY AND RETURN.
    ENDIF.
    ENDENHANCEMENT.
    After going to transaction vl02n i am putting unposted delivery number and clicking on PGI button.
    in debugging its going to condition check for ucomm for PGI buttion and delivery type.
    if condtion is fullfiled and curser going further on submit statement, but without executing the driver program ZSD_DECLARATION_CONFORMITY it coming out of enhancement.
    its not performing the task which is develped in the driver program.
    Please help me with the submit statement structure if i am missing any or other solution for my problem.
    Br,
    Surya

    Hi Team,
    I have used the perform.
    ENHANCEMENT 1  ZPGI_MAIL_SEND.    "active version
    DATA c_zlf TYPE likp-lfart.
    IF sy-ucomm = 'WABU_T' and xlikp-lfart = c_zlf.
    Perform entry( ZSD_DECLARATION_CONFORMITY )using return screen.
    ENDIF.
    ENDENHANCEMENT.
    Now i am able to communicate with my program.
    Thanks,
    surya

  • What are the different transaction codes for PGI?

    1. What are the different transaction codes for PGI?
    2. What transaction code should I use for a Group Delivery?
    Regards,
    Nazim.

    Hi
    Go to VL02 and you can do the PGI.
    Regfarding Group Delivery, you can create a batch job and link the program to the batch job so that the job picks up all the orders and create deliveries.
    Creating a Background Job Using the Job Wizard
    •From the main menu select System>Services>Jobs>Define Job (transaction SM36).
    •Press the Job Wizard button and step through the screens as follows:
    •1:Continue
    •2: Enter a name for your job. Continue.
    •3: Continue with ABAP Program Step selected
    •4: Enter the ABAP Program Name and variant name.
    Press the Print Parameters button, specify the required printer and set the "Time of Print" to "Send to Print Spooler for now".
    Press green tick
    Continue
    •5: If more reports need to be added to the job tick the checkbox, press continue and repeat screens 3 and 4.
    •6: Select how the job is to scheduled (eg Date and Time)
    •7: Enter the required scheduling information ( eg Date and Time) and if required tick "Periodic Jobs"
    •8: If "Periodic Job" was selected select the frequency (eg Monthly)
    •9: Check the job details and press Complete
    Hope the above info helps.
    Reward if useful
    Regards

  • Determination of Different GL account for PGI (VL01n)

    We have a requirement wherein the customer needs to determine different GL accounts for PGI.
    Following is the  example.
    We need different financial entries for different customers at the time of  PGI (vl01n)
    Scenario 1) Intercompany sales process
                         Debit     1551000 -  Cost of goods sold - Inter-company
                         Credit    6031000 - Stock FG&R
    Scenario 2) Normal sales process (e.g Export)
                          Debit    1510000   Standard COGS
                          Credit   6031000 - Stock FG&R
    Note:- We are using same material for both process.
    Regards
    Amit

    Try as mentioned,
    You can have different movement type,for intercomapany sales,create new movement type  for example - 901 link it with
    a diff. schedule line category.
    For normal sales you can use movment type - 601 link it with schedule line category - 'CP'
    Other settings were done in OBYC,
    for stock account trans. key(BSX) for combination valuation group code,modification key,valuation class,
    assign debit,credit g/l accounts.
    Similary for COGS account trans. key is GBB,do configuration for above combination.

  • BAPI For PGI against sales order

    Dear all,
                 I want BAPI for PGI(Post Goods Issue) against sales order.Can anybody suggest BAPI for this?

    Hi,
    Please check the link given below:
    bapi for PGI
    Hope it will help you.
    Thanks & Regards,
    Sarita singh Rathour

  • BAPI for PGI against Delivery

    Hi all,
    I want BAPI for PGI against Delivery or any Function Module ,which Give All Error Message before PGI Posting.
    Thanks & Regards.

    Hi chaitanya,
    Can u please tell me what are the parameters that need to be passed in the BAPI "WS_DELIVERY_UPDATE" to get the PGI done.
    Thanks & Regards,
    Santhosh

  • PIR reduction for PGI of STO's using delivery note.

    Hi all,
    Thanks in advance for the solution of this problem.
    We have problem for PIR reduction against STO's. Planned qty gets reduces against PGI of STO's and withdrawal qty increases. This causes problem in actual demand qty.
    Steps we do for STO posting.
    1. STO's creation using transaction ME21n
    2. Delivery note creation using transaction VL10b
    3. PGI using transaction Vl02n
    Startegy group : 10
    Requirement Type: LSF
    Requirement Class: 100
    Cosumption Mode: 2
    Movement type for PGI: 641 - Sytem picks up automatically.
    Thanks and Best Regards
    Prakash Shetty

    Hi,
    Not sure I completely understand the problem.  This strategy is supposed to reduce the PIR upon Goods Issue. It only takes into account the PIR and not the Actual demand.  If you want the demand to reduce based on the actual demand, then use strategy 40 which will take into account the greater of forecast or actual demand. Is that what you're trying to do?  Also, pay attention to the backward and forward consumption period as well as how you have your MD74 running to re-organize independent demand.

  • User Exit for PGI

    Dear All,
    I have a requirement where client wants del. qty. & pick qty. should be uneditable i.e. not changeable before PGI. The net wt. i.e. del. qty. & pick qty. is updated in VL02N through weigh bridge system by internally run BDC. Users are creating D.O. by entering a expected qty. in VL01N.
    can anybody suggest any specific USEREXIT for PGI to fix this issue.
    Regards
    Subrat
    Message was edited by:
            subrat panda

    Hi try exit  MV50AFZ1 - This include is reserved for user modifications
    Forms for delivery processing
    also verify OSS note 415716 for this
    sugested code: if user name <> ADMIN User, no change allowed.
    Ask your abapper to do this. (use appropirte user name for ADMIn user)

  • User exit for PGI via delivery (Vl02N)

    Hi Folks
    Can you suggest me appropriate user exit which can be used during PGI for delivery in Vl02N. This should get triggered when POST PGI tab is hit in VL02N.
    Via USer exit I want to change the GL account in the accounting document for PGI ( GL account for Tr price difference which is posted via key AUM (Expense/revenue from stock transfer).
    Please reply ASAP.
    Thanks
    Vipin

    Hi Vipin
    I did a small check in our internal system.
    In VL02n choosing the PGI TAB it hits user exit MV50AFZ1 -> FORM USEREXIT_SAVE_DOCUMENT_PREPARE
    This is the call:
    Main Program     SAPMV50A
    Source code of   FV50XF0B_BELEG_SICHERN
    form BELEG_SICHERN_DET_CHECK
    * Userexit
        PERFORM userexit_save_document_prepare(sapmv50a).
    So you are good to go with MV50AFZ1 just use
    form USEREXIT_SAVE_DOCUMENT_PREPARE
    Kind regards
    Brian

  • Regarding user Exit for PGI

    when user do PGI i need to create the billing document automatically in back ground can any one suggest user exit present for PGI(user can do PGI directly from VL02N or directly for VA01 or VA02 ).............
    Very urgent ...........
    Points will be rewarded for your answers

    Hi try exit MV50AFZ1 - This include is reserved for user modifications
    Forms for delivery processing
    also verify OSS note 415716 for this
    sugested code: if user name <> ADMIN User, no change allowed.
    Ask your abapper to do this. (use appropirte user name for ADMIn user)
    rewards if useful...........
    Thanks.
    abhay.

  • User exit or BADI for PGI with blank movement type

    Hello,
       Am looking for a BADI or user exit which can throw a pop message based on certain checks. The BADI LE_SHP_GOODSMOVEMENT doesn't help because it is not called if the movement type is blank on the delivery (a particular delivery item category in our case).
       USER_EXIT_SAVE_DOCUMENT_PREPARE cannot be used as it is called in update task(?) and can interfere with rest of the processing.
       So which user exit or BADI can I use. Pop message is required after hitting the PGI button on VL02N screen. Access to LIKP, LIPS, VBPA and VBUK is required inside the exit/BADI code for the validations.
    Thanks,
    Rajesh

    Hi Rajesh,
    I have validated  multiple condition in the USEREXIT_SAVE_DOCUMENT_PREPARE   with socndition and I don't have any problem for update  task thing.
    Thi user exit  update only internal table not databse table . once this perform run after that system run for update  to another subroutine USEREXIT_SAVE_DOCUMENT. for updating record in database.
    If you need this run only only for PGI then  please add condition as I mention earlier, it will be work.
    Regards,
    Prasenjit

  • BAPI For PGI for sales order

    Dear all,
    I want BAPI for PGI(Post Goods Issue) against sales order.Can anybody suggest BAPI for this?

    Hi,
    For delivey, we can use BAPI_OUTB_DELIVERY_CREATE_SLS also, along with those mentioned above bapis.
    Even i too had the same requirement earlier, that is, a BAPI for PGI, but dint find any. Finally we did BDC for the PGI part of the sales cycle.
    Regards
    Kalyani

  • Can LT12 of Pick TO reserve the delv itm Qty for PGI?

    Hello All,
            I've come across a feature wherein upon LT12 the Delv Item stocks get reserved for PGI so that no other txn(ex. 311/MB1B StLoc to StLoc etc ) can use those stocks. Is that really possible ,I'm still trying to figure out.. please shed lights if anybody knows?
    Regards
    MM

    Reservation (stored in RESB) is related to IM and has nothing to do with WM.
    Whether you can execute MB1B+311 is related to IM and has nothing to do with WM (from availability point of view).
    You cannot 'reserve' stock in WM in standard SAP. That's all.

  • Report for PGI & billing value with reference to SO Line item

    Dear all,
    Please guide me whether there is any standard report available to check the PGI value and billing at a time with reference to a sales order (line item).
    Thanks & regards.
    Pranab

    as far as I know there is NO such standard report.
    you would try to build sap query based on VBAK/VBAP using VBFA checking LIKP/LIPS and VBRK/VBRP...
    but you may request abaper for more professional report with MKPF/MSEG and BKPF/BSEG

  • Field and Table for PGI status updation

    Hi All,
    I want to know in which field and table the PGI status will get updated.
    i.e. once we do the PGI for a delivery in which table will this PGI status gets updated.
    Thanks in advance for help.
    Harini

    Hi Harini,
    In Table VBUK you 3 different status related fields for  sales documents.
    Over all status field name GBSTK ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its complete open)
    B  Partially processed     ( This means the sales doc is partially processed)
    C  Completely processed  ( This means the sales doc is completly processed)
    Delivery status  and over all delivery status field name LFSTK and LFGSK respectively, these 2 fields will be same always ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its completly  open)
    B  Partially processed     ( This means the delivery doc is partially processed)
    C  Completely processed  ( This means the delivery doc is completly processed)
    So overall status can be  different then delivery or overall delivery status.
    If sales document has 100 quantity for 1 material, if delivery is done for 50 quantity.
    Then over all status field name GBSTK will be B  Partially processed and delivery and overall delivery will be C  Completely processed  .
    Regards
    vK

Maybe you are looking for