‎2009 Jul 17 6:43 AM
hi friends i have 1 variable having some value in this ex count. how should i have to do to replace the count with its value while sending to form.
ex
perform 'BSET-FWSTE( V_TCOUNT )' WA_DATA-FWSTE,
thanks in advance....
‎2009 Jul 17 6:50 AM
‎2009 Jul 17 6:55 AM
PERFORM BDC_FIELD USING 'BSET-FWSTE( V_TCOUNT )' WA_DATA-FWSTE,
‎2009 Jul 17 6:58 AM
try this-- I had done it for a similar requirement. Hope it helps..
concatenate all the variables you wish to pass in a string variable. Then use perform statement on this variable.
CONCATENATE 'RSTXT-TXPARGRAPH(' CTR_STRING ')' INTO CTR_STRING.
CONCATENATE 'RSTXT-TXLINE(' CTR_STRING_LINE ')' INTO CTR_STRING_LINE.
PERFORM BDC_FIELD USING CTR_STRING
'*'.
PERFORM BDC_FIELD USING CTR_STRING_LINERegards,
Sumit Nene.
Edited by: Sumit Nene on Jul 17, 2009 7:58 AM
Edited by: Sumit Nene on Jul 17, 2009 7:58 AM
Edited by: Sumit Nene on Jul 17, 2009 8:01 AM