Sap Hu Serial Number Table

Posted on by

Extracting Delivery document data using class CLSHPDELIVERYPROCDATA ABAP Development. Extracting Delivery document data using class CLSHPDELIVERYPROCDATA. Link to Contents target Space http wiki. ABAPABAPDevelopmentandProgramming. Applies to Developed in ECC 6. Ehp. 4, NW 7. 0. 1. Summary. How to use the methods available in class CLSHPDELIVERYPROCDATA to extract delivery document and related data. Authors  Vinod Kumar T   Company     NIIT Technologies Limited. Created on    2. Authors Bio. Vinod Kumar is an ABAP consultant working with NIIT Technologies Limited, India. Table of Contents. Output Structure of class CLSHPDELIVERYPROCDATA  CLSHPDELIVERYPROCDATA Class        GETDATA Method to extract delivery inforation                    XVBUK Internal table for delivery header status                    XVBUP Internal table for delivery item status                    XLIPS Internal table for delivery item details                    XVBPA Internal table for Partner details                    XVBFA Internal table for document flow                    XVBADR Internal table for partner address                    XLIKPHEADER Structure for delivery header        GETHANDLINGUNITS Method to extact HU details of delivery                    ETHUHEADER Internal table for HU header                    ETHUITEMS Internal table for HU item                    ETHUSERIALNO Internal table for HU Serial Number        GETSERIALNUMBERS Method to extact Serial Number details of delivery                    ETSERNR Internal table for delivery Serial numbersInput Screen. Sample Code. amp Report  ZVKLESHP. Extracting delivery information using class CLSHPDELIVERYPROCDATA. REPORT  zvkleshp. DATA  zclshpdelivery      TYPE REF TO clshpdeliveryprocdata. Advanced Tips. If you have the ADOdb C extension installed, you can replace your calls to rsMoveNext with adodbmovenextrs. This doubles the speed of this. LIPS is an SAP Table used to store SD document Delivery Item data information. Mailmate Shredder Repair on this page. Includes field list, ABAP code, relation to other tables etc. TYPE REF TO cxshperrormessage. DATA  lsmessage            TYPE bapiret. TYPE vbukvb,            Header status. TYPE vbupvb,            Item status. TYPE lipsvb,            Item details. TYPE vbpavb,            Partner details. TYPE vbfavb,            document flow. Sap Hu Serial Number Table' title='Sap Hu Serial Number Table' />TYPE sadrvb. Address details. DATA  ltvekp               TYPE humhuheadert,   Hu Header Itab. TYPE vekpvb,            HU header Wa. TYPE humhuitemt,     Hu Item itab. TYPE vepovb,            HU items. TYPE rserobt,          Delivery Sr No. TYPE vseptrserob,     HU Srno itab. TYPE rserob.             HU Serial No. SELECTION SCREEN BEGIN OF BLOCK b. WITH FRAME. PARAMETERS  pvbeln TYPE vbelnva. SELECTION SCREEN END OF BLOCK b. START OF SELECTION. CREATE OBJECT zclshpdelivery. Read the Delivery Information . Sap Hu Serial Number Table' title='Sap Hu Serial Number Table' />EXPORTING. Get Delivery Header Information. Extract the data from attribute  zclshpdelivery xlikpheader . WRITE   Delivery No , zclshpdelivery xlikpheader vbeln COLOR 5. WRITE   Created By  , zclshpdelivery xlikpheader ernam COLOR 5. WRITE   Created On  , zclshpdelivery xlikpheader erdat COLOR 5. Get Header status. Extract the data from attribute  zclshpdelivery xvbuk . WRITE   Header status details COLOR 1. LOOP AT zclshpdelivery xvbuk INTO lsvbuk. WRITE   Billing status  , lsvbuk fkstk. Write required column values . F.79:_C_FI_Maintain_Table_T045G.png' alt='Sap Hu Serial Number Table' title='Sap Hu Serial Number Table' />Get Line item details. Extract the data from attribute  zclshpdelivery xlips . WRITE   Line item details COLOR 1. LOOP AT zclshpdelivery xlips INTO lslips. WRITE   Line item  , lslips posnr. SQM15.JPG?version=1&modificationDate=1355750681000&api=v2' alt='Sap Hu Serial Number Table' title='Sap Hu Serial Number Table' />There is no direct link. The serial numbers are assigned to the object type in this case HU. The serial number contents is linked to the object type via the tables SERxx. WRITE   Item Category , lslips pstyv. WRITE   Delivery Qty , lslips lfimg. Write required column values . Get Line item status. Extract the data from attribute  zclshpdelivery xvbup . WRITE   Line item status details COLOR 1. LOOP AT zclshpdelivery xvbup INTO lsvbup. WRITE   Line item  , lsvbup posnr. WRITE   Billing status , lsvbup fksta. Write required column values . Get Partner function details. Extract the data from attribute  zclshpdelivery xvbpa . WRITE   Partner function details COLOR 1. LOOP AT zclshpdelivery xvbpa INTO lsvbpa. Gpib Usb Hs Driver Download there. WRITE   Line item , lsvbpa posnr. WRITE  Partner Fn , lsvbpa parvw. IF lsvbpa kunnr IS NOT INITIAL. WRITE  Customer No , lsvbpa kunnr. ELSEIF lsvbpa lifnr IS NOT INITIAL. WRITE  Vendor No   , lsvbpa lifnr. ELSEIF lsvbpa pernr IS NOT INITIAL. WRITE  Emp No      , lsvbpa pernr. Specifying HU Numbers. You can set the value X in the file in the column EXTNO. SAP WM Process, Functionality, Scope, Benefits, Advantages, DisadvantageComplete ReferencePart 3 Continuation of Part 1 Part 2. This document is aimed at explaining the basics around the Serial number functionality with specific reference to Discrete ProductionGoods Movements. The base. WRITE  Partner Nm , lsvbpa name. Write required column values . Get document flow details. Extract the data from attribute  zclshpdelivery xvbfa . WRITE   Document flow details COLOR 1. LOOP AT zclshpdelivery xvbfa INTO lsvbfa. Write required column values . Get Address details. Extract the data from attribute  zclshpdelivery xvbadr . WRITE   Address details COLOR 1. LOOP AT zclshpdelivery xvbadr INTO lsvbadr. Sap Hu Serial Number Table' title='Sap Hu Serial Number Table' />Hi, I have performed a remoted client copy of ECP300 to ECQ system using. SAPALL Profile and the client copied successfully. After the client. WRITE   Address No , lsvbadr adrnr. WRITE   Name  , lsvbadr name. Write required column values . Get Handling Unit details related to delivery. REFRESH  ltvekp, ltvepo, ltsrno. EXPORTING. ifvbeln        pvbeln. IMPORTING. ethuheader    ltvekp. Extract Handling Unit details. WRITE   Handling unit details COLOR 1. LOOP AT ltvekp INTO lsvekp. Write required fields in header. WRITE   HU No  , lsvekp venum. WRITE   Ext. Idn. No  , lsvekp exidv. WRITE   Shipping Pt , lsvekp vstel. LOOP AT ltvepo INTO lsvepo WHERE venum  lsvekp venum. WRITE   HU Item  , lsvepo vepos. WRITE   Pack Qty , lsvepo vemng. Write required fields in Item. ENDLOOP. Extract Handling Sr No details. WRITE   Handling unit Serial Numbers COLOR 1. LOOP AT ltsrno INTO lssrno. WRITE   Delivery No  ,lssrno liefnr. WRITE   Del Line Item ,lssrno posnr. WRITE   HU No , lssrno venum. WRITE   HU Line , lssrno vepos. WRITE   Sr. No  , lssrno sernr. Get Serial numbers related to delivery. REFRESH  ltdsrno. EXPORTING. ifvbeln  pvbeln. IMPORTING. etsernr  ltdsrno . WRITE   Delivery Serial Numbers COLOR 1. LOOP AT ltsrno INTO lssrno. WRITE   Delivery No  ,lssrno liefnr. WRITE   Del Line Item ,lssrno posnr. WRITE   Sr. No  , lssrno sernr. CATCH cxshperrormessage INTO zcxshperrormessage. WRITE   Exception  , lsmessage message.