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

basic ABAP doubts

Former Member
0 Likes
582

Hi Experts,

got some basic doubts..hope ppl can help me tackle them..

1. y is sapscript client-specific when smartforms are cross-client ?

2. why exactly are reference fields required for Currency n Quantity Fields ?

3. In SE93, while creating a transaction for an executable program, no variant comes in F4 even wen we have created one for the program, n wen we type in the variant, it says the Transaction is inconsistent.. is it because transaction is cross-client whereas variant is not ??

4. where is DDIC placed?? i mean is it in database or Application server ?

5. why do we need to have a Value table ?

Please dont copy & paste from existing sources..it wud be great if u cud explain in ur own wrds...

all answers wud be appropriately rewarded..

thanks.

bikash

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

hello,

1. smartform when activated generates a function module which becomes part of DDIC. so client-independent. and it can be used(called) in any program.

2. currency and quantity fields should have an associated fields.

cuurency (CURR)field should have another field of type CUKY. quantity(QUAN) field should have another field of type UNIT.

bcoz when u say amounts like 1000 rupees, 1000 refers to amount and rupees refers to currency unit.

in the same whay when u say, 10 grams, here 10 is the numeric part and gram is the weight unit.

3. variant will come. i have tested and seen it.

4. it refers to application layer.

5. value table gives u list of possible values i.e for F4. usually we give check table here for ex. T001 for company codes

reward if useful........

4 REPLIES 4
Read only

andreas_mann3
Active Contributor
0 Likes
550

Hi,

1) -

2) i think it's normal to use value and unit

3) good idea .:)yes, because tcode is not client specific

and variant is

4) application server (tables in db are DD0*)

5) to check values (foreign key check)

A.

Message was edited by: Andreas Mann

Read only

Former Member
0 Likes
551

hello,

1. smartform when activated generates a function module which becomes part of DDIC. so client-independent. and it can be used(called) in any program.

2. currency and quantity fields should have an associated fields.

cuurency (CURR)field should have another field of type CUKY. quantity(QUAN) field should have another field of type UNIT.

bcoz when u say amounts like 1000 rupees, 1000 refers to amount and rupees refers to currency unit.

in the same whay when u say, 10 grams, here 10 is the numeric part and gram is the weight unit.

3. variant will come. i have tested and seen it.

4. it refers to application layer.

5. value table gives u list of possible values i.e for F4. usually we give check table here for ex. T001 for company codes

reward if useful........

Read only

0 Likes
550

thanks for the reply guys..

Andreas,it wud ve been better if u explain ur answers.

pawan.

1. smartform when activated generates a function module which becomes part of DDIC. so client-independent ... ( arent transparent tables part of DDIC ??? they are client-dependent though )...

2. bcoz when u say amounts like 1000 rupees, 1000 refers to amount and rupees refers to currency unit.

thats ok pawan, but how does it matter if it is rupees or USD or EURO..its anyway a field with lets say 13 digits n 2 decimals..n also the field contains only 1000, not the rupees, that part anyway can be got from the currency field.....

3. did u test in a multiple-client system?? ie, it comes in IDES over here too, i think dats because IDES doesnt have multiple client..

Also, if it has come in a multiple client system, wat ll happen if u run that transaction in a client in which that variant is not there..it ll throw an error right??

4. wat my doubt is that anything that is there, also the definitions has to be stored someweher right?? so isnt the database where everything including the dictionary is stored??

awaiting ur useful responses...

Message was edited by: Bikash Agarwal

Read only

0 Likes
550

1.

tables are client dependent if the FIRST field of that table is MANDT(client). if they dont have this field,its client independent tables.

all tables are part of DDIC.

2.

SAP can be used from any country.so to make their local currency accessible SAP provided with that concept.

numeric and decimals are there in all types of currencies(i hope so). to differentiate an US dollar with IN rupees we need a specific way.that way is from this CUKY field.

1000.10 can be a USD or INR or UK pound. but to make the exact value of what value is that? we need to mention the currency too along with the values.

hope this clears your doubts

Regards

srikanth