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

BDC

Former Member
0 Likes
484

hey folks,

I am trying to update the MBEW-stprs in MM01 value thru BDC, first it gave me a short dump on more analysisi i found that i would not except decimal values or quantity values,ad BDCDATA-FVAL is char specicific,, so i declared a temp variable converted the decimal to char format,, adn tried to store this value in perfrom bdc FVAL MBEW-STPRS,, but its goin on giving a message that eneter numeric value.

so the material number is not created.....

please help me to change the material, number.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
456

Hi,

Use the WRITE statement from converting the decimal values to character.

WRITE V_PRICE TO BDC_DATA-FVAL.

Thanks,

Naren

3 REPLIES 3
Read only

LeonardoAraujo
SAP Mentor
SAP Mentor
0 Likes
456

You should be able to use statement WRITE to pass teh value of a CURR type variable to a CHAR one. This way, you would get the proper formatting.

Hope it helps.

Leonardo De Araujo

Read only

Former Member
0 Likes
456

Check if the amount has , in it. We need to remove all special characters.

Read only

Former Member
0 Likes
457

Hi,

Use the WRITE statement from converting the decimal values to character.

WRITE V_PRICE TO BDC_DATA-FVAL.

Thanks,

Naren