Professional Documents
Culture Documents
VBAK
mandt VBELN ERDAT ERNAM
800 4969 02.01.2018 TRAINEE01
800 4970 11.02.2018 TRAINEE01
800 4971 22.04.2018 TRAINEE01
800 4972 22.04.2018 TRAINEE01
800 4973 23.06.2018 TRAINEE01
LIKP
mandt VBELN(delivry no) ERDAT VSTEL
800 80003370 02.01.2018 1000
800 80003371 11.02.2018 1200
800 80003372 22.04.2018 1000
800 80003373 22.04.2018 1200
800 80003374 23.06.2018 1900
800 80003375 23.06.2018 1900
800 80003376 23.06.2018 1900
LIPS
mandt VBELN POSNR PSTYV
800 80003370 10 TAN
800 80003370 20 TAN
800 80003370 30 TAN
800 80003371 10 DLN
P
VKORG LFART LFDAT KUNNR KUBAG
1000 LF 07.01.2018 1390 1390
1000 LF 22.02.2018 1175 1175
1000 LF 01.05.2018 1001 1001
1001 LF 27.04.2018 2200 2200
1000 LF 29.06.2018 1390 1390
1000 LF 29.06.2018 1001 1001
1000 LF 29.06.2018 1001 1001
Fetch related data from table VBAK,LIKP, LIPs for the range of Sales order entered by the User.
Display the records using OOALV. Refer the Output Design shown in the next tab.
On clicking back button , return to main Selection Screen
To display data from 2 tables, use inner join based on KUNNR(VBAK-KUNNR = LIKP-
KUNNR).
To display data from 3 tables, use multiple inner join with key field on KUNNR(VBAK-
KUNNR = LIKP-KUNNR) and VBAK-VBELN = LIPS-VGBEL).
OR
Make use of FOR ALL ENTRIES.
Selection Criteria
VBAK-VBELN
VBAK-KUNNR
Button to display OOALV
Button to call AdobeForm
Generate an OOALV Report by using OOALV Containers .Enhance the report by implementing below features
1)Apply Field catalogs.
2) List Header should be displayed as DELIVERY DETAILS on the top of the ALV Report as shown.
3)The records in the table must be alternately shaded.
Additional features
4)Add Capgemin Logo
Sales order number mandatory Multiple Selection OR
Customer number optional Multiple Selection
BACK BUTTON
VBAK-VKORG VBAK-KUNNR
K General data
Page No : 1 of 10
1) Input: Take in a range of Sales order no from the user .
2) Data should flow to multiple pages.
3) Main window: Display Sales details for the accepted range of Sales Document No. For Sales details refe
4) Footer window: Make use of text modules to display Terms and Conditions
5) Logo should appear only on first page
6) Footer window only on last page
7) Title and Page nos must be printed on all the pages.
8) Data Fetch logic should be in the driver program. Internal table should be passed from driver program to
1.Create CDS View to view the below fields Field
Output
VBAK-KUNNR
VBAK-VBELN
VBAK-ERDAT
VBAK-ERNAM
VBAK-AUDAT
VBAK-LIFSK
VBAK-NETWR
VBAK-WAERK
LIKP-LFART
LIKP-LFDAT
LIPS-POSNR
LIPS-MATNR
LIPS-WERKS
Hint It’s Inner join across the 3 tables VBAK.VBELN and LIKP.VBELN and LIPS.V
Calculations Priority has to be calculated based Order price(VBAK-NETWR)
'LOW'
MEDIUM'
2 write a Program to Display the result of CDS2 in ALV using IDA and and
using IDA and and for the Given Input S_VBELN(SELECT OPTIONS)
using IDA and and for the Given Input S_VBELN(SELECT OPTIONS)
write a program display the Below Ouput using ADBC for HANA_SQL
VBAK-KUNNR
VBAK-VBELN
VBAK-ERDAT
VBAK-ERNAM
VBAK-AUDAT
VBAK-LIFSK
VBAK-NETWR
VBAK-WAERK
LIKP-LFART
LIKP-LFDAT
LIPS-POSNR
LIPS-MATNR
LIPS-WERKS
Hint Priority
It’s Innerhas
jointoacross
be calculated based
the 3 tables Order price(VBAK-NETWR)
VBAK.VBELN and LIKP.VBELN and LIPS.VBELN
CalculationERNAM Should be in upper case
WHEN NETWR is between 1 and 5000 the 'LOW'
when it is between 5001 and 10000 then 'MEDIUM'
when above 10000 , it's 'HIGH'
Q1 Create a HANA Procedure using AMDP
importing SalesDocs TYPE STRING
Exporting it_res (Internal Table) TYPE TABLE TYPE With all the Below Fields
VBAK-KUNNR
VBAK-VBELN
VBAK-ERDAT
VBAK-ERNAM
VBAK-AUDAT
VBAK-LIFSK
VBAK-NETWR
VBAK-WAERK
LIKP-LFART
LIKP-LFDAT
LIPS-POSNR
LIPS-MATNR
LIPS-WERKS
Hint Priority
It’s Innerhas
jointoacross
be calculated based
the 3 tables Order price(VBAK-NETWR)
VBAK.VBELN and LIKP.VBELN and LIPS.VBELN
Calculations ERNAM Should be in upper case
WHEN NETWR is between 1 and 5000 the 'LOW'
when it is between 5001 and 10000 then 'MEDIUM'
when above 10000 , it's 'HIGH'
Q2 Write a Program to call the above AMDP Method for the Given S_VBELN and Display the result
INPUT S_VBELN SELECT-OPTIONS Refer VBAK.VBELN
E With all the Below Fields
R)and LIPS.VBELN