How to define parameter ID for transaction call in query.
Hi folks,
In SQ01 I've made report assignment. So now buy double click from ALV table I'm calling a new transaction and to fill fields on first screen I need define parameters ID. So how can I do it in query?
Thanks.
hi,
try this snippet,
FORM user_command_form USING p_ucomm LIKE sy-ucomm
p_selfield TYPE slis_selfield.
CASE p_ucomm.
WHEN '&IC1'. " SAP standard code for double-clicking
SET PARAMETER ID 'XXX' FIELD p_selfield-value.
CALL TRANSACTION 'YYYY'.
ENDCASE.
ENDFORM. "user_command_form
Hotspot and FM REUSE_ALV_GRID_DISPLAY not working
Similar Messages
-
How to define Substitution rule for Businee area
Hi experts,
Could you please guide me to define substitution rule for Business are.
Below is the requiremnt :
I want to assign different business area for this cost centre.
While posting document in FB01, we are entering cost centre in line itme. Businee area is picking from cost centre master.
Example : Cost centre 11310 and businee area Y020.
Businee area Y020 is picking from cost centre 11310 while posting document.
I want to assign different business area for this cost centre.
For that I want to define substitution rule.
I have defined substitution rule and activated in comapany code but it is not working. Please guide me how to define Substitution rule for the same.
I have defined prerequisit as Comapny code = 2053 and Cost centre =11310 and transaction code = FB01 then
Substitute business area with Y045.
It is not working .
Please guide me where I did mistake and how to rectify the same.
Thanks in advance for your quick response and points will also assign for helpfull answer.
Regards,
AmarHi Paul,
Thaks for your reply.
Yes, you are correct. SAP is changing this back to BA from Cost centre.
Why can't we use Substitition for the above issue.
Then what is solution for my issue.Please suggest any alternative solution.
Thanks in advance for your help.
Regards,
Amar. -
How to define a Value for an Attribute of an Class
Hi,
How to define a Value for an Attribute of a Class ...
( I need to change the value of an Attribute of a class in standard program ....
Ex...
cl_hrce_masterswitches=>infotype_framework_is_active
Here infotype_framework_is_active is the attribute .. its value in standard program is 'X'... Now i need to change it as ' '.
How to define it and set value as ' '.Hello Surendar
The static attribute INFOTYPE_FRAMEWORK_IS_ACTIVE is read-only and there is not SETTER method to manipulate its value.
However, the attribute is filled in the CLASS_CONSTRUCTOR:
METHOD class_constructor.
IF ce_is_active = true OR
global_payroll_is_active = true OR
mngmt_global_empls_is_active = true.
infotype_framework_is_active = true.
perid_infotype_is_active = true.
ELSE.
infotype_framework_is_active = false.
perid_infotype_is_active = false.
ENDIF.
ENDMETHOD.
Thus, you need to analyze how attribute CE_IS_ACTIVE, GLOBAL_PAYROLL_IS_ACTIVE and MNGMT_GLOBAL_EMPLS_IS_ACTIVE are filled in the CLASS_CONSTRUCTOR.
For sure you will find customizing settings that are responsible for this.
Regards
Uwe -
please help ... have new samsung ativ se windows 8 phone ... screen lock is on to require password, but on incoming calls its not locked ... how do i lock it for incoming calls too ???? thanks
Personal rant, why do people write the entire problem in topic line
It's not possible with Windows Phone 8. What's the point, a call is coming in and the phone allows you to answer. -
how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
here is the sample file
DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND
DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731543 Suspect TB ?CA, (L) EMPIEEM Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731548 Empyema BPF Ward A2 TYGERBERG HOSPITAL Z03.9 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731584 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731585 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI,S,SIYAMBONGA 27-MAR-2010 TYG D3 DR MAHOMED 5602181 113799662 TB731663 Lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 H1 07-AUG-201307-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 2000000712MAJOR MAJOR STY5577537 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI,N,NTLANTLA 09-OCT-1976 TYG F1 DR WZESE 5602181 135524676 TB731666 Suspect TB Ward F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 30003034120000003032ENDYou can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD -
How to define Approval Hirearchy for Fixed Assets?
Hello All,
Couls someone please tell me How to define Approval Hirearchy for Fixed Assets which should be different as compared to normal item purchase.Reply me ASAP
Regards
AdityaHi,
The AP invoice approval used AME rules for finding the approver. You can base you AME rules on virutally anything.
In this particular case, you can base your AME rules on one of the followings:
1. If any of the Distribution Accounts contain Fixed Assets natural account
2. You can define a separate document category which should be used with invoices for FA Purchase and use the category in AME rules to find approver
3. You can have a DFF at the Invoice Header level to indicate that this is a fixed asset purchase invoice and have this DFF to be used in AME rules.
Gajendra -
How to define new colors for the form?(Finish)
Hello! Everyone!
I want to define new colors for the new form.
But I don't find where I can define it.
How to define new color for the form?
Thanks in advance!You have to set the Canvas color or as I said earlier you need to use one of the available color schemas on the OAS or Builder runtime.
If you want to use user defined colors in the builder, then you need to create a new color palette and use it.
I personally haven't tried it, but there is a section in the online help that describes how to do this.
Tony -
How to define the texts for UI element Dropdownlistbykey?
Hi everyone,
I don't know how to define the texts for Dropdownlistbykey. It seems that Dropdownlistbykey has an attribute "selected key", but where can I bind the texts I want to display when user clicks the downwards
arrow?
Thanks in advance.hi,
you can use this code :
method WDDOINIT .
DATA : node_info TYPE REF TO if_wd_context_node_info,
value1 TYPE wdy_key_value,
set TYPE wdy_key_value_table,
k1 type string value 'M',
v1 type string value 'MAGO',
k2 type string value 'S',
v2 type string value 'Saurav'.
value1-key = k1.
value1-value = v1.
APPEND value1 to set.
value1-key = k2.
value1-value = v2.
APPEND value1 to set.
node_info = wd_context->get_node_info( ).
node_info = node_info->get_child_node('FOR_DROP').
node_info->set_attribute_value_set( name = 'DROP_KEY' value_set = set ).
I hope it helps.
Thanx. -
How to create parameter with multiple selection in a query (SQ02) ?
Hi Exports
Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
thanks.Hi
i know how to create user parameter at SQ02,
the question is how to create multiple selection parameter? -
How to schedule a job for transaction CG36, incl. variant?
Hi all,
When you enter transaction CG36, you need to select a User Exist (EHS_DXSDB). After that you need to define a file path.
I would like to schedule a job for transaction: CG36 > Define User Exit: EHS_DXSDB (Import Dok-X material Safety Data Sheets) > and define a path. With transaction SE93, I found program name: RC1RIMPS (program is allowed to be job scheduled), only I can't create a Variant (to define the user exit and file path, no selectionscreen), how to create a variant?
The following programs can't be scheduled either (as they are not of type 1 or J):
SAPLC131
SAPLC1EO
SAPLC3G
Thank you in advance!
Kind regards,
Roy DerksHello Roy
I am sorry. To my knowledge up to ECC 6.0 Enhancement Pack 4 there is no SAP EH&S process available there you can do what you are requesting. The "problem" is that you need to "answer" the user dialog. Therefore you can not generate/prepare a variant which could be processed as a job according to my knowledge.
Therefore in my opinion you have this option only: prepare a copy of the transaction (or only the report) using either "Z" or "Y (customer reports). Then you need to exclude some line in the code (which gives rise to the user dialog) and prepare some customer specific coding so that the resulting report can be used in such a way that a variant is possible, but you must make sure that the process later (the real upload process) is processed too in this "job" queue. IN any case: you need to check the log of the report and this must be done by an user. Therefore an automatic process does have some "risks"
The topic of import of reports is used in most cases during a set up of EH&S, because of mergers/acustions but not in the daily work with EH&S and there I believe that SAP does not support this demand.
With best regards
C.B. -
How to set parameter id for a field, which is in disable mode ?
Hi,
I Have to set parameter id for field ledger for transaction FAGLB03, which is in disable mode, i have to set it through program,please let me know how to set it.
Thanks.Say i have 5 rows then
for(int i=1;i<=5;i++){
String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
web.text_area(Newpath).setText("Text to be set")
Below function is used to update my path
public String updatepath(String path,int i) throws exception {
String FPath = "";
if(i<2) {
FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
} else {
FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
return Fpath
anyother way to update path and set the fields in mutiple block is appreciable
thanks
Suresh -
How to define an new New transaction type in SRM Environment?
Hi All,
There is a situation where in I have to add anew transaction type and link it to the existing process.
If I am going to
SPRO->SRM->SRM Server -> Cross appl.Basic Setting ->
Define transaction type
It gives me an un editable screen.
My question is how to define a new transaction type here
Kindly Let me know if there is any way to do it through ABAP .
Thanks And Regards,
RupeshWhen you have gone through the path you describe you end up with a screen with a line for "define transaction types". To the left of the line are two icons - one to execute the function (the execute icon) and one with documentation (the text icon). Click on the documentation icon.
Rob -
How to find another BAdi for Transaction CCM2
I have written an Authorisation Check for transaction CCM2, but there are two select buttons.
load and load extended.
i added the Auth Check to BADI_CCM_EXPLOSION - Restrict Structure Explosion for Actual Configuration, which works okay when i click the "load" button, but this is not called on the "load Extended" button
I checked the BAdi - BADI_CCM_EXPL_ALWD - Restrict Structure Explosion of Allowed and Actual Config and BADI_CCM_CHK_STATUS Adjust the CCM2 Check Result by Technical Object but these are not called from the Transaction either.
is there another way for me to try and work what may be called within this transaction?
when i run through the debugger it always short dumps before i get anywhere as it does not like debug mode... any suggestions??? please?Please skip if you already did this!
Place a break point in method of CL_EXITHANDLER->GET_INSTANCE at line 28, CASE sy-subrc (According to ECC 6.0).
Code looks like:
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
CASE sy-subrc.--> (Right here)
This METHOD will be called before triggering any BADI in SAP. After you place a break-point just process your transaction for which you are trying a find a BADI. Before triggering every BADI, code will stop right there and you could get to know your BADI Class and Method name through variables CLASS_NAME & EXIT_NAME respectively.
Reddy -
How to define GL account for House Bank?
Dear Friends
I maintained house bank sbi, house bank account and GL for house bank in FBZP. Then I maintained a Check lot in FCHI. When I was running F-58 and selected Check lot no as 8 as I maintained in FCHI, I am getting the following error:
No G/L accounts are defined for bank SBI and payment method C
Message no. F5459
Diagnosis
For the specified payment method C, in combination with house bank SBI, you have not specified a G/L account to which the posting is to be made under bank selection (Goto -> Account Determination).
System Response
Input not accepted.
Procedure
Correct your entries if they are incorrect. Otherwise ensure that the missing bank selection details are added.
How to define GL for a Bank? Wht is T code?
Thanks
ChandraHello,
In FBZP assign payment method C to the bank account. and check while creating the bank account are give main bank account in FI12, account id.
Hope this is clear, in case of problem revert me back.
Regards,
Sankar -
How to define the style for JTextArea using synth style xml file.
Hi all,
How can we align the text inside the JTextArea using synth style xml file.
We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
<insets top="3" left="3" bottom="3" right="3"/>
Please help me if any one knowsHi Anju,
This may help you.
http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
Preferrence Variable can be updated either thorugh EM console or ConfigPlan
Regards,
Richa
Maybe you are looking for
-
What is the difference between an apple id and a .mac name?
I already have an Apple id that I set up when registering my macbook and for my itunes account. My Apple id is not an email address, it is just a word. I now want to get a .mac account but am not sure whether I am supposed to use the same id for this
-
How do I stop my wife's iPad from receiving all of my texts to and from my iPhone. I ready to scrap all things apple
-
How to get the count of each minutes
Oracle 10 DB Hi All I using this query to get the count of records fetched by the concurrent program per min, select count (distinct b.attribute2) from oe_order_headers_all a,oe_order_lines_all b where a.header_id=b.header_id and b.flow_status_code =
-
ive heard of running linux and windows on the same computer. is it possible to have os x run on a dell also. ive never heard of it being done besides on a mac running boot camp. if it can be done, ill prolly buy that os x cd and install. if anyone ca
-
Looking for a more readable INSERT sytax
I am going to insert into a table which has 160 Columns. For a testing purpose I only have to insert values to 24 columns. Now i have to type all the 160 Columns and enter the corresponding values like the one below. This leads to mistakes all the ti