on 01-12-2006 4:01 PM
I need a sample coding for this function module, form which i should be able to reterieve the values and use the write statement for displaying the values
More sample code.
report zrich_0003 .
type-pools: mrm.
data: irbco type mrm_tab_rbco.
data: xrbco like line of irbco.
parameters: p_belnr type rbkp-belnr.
parameters: p_gjahr type rbkp-gjahr.
start-of-selection.
call function 'MRM_DBTAB_RBCO_READ'
exporting
i_belnr = p_belnr
i_gjahr = p_gjahr
* I_BUFFER_ON = X
importing
te_rbco = irbco
exceptions
entry_not_found = 1
others = 2.
.
loop at irbco into xrbco.
write:/ xrbco-belnr, xrbco-gjahr,
xrbco-buzei.
endloop.
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anitha,
Please Use Treansaction SE37 and enter your function module and search where used.
You can find the code in the programs where this function module has been used.
Function :MRM_DBTAB_RBCO_READ used in program: LMRT3U02
CALL FUNCTION 'MRM_DBTAB_RBCO_READ'
EXPORTING
i_belnr = i_belnr
i_gjahr = i_gjahr
I_BUFFER_ON = i_buffer_on
IMPORTING
TE_RBCO = it_rbco
EXCEPTIONS
entry_not_found = 1.
Lanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anitha,
Try this..
parameters: p_belnr like bseg-belnr,
p_gjahr like bseg-gjahr.
data: it_rbco type mrm_tab_rbco.
CALL FUNCTION 'MRM_DBTAB_RBCO_READ'
EXPORTING
i_belnr = p_belnr
i_gjahr = p_gjahr
I_BUFFER_ON = i_buffer_on
IMPORTING
TE_RBCO = it_rbco
EXCEPTIONS
entry_not_found = 1.
Write statement here for it_rbco.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.