Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hi experts

Former Member
0 Likes
670

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
632

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

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

3 REPLIES 3
Read only

Former Member
0 Likes
633

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

Read only

0 Likes
632

thanks,

i changed according to u ,

but still problem is there .

Read only

0 Likes
632

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