2009 Nov 25 7:04 AM
Hi Experts,
I like to fill the domain range values from 'ZTABLE' ..
so please help me how to fill the domain range values programatically .
Thanks
Banu.
2009 Nov 25 7:35 AM
Hi Banu,
It is not good practice to update or modify SAP standard table values directly..
This is the FM "DDIF_DOMA_PUT" which will update Domain values,
you can call this FM in your Ztable event to update your domain values every time.
Thanks
James
Hi Banu,
You can update these values for Domain using Table *DD07L*.
DOMNAME " Domain Name
AS4LOCAL
VALPOS
AS4VERS
DOMVALUE_L " Lower Limit
DOMVALUE_H " Upeer Limit
APPVAL
So in program
Fill your Work Area and update
modify table DD07L where DOMNAME = 'YOUR_DOM_NAME'.Cheerz
Ram
2009 Nov 25 7:09 AM
check if the entry already exists in the ztable.. by using select single..
if sy-subrc NE 0 .
modify ztable from wa_ztable.
2009 Nov 25 7:13 AM
You can use a Value table instead and fill this value table for the domain.
2009 Nov 25 7:15 AM
first find out the value table used for the domain.
Update the Value table with ZTABLE. It will add the value range for that domain. Either pass this Ztable as a Value table for the domain.
Sourabh
2009 Nov 25 7:27 AM
Hi Banu,
You can update these values for Domain using Table *DD07L*.
DOMNAME " Domain Name
AS4LOCAL
VALPOS
AS4VERS
DOMVALUE_L " Lower Limit
DOMVALUE_H " Upeer Limit
APPVAL
So in program
Fill your Work Area and update
modify table DD07L where DOMNAME = 'YOUR_DOM_NAME'.Cheerz
Ram
2009 Nov 25 7:35 AM
Hi Banu,
It is not good practice to update or modify SAP standard table values directly..
This is the FM "DDIF_DOMA_PUT" which will update Domain values,
you can call this FM in your Ztable event to update your domain values every time.
Thanks
James
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |