Sunday, May 12, 2013
RP-READ-INFOTYPE - Macro is used to retrieve all infotype records for one person in a given time period are put in one internal infotype table..
Example:
RP-READ-INFOTYPE PERNR-PERNR 0006 P0006 PN-BEGDA PN-ENDDA.
Report without LDB
Example:
RP-READ-INFOTYPE PERNR-PERNR 0006 P0006 PN-BEGDA PN-ENDDA.
Inputs
|
PERNR-PERNR
|
Requested Personal number
|
0006
|
Subtype
|
|
P0006
|
Output Table Like PNNNN
|
|
PN-BEGDA
|
Requested Interval-Begin
|
|
PN-ENDDA
|
Requested Interval-Begin
|
|
Output
|
PNP-SW-FOUND
|
|
PNP-SW-AUTH-SKIPPED-RECORD
|
|
|
P0006
|
Internal infotype table, containing all matching records for which the
user is authorized
|
Report without LDB
DATA DATE01 TYPE DATUM. PARAMETERS: P_PERNR TYPE P0001-PERNR. SELECT-OPTIONS:S_DATES FOR DATE01 NO-EXTENSION. START-OF-SELECTION. RP-READ-INFOTYPE P_PERNR 0006 P0006 S_DATES-LOW S_DATES-HIGH. LOOP AT P0006. WRITE: / P0006-PERNR, P0006-ANSSA, P0006-BEGDA, P0006-ENDDA. ENDLOOP.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
one correction - 0006 is not subtype is infotype (parameter list of RP_READ_INFOTYPE )
ReplyDelete