on 05-01-2006 4:22 PM
Hi,
I have a Problem in a BDC. I am trying to populate pick quantity filed in my BDC ( Tcode VL02N ) the BDC works fine for a particular user default setting( NNN,NNN.NN ). But is the same program is used by some other user whose Default settings are different ( NNN.NNN,NN ) BDC fails .
I need to convert the value based on user default before passing it to the field in BDC.
pl. suggest me the solution .
Thanks.
Hitesh
Hi Hitesh,
you can check the user setting from table USR01. using the field <b>DCPFM</b> "decimal notation, you can find the setting for a user and based on that you can proceed.
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi hitesh ,
goto table usr01 and get the decimal point format
(usr01-dcpfm) then check the value range and write a routine to handle that decimal notation.
plz reward if satisfied
regards
ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try to use the WRITE command before transfering the value to BDC table
DATA: QUANTITY(20) TYPE C.
WRITE <QUANTITY> UNIT <UNIT> TO QUANTITY.
<BDC>-VALUE = QUANTITY.
APPEND <BDC>.
In this way the WRITE statament'll write the quantity in the format according to user default parameters.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.