2011 Feb 24 4:47 AM
i written bdc for mfbf for componet blackflush for raw material conformation . when iam running bdc in fore ground it is ok sucessfulyy material document generated but in fore ground input value is longer then the screen field .messages ocured .
but when iam running in back ground bdc its not generated any document
i captured the messags for the transcation in message table input value is longer then the screen field .
this message in line item quantity field .
for this i taken char field and lenth of same lenth of menge field .
and the value is assignd the that char field . and also condensed . but still problem is there
CONCATENATE 'COWB_COMP-ERFMG_R' '(0' G_COUNT ')'
INTO G_STRING.
G_STR_QUAN = WA_MIGO_309-F_MENGE .
CONDENSE G_STR_QUAN .
PERFORM BDC_FIELD USING G_STRING
G_STR_QUAN .
any solustion for this
Moderator message: please use more descriptive subject lines for your posts.
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
Edited by: Thomas Zloch on Feb 24, 2011 10:20 AM
2011 Feb 24 5:54 AM
HI,
What are u doing in this part of code
CONCATENATE 'COWB_COMP-ERFMG_R' '(0' G_COUNT ')'
INTO G_STRING.Why are u concatenating the ZERO take the G_COUNT of Type N with lenght of 2 and
do this
Loop at it.
G_COUNT = G_COUNT + 1.
CONCATENATE 'COWB_COMP-ERFMG_R' '(' G_COUNT ')'
INTO G_STRING.
EndLoop.Regards,
Madhukar Shetty
2011 Feb 24 5:54 AM
HI,
What are u doing in this part of code
CONCATENATE 'COWB_COMP-ERFMG_R' '(0' G_COUNT ')'
INTO G_STRING.Why are u concatenating the ZERO take the G_COUNT of Type N with lenght of 2 and
do this
Loop at it.
G_COUNT = G_COUNT + 1.
CONCATENATE 'COWB_COMP-ERFMG_R' '(' G_COUNT ')'
INTO G_STRING.
EndLoop.Regards,
Madhukar Shetty
2011 Feb 24 7:49 AM
thanks,
i changed according to u ,
but still problem is there .
2011 Feb 24 8:30 AM
HI,
Run the bdc in fore ground and check it might be giving the same message in the status bar.
And revert back that on which screen and screen field it is giving message .
Regards,
Madhukar Shetty