on 02-20-2007 5:52 PM
Hi,
I am using SRM 4.00 fin project.
I devloped costome ITS program . i ams ending the values from module pool PBO to html template by using field-set macro.
But i ma not able to reda thsoe values in HTMl.
When itry to debugg then the values are reaching to Html template..
I devloped few programs in SRm3.5 but i never face this problam.
Wy the values are not recahing html when i executing without debugg.
I am using bellow code in PBO.
<b><b>hold_tabix = 0.
loop at t_itab into wa_itab.
add 1 to hold_tabix.
field-set 'RESID' hold_tabix wa_itab-r_code.
field-set 'RESDIS' hold_tabix wa_itab-text.
endLOOP.
field-transport.</b>
and in HTML template.
`repeat with i from 1 to RESID.dim`
`RESID<i>` *********** `RESDIS<i>` <br>
`end`</b>
Hi,
If you have any docs related to ITS development then kindly share with me at mr.abaper at gmail dot com
rg
sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try out this...
<b>To set the values in use the keyword
field-set</b> in PBO Module
<b>To get the values in use the keyword
field-get</b> in PAI Module
or Else,
<b>To get the values in use the keyword
field-transport </b>
Please give more details, incase any other information is required.
Hope this will help.
Please reward suitable points.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using thios ekeo wards in PBO.
Like bellow
<b>hold_tabix = 0.
loop at t_itab into wa_itab.
add 1 to hold_tabix.
field-set 'RESID' hold_tabix wa_itab-r_code.
field-set 'RESDIS' hold_tabix wa_itab-text.
endLOOP.</b> endif.
field-transport.
and in HTMl using like
`repeat with i from 1 to 2`
`RESID<i>` *********** `RESDIS<i>` <br>
`end`
Message was edited by:
Srikanth Akula
I have only one screen(0100)
find the code in PBO
PROGRAM ZPOPUP.
data: begin of itab occurs 0,
name like adrc-name1,
end of itab.
data: name(10) type c.
data : fill TYPE i.
data: RR_NOTE(160) type c,
SC_NUM(10),
SC_NUM1(10).
data: idx TYPE i,
line TYPE i.
INCLUDE AVWRTCXM.
data: RESID_HTML(132) OCCURS 0 WITH HEADER LINE,
RESDES_HTML(255) OCCURS 0 WITH HEADER LINE,
SCNUMBER_HTML(255) OCCURS 0 WITH HEADER LINE,
lv_datalan TYPE i.
data:ok_code like sy-ucomm.
DATA:BEGIN OF context_tab OCCURS 0.
INCLUDE STRUCTURE savwctxt.
DATA:END OF context_tab.
types : begin of itab,
r_code type BBP_IVREA-REASON_CODE,
text type BBP_IVREAT-text,
end of itab.
types: t_tab TYPE itab OCCURS 0.
DATA: t_itab TYPE standard table of itab.
data: wa_itab like line of t_itab.
MODULE STATUS_0100 OUTPUT.
perform get_its_context.
data: hold_tabix type i.
select BBP_IVREA~REASON_CODE BBP_IVREAT~TEXT into
table t_itab
from bbp_ivrea inner join bbp_ivreat on
BBP_IVREA~MANDT = BBP_IVREAT~MANDT and
BBP_IVREA~REASON_CODE = BBP_IVREAT~REASON_CODE.
hold_tabix = 0.
loop at t_itab into wa_itab.
add 1 to hold_tabix.
field-set 'RESID' hold_tabix wa_itab-r_code.
field-set 'RESDIS' hold_tabix wa_itab-text.
endLOOP.
endif.
field-transport.
ENDMODULE. " STATUS_0100 OUTPUT
Code for HTML template is
<html>
<head>
</head>
<body>
`repeat with i from 1 to RESID.dim`
`RESID<i>` *********** `RESDIS<i>` <br>
`end`
</body>
</html>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.