I need to determine the fields on a selscreen at runtime
Hi Team ABAP,
I need to determine the fields on a selscreen at runtime.
That means FM´s like DYNPRO_FIELD_GET, are not doing the i need.
If a field is made inactive or invisible in PBO (at selection Screen Output) i dont Need/want this in my Analysis.
Maybe i better state what i want to achieve.
I want to rightclick a selscreen-field, and then use the upcoming context menue to make it dissappear.
For that i added a pf-status to that selscreen.
In sy-curow i get which row the user clicked on (for example take 5), so now i need to find out which selscreen field is displayed in row 5.
So i can create the customizing entry for this field.
Maybe someone has an idea for me, i dont need coding, i can do that myself.
Thanks for reading
regards
Florian Kemmer
Well Anyway, it took me a Little but i figured it out.
following code does the trick for me:
[code]
Tables phelp.
IMPORT phelp FROM MEMORY ID 'PHELP'. [/code]
i do this in the Event AT_SELECTION_SCREEN OUTPUT.
Then in phelp-dynprofld i have the actual field i clicked on.
And even if i totally misunderstood you you helped me a lot focusing my thoughts on the right way.
Before your answer i didnt think about that while pressing F1 it works and i only have to find out how they do it.
Similar Messages
-
Hello All,
What are the steps needed to make the field in the DFF Additional Information for Agent only take numbers, commas & hyphens?
Navigation
Bob Sales manager<Ebiz form<service request tab<SR type<DFF<additional information for agents <cheque number
The field Cheque number Character allowed (, -) in the DFF Additional Information for Agent should only take numbers
Thanks & Regards
AyeshaThanks Sridar
If we use Number we cannot separate the cheque numbers with , or -
We need to enter numbers along with comma and '_' in cheque number field.
Thanks & Regards
Ayesha -
I need to filter the field Compensation Review :iview Compensation Planning
hello
I need to filter the field Compensation Review (iview Compensation Planning), this value come from table : T71ADM08 Compensation Reviews
i have many values, but i need show a range o one set the of values, any ideas ??
I can show only one filtering parameter from the parameter value of the iView, but it only one value, I need a filter a range
please any ideas, ???Hello,
having had this very same issue in the past - the option we went with was to enhance the RFC FM that returned the list of the reviews with some removed depending on the employee type.
(I'm assuming that the list of avaliable reviews is dependent on the employee and that's why you want to filter).
Chris -
I've just installed the newest desktop version of the Firefox browser because my Opera doesn't feel very well these days. I'm trying to become friends with Firefox, and that's why I've changed the new tab settings in order to have my offline homepage loaded every time I open a new tab. There is an inconvenience — when I press Ctrl+T, the cursor appears at the end of the URL. It means that when I start typing, the letters show in the address bar after the URL of my homepage, so what I need is to clear the field first.
Is there a way to get rid of this? (If it helpes, I'm currently using Windows 7.)
I would appreciate if I could just press Ctrl+T, type a URL, and press Enter when I want to go to a website different from my homepage. Thank you for your replies!Then you can use (Ctrl+L and) Ctrl+A to select all the text in the location bar or Shift+Home/End.
-
How to determine the field size
I am going to make a multiplatform application that hopefully
will run on linux and windows 2000.If the os is 2000, then I will use
vb.net/aspx else I'll use java servlets. I make the connection
to the web server ( through HTTP) not directly to database server.
So, the resultset will be stored in the String object. The columns
will be separated by delimeter. Our problem is how to determine
the size and type of the fields of mssql,oracle and postgres database
so that we can include it in the String object.
Ex.
String sResultSet=new String();
ResultSet rs=statement.executeQuery(sSQL);
while(rs.next()){
sResultset=sResultSet + rs.getString(field1) + "||" + rs.getString(field2) + "||";
vertical bars acts as delimeter
supposedly this is the code:
sResultset=sResultSet + rs.getString(field1) +"_" + rs.getFieldType() + "_"+
rs.getFieldSize() + "||" + rs.getString(field2) +"_" + rs.getFieldType() + "_"+
rs.getFieldSize() + "||";
supposedly this is the code if rs.getFieldType() and rs.getFieldSize() methods are existing
Anyone can give me an idea how to get the field type and field size of the database?
thanks in advanceYes, but I dont know how to do it.
Can you give me an example of using it.
Thanks in advance -
Need to hide the field based on input to other field on screen
Hi All,
I enhanced the std. infotype 1029.Now I need to display one custom field only if another custom field (check box) is enabled, otherwise no.
I tried writtinf code in PBO of ZP102900 in subscreen 0200.
loop at screen.
if screen-name = 'fld1'.
if 'fld1' = 'X'. -
>if chk box is selected then it shud display the fld2 on the screen along with fld1
screen-name = 'fld2'.
endif.
endif.
endloop.
But no results:-(
Can you please help me out in this ASAP.
Thanks in advance.
Regards,
AshwiniHi All,
Finally I got the results:-)
Solution:
in PBO module:
LOOP AT SCREEN.
if SCREEN-NAME = 'P1029-<FLD2>'.
IF P1029-FLD1 = 'X'.
SCREEN-ACTIVE = 1.
MODIFY SCREEN.
ELSE.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
endif.
ENDLOOP.
in PAI module:
LOOP AT SCREEN.
if SCREEN-NAME = 'P1029-<FLD2>'.
IF P1029-<FLD1> = 'X'.
SCREEN-ACTIVE = 1.
MODIFY SCREEN.
ELSE.
SCREEN-ACTIVE = 0.
ENDIF.
endif.
ENDLOOP.
Thanks for your valuable time.
Regards,
Ashwini -
Got the form, just need to add the field.
Hi! Very new to this. So i have a form that my company has already created with their logo etc. ALL I need, is to add a greyed out field to each question. How do i do that? Do i have to create an entire new form?
Thanks!Can you explain a little bit more about how the form you wish to edit came to be. Is this a PDF form? Was it creating in Acrobat or Formscentral? Are you hoping to edit it in Acrobat? if so what version do you have? Any information about the form will help us in guiding you forward.
Andrew -
Need to Skip the fields duaring the data upload by SQL*Loader.
Hi all,
I am not able to get how to skip some fileds in the file while uploading it thru SQL*Loader. Let us have a look the below scenario.
The table has 4 columns. but in the input file came up with 6 fields. Let us assume the four fields came as first in the order. Then, we can populate the data into the 4 columns of the table. At the same time we want to skip the remaining fields. Even those fields/columns are no longer available in the database table.
For example:
create table data_temp(sno number,name varchar2(10 char),sex char(1),loc varchar2(20 char));
Data file
sno,name,sex,loc,organization,contact
1,ram,M,India,HP,998976789
2,Shesha,M,India,IBM,7890808098
Control_file
OPTIONS(SKIP=1)
LOAD DATA
INFILE *
APPEND INTO TABLE data_temp
FIELDS TERMINATED BY ',' optionally enclosed by '"'
TRAILING NULLCOLS
sno "trim(:sno)",
name "SUBSTR(trim(:name),1,20)" ,
sex "SUBSTR(trim(:sex),1,1)",
loc "SUBSTR(trim(:loc),1,20)" ,
Please suggest me how to implement the above scenario in the control file.
Thanks in Advance!!
Regards,
Vissu.....Use FILLER. Control file:
OPTIONS(SKIP=1)
LOAD DATA
INFILE *
APPEND INTO TABLE data_temp
FIELDS TERMINATED BY ',' optionally enclosed by '"'
TRAILING NULLCOLS
sno "trim(:sno)",
name "SUBSTR(trim(:name),1,20)" ,
sex "SUBSTR(trim(:sex),1,1)",
loc "SUBSTR(trim(:loc),1,20)" ,
organization filler,
contact filler
begindata
sno,name,***,loc,organization,contact
1,ram,M,India,HP,998976789
2,Shesha,M,India,IBM,7890808098
{code}
Now:
{code}
SQL> create table data_temp(sno number,name varchar2(10 char),sex char(1),loc varchar2(20 char));
Table created.
SQL> host sqlldr scott/tiger control=c:\temp\vissu.ctl log=c:\temp\vissu.log
SQL> select * from data_temp
2 /
SNO NAME S LOC
1 ram M India
2 Shesha M India
SQL>
{code}
SY. -
Hi,
I want to know the tables where these fields can be available...
Field SERNR1 - Serial Number
Field MATNR1 Assy Matl
Field SERNR Assy Serial NO
Field ARKTX Assy Description
Pls let me know as soon as possible..Hi,
check table vbap / VBRP/ LIPS , in those tables you can get
ARKTX,MATNR,SERNR fields.
But there is no field with the name sernr1 in standard databse tables. May be that you can find in customized tables created specific to your project.that we cant see .
but about matnr1 you can get in the following tables.
VCRSELA_RES Cross Selling Analysis: Results
HBSRLS Affected Building List
Regds
Sivaparvathi
Please reward points if helpful...
Edited by: Siva Parvathi on Dec 20, 2007 11:34 AM -
Need to add the field on the MIRO screen...!!!!
Hi All,
Customer has a requirment to add the one field under the 'Details' tab of the MIRO screen.
I tried searching Screen Exits for this, but no success..
Is there any OSS note for this which can serve the purpose?
Thanks in advance.
-SanjayMy requirement is To display automatic cash management group with reference to account group in vendor master.
In vendor master initial screen if user enters Account group (LFA1-KTOKK) as VWOP or DMST in the accounting information screen Cash management group field (LFB1 FDGRV) planning group code A1 has to display.
In change mode if any of the user trys to change planning group code an error massage change is not possible has to appear..
Now i ve coded in the method PRESET_VALUES_CCODE which is in the BADI definition VENDOR_ADD_DATA this method is getting triggered even after the accounting information screen displayed and could you please help me in displayin the error message? The error message is getting displayed but in the form of a pop when u say yes it leaves the transaction.. but I want the error message as a normal red colored error message which comes in the bottom line.. please tell me how could I do this.. this is the codin which I have done.. please give some solution please..
method IF_EX_VENDOR_ADD_DATA~PRESET_VALUES_CCODE .
break-point.
if E_LFB1-FDGRV is initial.
if I_LFA1-ktokk = 'DMST' or I_LFA1-ktokk = 'VWOP'.
E_LFB1-FDGRV = 'A1' .
ENDIF.
else.
if I_LFA1-ktokk = 'DMST' or I_LFA1-ktokk = 'VWOP' .
if E_LFB1-FDGRV <> 'A1'.
message id 'ZZ' type 'E' number '108' with
'Change is not possible' .
*message e108(zz).
*CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'
*EXPORTING
*I_MSGID = 'ZZ'
*I_MSGTY = 'E'
*I_MSGNO = '108'
*I_MSGV1 = 'change is not possible'
I_MSGV2 =
I_MSGV3 =
I_MSGV4 =
I_LINENO =
TABLES
I_MESSAGE_TAB =
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
endif.
endif.
endif.
endmethod. -
FSG - Need to determine the first periode value in year
Hi
can anyone help me please
i need to create a column or row in FSG with the first period balance value in years
for example of the template is:
parameter period is Mar-12
Amount
Balance of Jan-12 10,000
Balance of current period 12,000
thanks
Lim JohnyHi;
What is EBS version?
Please review:
How to Create FSG Report to show a Row Only if the Balance is Debit or Credit [ID 754162.1]
How to Create a Row Set, Column Set, or Content Set report [ID 108305.1]
FSG Functional Troubleshooting Guide [ID 136328.1]
Hope it helps
Regard
Helios -
How to determine the length of a LRAW field
Hi
I'm trying to write a generic persistency class that saves data in a table with a lraw field.
As required the lraw field must be preceded by a length field of type INT2, but how can I calculate the actual length of the lraw field?
kind regards ThomasHi Martin
I'm sorry to tell you that you are wrong. The INT2 field must contain the actual length.
I have a table with a LRAW of 1024 bytes, but if I put 15 to the length field, then only 15 bytes are stored in the database.
Of course I could just enter 1024 for the length, but that would wast a lot of database space - and performance.
My class has a persistency method that inserts or updates a record in the database. The data that should be stored in the LRAW is sent to the method via a pointer (field symbol) of type X. This pointer can point at any data type.
Something like this:
field-symbols: <input> type x.
field-symbols: <lraw> type x.
*assign any field to <input>
assign <lraw> to mydbtable-lraw_field casting.
<lraw> = <input>.
*here i need to determine the length of mydbtable-lraw_field before i store the content to the database.
By debugging I can tell that if the pointer points to a char 32 field then the length of the X pointer is 64 and if the pointer points to a timestamp then the length of the x pointer is 8, but how can I determine this length programmatically - either from the x pointer or from the LRAW?
Best regards
Thomas -
How to determine the status of Maintenance Order while working in workflow
Hello Experts,
I am working on a workflow to release production related maintenance order.In this workflow I need to determine the status of the Maintenance Order (BOR object BUS2007) whether it has been released or not.I am trying to do this by condition step type.I can't understand which field of BUS2007 object I need to check to know the status of the maintenance order.
Can somebody help please?
Regards,
ManasHi,
Have you not getting any value in Status Profile attribute.
For new attribute u need to write coding, getting the value of that released field.
First, u need to implement by going to Edit->Change Release Status ->To implemented.
Then check your BO and generate it. If any error occurs in Menu bar Goto->Error List and see what is the error.
After generation of your BO, test your BO.
If test works fine, then Delegate with the standard BO.
To delegate, u need to be in initial screen of SWO1 and goto Settings->Delegate. Give Super type as Std BO and delegate type as your custom BO and use the Std BO in your workflow. -
How to determine the length of variable based on the character contents
Hi Experts,
I need to determine the length of variable based on the character contents I am looking for.
Example;
lv = 'FENCE - Construction bond'
Where I need to know the exact field length of 'FENCE -'.
It's possible that variable will have different values in different lengths.
Thanks.
KathKathy Amion ,
hello Will you please elaborate ...!
The suggestion for your proble as i understood it is you will have to split the string at seperator '-' in two say variable name and conten. and then you will calculate the length of the VARIable name by using string function. -
How to maintain the fields mandatory in Opportunity and quotation SAP CRM?
Hello All,
I have the following two requirements :
1.Need to mark the fields as mandatory in SAP CRM Opportunity (description,sales prospect,phase,status,opportunity group,origin
,product(description,quantity,expected total value) ,Milestones(Start date and end date),Organization.
2.Also the fields in SAP CRM Quotation ( Prodcut,Usage,Project Manager ITS (an Employee) and Capitalization ( our Z-customer field)
How to achieve this ? Is this can be done through pure customization in SAP CRM or any developers work involves? We are using SAP CRM 4.0 .
Pls provide the solution at the earliest .
Cheers
SreedharSome can be done thru customazing in spro>crm>basic settings>incompleteness>Define Incompleteness Procedures. For more enhanced functionality you can use also badi under spro>crm>basic settings>incompleteness>Business Add-In for Incompleteness Check in Business Transac.
To define incompleteness for exampla for SAP CRM Opportunity - description, do the following in spro>crm>basic settings>incompleteness>Define Incompleteness Procedures:
- create new incompletenes group: e.g. ZOPP
- assign this group to your opportunity transaction type
- define incompleteness procedure:
- object type: ORDERADM_H
- field name: DESCRIPTION
- relavance: HEADER
- message: ERROR
- define determination
Regards.
Maybe you are looking for
-
Display GL Description in AP Invoice
Hi Experts Within an AP Invoice (Service) the GL Account field is obviously available but the GL Description is not and I cant see it in Form Settings. Any way to have this display the GL Description when the GL Account field is completed. Thanks! L
-
Hi Experts, Please help in finding which SAP Standard table can we find the lock entries(SM12 transaction). Thanks!
-
Why is Rectangle Tool's matching dimension feature not working?
With the Rectangle Tool's cursor is clicked in the document. The Rectangle Panel appears. A height dimension is entered. With the pointer, the Width field is clicked. Usually, the Height Value gets automatically entered in the Width field. In this ca
-
HT5622 Can I download free apps without putting in credit card information
I've created an Apple ID but every time I go to download a free app it wants me to put in billing info
-
"an error occurred when attempting to change modules" I can not uninstall its grayed out.
I installed lightroom but at opening i have an error "an error occurred when attempting to change modules" I can not uninstall its grayed out.