‎2007 May 23 10:18 AM
Hi Gurus
in d below code everything is fine but am not able to get what values should i put ther in the SUBMIT statement.please give me examples of what should be given in the SUBMIT statement especially for BUDAT & SAKNR
with regards
vijay
TABLES:SKB1,bsis.
types: begin of gty_acccoco,
saknr like ska1-saknr,
bukrs like skb1-bukrs,
gvtyp like ska1-gvtyp,
end of gty_acccoco.
tables: b0sg, rfxpo, itemset.
tables: sscrfields.
data: gt_accoco type standard table of gty_acccoco,
gt_accoco_bs type standard table of gty_acccoco,
gd_accoco type gty_acccoco.
selection-screen function key 1.
selection-screen begin of block glaccount with frame title text-w02.
select-options: GLACCT for skb1-saknr modif id wkl no database selection.
selection-screen end of block glaccount.
selection-screen begin of block company with frame title text-w03.
select-options: CODE for skb1-bukrs modif id wkl no database
selection.
selection-screen end of block company.
selection-screen begin of block items with frame title text-007.
selection-screen begin of block status with frame title text-002.
selection-screen begin of line.
parameters x_opsel like itemset-xopsel radiobutton group rad1. .
selection-screen comment 3(20) text-003 for field x_opsel.
selection-screen end of line.
parameters pa_stida like rfpdo-allgstid default sy-datlo.
selection-screen skip.
selection-screen begin of line.
parameters x_clsel like itemset-xclsel radiobutton group rad1.
selection-screen comment 3(25) text-004 for field x_clsel.
selection-screen end of line.
select-options so_augdt for bsis-augdt no database selection.
parameters pa_stid2 like rfpdo-allgstid.
selection-screen skip.
selection-screen begin of line.
parameters x_aisel like itemset-xaisel radiobutton group rad1 DEFAULT 'X'.
selection-screen comment 3(20) text-005 for field x_aisel.
selection-screen end of line.
select-options so_budat for bsis-budat no database selection.
selection-screen end of block status.
selection-screen begin of block type with frame title text-006.
parameters: x_norm like itemset-xnorm as checkbox default 'X',
x_shbv like itemset-xshbv no-display,
x_merk like itemset-xmerk as checkbox,
x_park like itemset-xpark as checkbox,
x_apar like itemset-xarit no-display.
selection-screen end of block type.
selection-screen end of block items.
selection-screen begin of block list with frame title text-001.
selection-screen end of block list.
*select-options so_faedt for it_pos-faedt no-display.
parameters: pa_cent type c no-display.
data: gp_yrper type rwcoom-fiscper.
select-options: so_yrper for gp_yrper no-display.
parameters: pa_inet type c no-display.
START-OF-SELECTION.
SUBMIT RFITEMGL
WITH ALCUR
WITH EXCDT
WITH PA_CENT
WITH PA_GRID
WITH PA_INET
WITH PA_NMAX
WITH PA_STID2
WITH PA_STIDA
WITH PA_VARI
WITH PA_WLBUK
WITH PA_WLSAK
WITH SD_APOPT
WITH SD_AUGDT
WITH SD_BSCHL
WITH SD_BUDAT
WITH SD_BUKRS
WITH SD_FILES
WITH SD_GSBER
WITH SD_GSB_B
WITH SD_IARCH
WITH SD_KOSTL
WITH SD_KTOPL
WITH SD_MEMOR
WITH SD_NOAUT
WITH SD_NOOAP
WITH SD_OBJEC
WITH SD_OPOPT
WITH SD_SAKNR
WITH SD_SHKZG
WITH SD_STIDA
WITH SD_TPC
WITH SD_USEAR
WITH SD_USEAS
WITH SD_USEDB
WITH SD_VBUND
WITH SD_WERKS
WITH SD_ZUONR
WITH SO_ASKTO
WITH SO_AUGDT
WITH SO_BUDAT
WITH SO_BWWR2
WITH SO_BWWR3
WITH SO_BWWRT
WITH SO_DMBE2
WITH SO_DMBE3
WITH SO_DMSHB
WITH SO_FAEDT
WITH SO_GSBER
WITH SO_HWAE2
WITH SO_HWAE3
WITH SO_HWAER
WITH SO_JAMON
WITH SO_KKBWR
WITH SO_KOART
WITH SO_KURSE
WITH SO_QBSHB
WITH SO_QSFBT
WITH SO_QSSHB
WITH SO_SHKZG
WITH SO_SKFBT
WITH SO_SKNTO
WITH SO_VERZ1
WITH SO_VERZN
WITH SO_WAERS
WITH SO_WLBUK
WITH SO_WLSAK
WITH SO_WRSHB
WITH SO_WSKTO
WITH SO_YRPER
WITH SO_ZALDT
WITH SO_ZINSZ
WITH XX_BUKRS
WITH XX_KTOPL
WITH X_AISEL
WITH X_APAR
WITH X_CLSEL.
WITH X_MERK
WITH X_NORM
WITH X_OPSEL
WITH X_PARK
WITH X_SHBV
‎2007 May 23 10:50 AM
put values from select option GLACCT in saknr
and values from select option so_budat in saknr
‎2007 May 23 10:50 AM
put values from select option GLACCT in saknr
and values from select option so_budat in saknr
‎2007 May 23 11:20 AM
vijay ,.... i did for your program use it .. just copy and try it
REPORT z_find_userexit NO STANDARD PAGE HEADING.
TABLES:SKB1,bsis.
types: begin of gty_acccoco,
saknr like ska1-saknr,
bukrs like skb1-bukrs,
gvtyp like ska1-gvtyp,
end of gty_acccoco.
tables: b0sg, rfxpo, itemset.
tables: sscrfields.
data: gt_accoco type standard table of gty_acccoco,
gt_accoco_bs type standard table of gty_acccoco,
gd_accoco type gty_acccoco.
selection-screen function key 1.
selection-screen begin of block glaccount with frame title text-w02.
select-options: GLACCT for skb1-saknr modif id wkl no database selection.
selection-screen end of block glaccount.
selection-screen begin of block company with frame title text-w03.
select-options: CODE for skb1-bukrs modif id wkl no database
selection.
selection-screen end of block company.
selection-screen begin of block items with frame title text-007.
selection-screen begin of block status with frame title text-002.
selection-screen begin of line.
parameters x_opsel like itemset-xopsel radiobutton group rad1. .
selection-screen comment 3(20) text-003 for field x_opsel.
selection-screen end of line.
parameters pa_stida like rfpdo-allgstid default sy-datlo.
selection-screen skip.
selection-screen begin of line.
parameters x_clsel like itemset-xclsel radiobutton group rad1.
selection-screen comment 3(25) text-004 for field x_clsel.
selection-screen end of line.
select-options so_augdt for bsis-augdt no database selection.
parameters pa_stid2 like rfpdo-allgstid.
selection-screen skip.
selection-screen begin of line.
parameters x_aisel like itemset-xaisel radiobutton group rad1 DEFAULT 'X'.
selection-screen comment 3(20) text-005 for field x_aisel.
selection-screen end of line.
select-options so_budat for bsis-budat no database selection.
selection-screen end of block status.
selection-screen begin of block type with frame title text-006.
parameters: x_norm like itemset-xnorm as checkbox default 'X',
x_shbv like itemset-xshbv no-display,
x_merk like itemset-xmerk as checkbox,
x_park like itemset-xpark as checkbox,
x_apar like itemset-xarit no-display.
selection-screen end of block type.
selection-screen end of block items.
selection-screen begin of block list with frame title text-001.
selection-screen end of block list.
*select-options so_faedt for it_pos-faedt no-display.
parameters: pa_cent type c no-display.
data: gp_yrper type rwcoom-fiscper.
select-options: so_yrper for gp_yrper no-display.
parameters: pa_inet type c no-display.
SUBMIT RFITEMGL
WITH ALCUR in GLACCT
* WITH EXCDT ...
WITH PA_CENT = pa_cent
* WITH PA_GRID ...
WITH PA_INET = pa_inet
* WITH PA_NMAX ...
WITH PA_STID2 = pa_stid2
WITH PA_STIDA = pa_stida
* WITH PA_VARI ...
* WITH PA_WLBUK ...
* WITH PA_WLSAK ...
* WITH SD_APOPT ...
WITH SD_AUGDT in so_augdt
* WITH SD_BSCHL ...
* WITH SD_BUDAT ...
WITH SD_BUKRS in CODE
* WITH SD_FILES ...
* WITH SD_GSBER ...
* WITH SD_GSB_B ...
* WITH SD_IARCH ...
* WITH SD_KOSTL ...
* WITH SD_KTOPL ...
* WITH SD_MEMOR ...
* WITH SD_NOAUT ...
* WITH SD_NOOAP ...
* WITH SD_OBJEC ...
* WITH SD_OPOPT ...
* WITH SD_SAKNR ...
* WITH SD_SHKZG ...
* WITH SD_STIDA ...
* WITH SD_TPC ...
* WITH SD_USEAR ...
* WITH SD_USEAS ...
* WITH SD_USEDB ...
* WITH SD_VBUND ...
* WITH SD_WERKS ...
* WITH SD_ZUONR ...
* WITH SO_ASKTO ...
* WITH SO_AUGDT ...
* WITH SO_BUDAT ...
* WITH SO_BWWR2 ...
* WITH SO_BWWR3 ...
* WITH SO_BWWRT ...
* WITH SO_DMBE2 ...
* WITH SO_DMBE3 ...
* WITH SO_DMSHB ...
* WITH SO_FAEDT ...
* WITH SO_GSBER ...
* WITH SO_HWAE2 ...
* WITH SO_HWAE3 ...
* WITH SO_HWAER ...
* WITH SO_JAMON ...
* WITH SO_KKBWR ...
* WITH SO_KOART ...
* WITH SO_KURSE ...
* WITH SO_QBSHB ...
* WITH SO_QSFBT ...
* WITH SO_QSSHB ...
* WITH SO_SHKZG ...
* WITH SO_SKFBT ...
* WITH SO_SKNTO ...
* WITH SO_VERZ1 ...
* WITH SO_VERZN ...
* WITH SO_WAERS ...
* WITH SO_WLBUK ...
* WITH SO_WLSAK ...
* WITH SO_WRSHB ...
* WITH SO_WSKTO ...
WITH SO_YRPER in so_yrper
* WITH SO_ZALDT ...
* WITH SO_ZINSZ ...
* WITH XX_BUKRS ...
* WITH XX_KTOPL ...
WITH X_AISEL = X_AISEL
WITH X_APAR = X_APAR
WITH X_CLSEL = x_clsel
WITH X_MERK = x_merk
WITH X_NORM = x_norm
WITH X_OPSEL = x_opsel
WITH X_PARK = X_PARK
WITH X_SHBV = X_SHBV
and return .Girish
‎2007 May 23 11:52 AM
HI Girish
the code u gave me a runtime error at the WITH ALCUR in GLACCT....Please look into into it i tried with WITH SAKNR IN GLACCT But am getting no text selected...please help
vijay