on 11-05-2007 6:49 PM
Hi experts,
i am little bit confusion in this statement.please help me what should be exacltl code
j_1iexcdtl-exbas or if this field is initial, then get j_1iassval-j_1ivalass field for material and plant combinatio valid for creation date
i have writen code:(se38)
select exbas from j_1iexcdtl into itab where matnr = matnr and werks =werks
if j_1iexcdt-exbas is initial.
select j_1ivalass from j_1iassval into itab2 where matnr = matnr and werks = werks
end if.
according to ths.
how to write this condtion in smartforms to print like above
please help me.
regards,
satya
Hi
Create PROGRAM LINES in the smartform and write the similar code for the data
select single exbas from j_1iexcdtl into v_exbas where matnr = matnr and werks =werks
if sy-subrc <> 0.
select single j_1ivalass from j_1iassval into v_valass where matnr = matnr and werks = werks.
end if.
declare all the variables(global) werks, Matnr and the variables for the 2 fields
and use them
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.