Field exits - is the exit called wherever the data element is used?
Since field exits are at the data element level - does this mean that the field exit will be executed for any screen that uses it? i only have one screen that I want this exit to be called - do I control that when creating the field exit? Or do you not have any control over that?
Thanks!
Scott
No. Field exit will not be called where ever the data element is used. When you create the field exit, you create it for a perticular field in a screen only. So effectively the exit will be triggered only for that field.
- Guru
Reward points for helpful answers
Similar Messages
-
In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms.
How can i do this?Hi,
You can select the Payment Term at PO Header Level.
When you book an invoice, that Payment Term will automatically defaulted to Invoice.
You can define Payment Term in AP.
Payment terms have one or more payment terms lines, each of which creates one scheduled payment. Each payment terms line and each corresponding scheduled payment has a due date or a discount date based on either a specific day of a month, such as the 15th of the month, or a number of days added to your terms date, such as 14 days after the terms date.
Payment Terms (Oracle Payables Help) -
How to enable/disable the input fields based on the data entered in the web dynpro application abap? If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.
Hi,
Try this code.
First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
Next go to Init method.
Set the readonly value as 'X'.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = 'X').
After that Go to the Action ENTER.
First read the input field ( first input field, which is value entered field) , next give a condition
if input value is not initial then set the readonly value is ' '.
DATA lo_nd_input TYPE REF TO if_wd_context_node.
DATA lo_el_input TYPE REF TO if_wd_context_element.
DATA ls_input TYPE wd_this->element_input.
DATA lv_vbeln TYPE wd_this->element_input-vbeln.
* navigate from <CONTEXT> to <INPUT> via lead selection
lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
* @TODO handle non existant child
* IF lo_nd_input IS INITIAL.
* ENDIF.
* get element via lead selection
lo_el_input = lo_nd_input->get_element( ).
* @TODO handle not set lead selection
IF lo_el_input IS INITIAL.
ENDIF.
* get single attribute
lo_el_input->get_attribute(
EXPORTING
name = `VBELN`
IMPORTING
value = lv_vbeln ).
if lv_vbeln IS not INITIAL.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = ' ' ). -
If the connecting fields are missing the data from knvh should be u00BBnullu00AB
Could you help me I would like to have all fields from kna1 (if the connecting fields are missing the data from knvh should be »null«)in following code
select * from kna1 .
select * from knvh where kunnr = kna1-kunnr and vkorg = '0200'.
itab-mandt = kna1-mandt.
itab-stceg = kna1-stceg.
itab-hkunnr = knvh-hkunnr.
itab-datab = knvh-datab.
itab-datbi = knvh-datbi.
append itab. clear itab.
endselect.
endselect.HI,
use the following code
select * from kna1 into table it_kna1.
if sy-subrc = 0.
select * from knvh into table it_knvh
for all entries in IT_kna1
where kunnr = it_kna1-kunnr
and vkorg = '0200'.
if sy-subrc = 0.
loop at it_kna1 into wa_kna1.
itab-mandt = wa_kna1-mandt.
itab-stceg = wa_kna1-stceg.
loop at it_knvh into wa_knvh where kunnr = wa_kna1-kunnr.
itab-hkunnr = wa_knvh-hkunnr.
itab-datab = wa_knvh-datab.
itab-datbi = wa_knvh-datbi.
append itab.
clear itab.
endloop.
endloop.endif.
endif.
I hope this solves your problem
Regards,
Vara -
Is an assigned value to an variable in the domain of the data element
Hi
how can I check if the value, which I want to assign to an variable is in the domain of the data element of that variable.
Example:
I defined a data element myDataElement. The Elementary Type of myDataElement is the Domain myDomain.
myDomain has the Format: Char with Length 1 and the fixed values 'A' and 'B'.
The following code works, but IMHO should not:
DATA testVar TYPE myDomain.
testVar = 'Foo'.
The value of testVar is now: 'F' .
As 'F' is not in the fixed values, this is a behaviour which I don't want. How can I prevent this from not happening (without using a bunch of IFs)?
In such a case, it were nice if an exception were raised.
Regards
GillesThanks Gungor.
I tried it with DDUT_DOMVALUES_GET. Works so far. I think I will write some FMs on my own, like this one:
FUNCTION z_valueisindomain.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(IV_DOMAINNAME) TYPE DDOBJNAME
*" REFERENCE(IV_EVALUATING_VALUE) TYPE ANY
*" EXPORTING
*" REFERENCE(EV_DESTINATION) TYPE ANY
*" EXCEPTIONS
*" ILLEGAL_INPUT
*" NOT_IN_DOMAIN
DATA domainvalues TYPE TABLE OF dd07v.
CALL FUNCTION 'DDUT_DOMVALUES_GET'
EXPORTING
name = iv_domainname
TABLES
dd07v_tab = domainvalues
EXCEPTIONS
illegal_input = 1
OTHERS = 2.
IF sy-subrc <> 0.
RAISE illegal_input.
ENDIF.
DATA oneline TYPE dd07v.
LOOP AT domainvalues INTO oneline.
IF oneline-domvalue_l EQ iv_evaluating_value.
ev_destination = iv_evaluating_value.
EXIT.
ENDIF.
ENDLOOP.
IF ev_destination IS INITIAL.
RAISE not_in_domain.
ENDIF.
ENDFUNCTION.
I'm pretty new to ABAP, so this FM might not be very elegant.
Regards
Gilles -
How to change the Text description on screen...(not the Data Element)
I want to change the just text of one of the label on one of the screen. I don't want to change the Data Element, as the same data element is used in multiple places, but I want to change only at one particular screen, at one particular spot
Any suggestion....?a)If you change the Text in a LABEL manually, then translation of the text can't be done.
Better create a new structure which will be used in all such cases where u can't change the data element.
Create fields in the Structure with your newly created data element and refer the field in the Label.
b)IF the translation is not an issue then manually enter the text. -
How to automate the data load process using data load file & task Scheduler
Hi,
I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
I have created Data_Load.bat file but rest of the process i am unable complete.
So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
ThanksTo follow up on your question are you using the maxl scripts for the dataload?
If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
If you are using maxl use this as the batch
"essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt. -
FM to extract the Data elements of variant
*is there any Function module to extract the Data elements of all the fields in a variant just as we have RS_VARIANT_CONTENTS to extract the contents of a variant*
Hi,
Try FM RS_ISOLATE_1_SELSCREEN.
Regards,
Jovito -
Automate the data load process using task scheduler
Hi,
I am doing Automated Process to load the data in Hyperion Planning application with the help of Task Scheduler.
I have created Data_Load.bat file but rest of the process i am unable complete.
So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler.
ThanksThanks for your help.
I have done data loading using Data_load.batch file . the .bat file call to .msh file using this i have followed your steps & automatic data lload is possible.
If you need this then please let me know.
Thanks again.
Edited by: 949936 on Oct 26, 2012 5:46 AM -
Export the data of Essbase using ODI11
Hi,
I want to export the data of essbase using odi 11.g ,and store in the oracle database;
But i got a issue that i haven't got the whole information,which just have the value of data column,and null instead of the Dimension Members ;
The DataSet as the below:
Account,Period,Year,Entity,Project,Data;
Null,Null,Null,Null,Null,5231.212
Null,Null,Null,Null,Null,6231.231
Null,Null,Null,Null,Null,NULL
I have check the below ways:
*1.Essbase Report*
http://ServerName:27130/easconsole/console.html
Execute the report script:
//ESS_LOCALE SimplifiedChinese_China.MS936@Binary
<Sym {SUPALL}{TABDELIMIT} {NAMESON}{ROWREPEAT}{NOINDENTGEN}{SUPMISSINGROWS}{MISSINGTEXT "0"}
<COLUMN(Scenario)
{DECIMAL 8}
"BUDGET"
<ROW(Account,Period,Year,Entity,Project)
<DimBottom "Account"
<DimBottom "Period"
<DimBottom "Year"
<DimBottom "Entity"
<DimBottom "Project"
Result:
Account,Period,Year,Entity,Project,Data;
ACC1,1,FY13,ORG1,PRJ1,5231.212
ACC2,2,FY13,ORG2,PRJ1,6231.231
ACC3,3,FY13,ORG3,PRJ1,#Missing
*2.odi Interface*
LKM Hyperion Essbase DATA to SQL
EXTRACTION_QUERY_TYPE:ReportScript
EXTRACTION_QUERY_FILE:C:\odifile\budgetdata.txt
EXT_COL_DELIMITER:\t
*3.oracle table*
The data type oracle 's table ,the data is NUMBER,other is NVARCHAR2(80);
Anyone can help me ,thanks
Kevin
Edited by: kevin123 on 2013-4-17 下午11:03Who has experience in this field,thanks
-
How can i write the data to PIC16F819 using labview?
how can i write the data to PIC16F819 using labview?
Need help!
im using labview in gathering the datas that i need to right to the PIC, then after getting all the datas i am using another program which is ICD2 in order to write it to the PIC. Is it possible to do this task through LV? coz we are spending a lot of time transferring the data from LV to ICD2 manually and its prone to mistake as well.
any suggestion?
thanks,
PedzLabVIEW does not currently have a built-in method to communicate with
i2c, but there are other vendors that sell devices to communicate in
this manner with LabVIEW development kits. One that I know of is
from MCC... here is a link: http://www.mcc-us.com
They sell a device called iPort, and then you can buy LabVIEW VIs to go with it. I hope this is helpful to you!
john m -
Getting error while using the data element in ztable
though i specified the length as 20 in dataelement when i am entering the dataelement i am getting this error
while i used help i got the following information
Number of positions < minimum number (1) for data type CHAR
Message no. DO253
Diagnosis
A minimum length is required for the specified data type.
This minimum length is not reached by the specified number of positions.
Procedure
Increase the number of positions or select a more appropriate data type with the possible entries help F4.This is strange, you shouldn't even be able to activate the dataelement type char with a length of 0. Revisit your data element and make sure that the length shows to be greater than 0 and reactivate your data element to make sure the newest version is active. In case you are referencing a domain in your data element do the same with the domain after validating that everything is correct (you can also use the check function). Then go back to your table and reenter the data element before activating your table.
Hope that helps,
Michael -
How to trace the data dictionary tables used in the standard transaction
Dear all,
Help me to trace the data dictionary tables used in the standard transaction "crm_dno_monitor". I need to find the tables where the data are stored.
or
Tell me generally how to find the tables used in the standard transaction.
Regards,
PremHi,
Open the program of that standard transaction in object navigator or SE80..
Then click on the dictionary structures tab..
U can find the database tables used in this transaction..
\[removed by moderator\]
Regards,
Rakesh
Edited by: Jan Stallkamp on Jul 29, 2008 5:29 PM -
What are the data elements of 0material and 0customer
Hi,
What are the data elements of 0material and 0customer??
ThanksHi.......
Dataelement for 0MATERIAL is MATNR
Dataelement for 0CUSTOMER is KUND1
Check these links :
http://help.sap.com/saphelp_nw04/helpdata/en/df/3ff438520e6a71e10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0a/802e1c120511d4973900a0c930e0da/frameset.htm
Hope this helps you......
Regards,
Debjani...... -
How to write the data into EEPROM using Labview?
How to write the data into EEPROM using Labview?
You would need some sort of EEPROM programmer. Typically might
communicate with it via serial. I don't know how you would do this in
LV. You would need to have the command protocol for the programming
device to start with.
Doug De Clue
gpibssx wrote in message news:<[email protected]>...
> How to write the data into EEPROM using Labview?
Maybe you are looking for
-
Message driven bean: resource not created
Hi, I'm having trouble deploying a simple test app that I've created (in App Server Platform Edition 8.0). It contains a servlet, that posts messages to a queue, and which appears to work fine. There is also a message-driven bean that receives these
-
Getting Delta from External System into BW
Hello Xperts, I have a need to integrate the SAP BW system with the JDE system. My concern is how will I pick up the delta records on a daily basis from the source system i.e. JDE into the target BW system? Thanks, Rohit
-
Why is output creating as *.GIF?
Using CS4 (version 11) on a PC. I have an image I sliced up (it's actually a template a client bought) which is custom CSS output saving as HTML + Images. For some reason all of the image files except one are outputted as gif files. I want them to be
-
Is there any other tool / method to create human task UI without using the "Auto -Generate" the task form from the JDeveloper. I mean it can be any tool or procedure that is outside of JDev
-
My movie won't download!!! Help me please!!!;(
Well I bought the Harry potter movie and I was at my house but then my family left so we went to my aunts house and it stopped but I still had wi-fi but once we went home it said iTunes error tap to retry so I've tapped and tapped but it always says