Assigning a t-code to a query
Hello,
is there a way to assign a t-code to a SAP query? the user would like to run the query using a t-ocde.
the queries are located in the standard area (client -specific). if am not sure if this is helpful or not.
thanks in advance for the help
Hi,
Execute query and next open another session se38
You can see a program name something like this AQ03ZVPC_USR====INFO_PARTS==== in program name field
assign a Tcode to that program.
Other wise there will option to generate program in query. using that create a program and assign t code to that
aRs
Message was edited by:
aRs
Similar Messages
-
Transaction code for SAP query reports
Hi All,
I am trying to create transaction code for sap query report but couldn't go further.
1) Created User group in SQ03
2) Created infoset in SQ03 and assigned that to the user group
3) Created query in SQ01 using the infoset.
I executed the report in SQ01 and it is working fine.
Now I try to create a transaction code in SE93 using the steps mentioned in the following link:
Assign transaction code to SAP Query (created via SQ01)
But when try to execute the report using the transaction code, it is giving error message 'User group xxxxxx is not yet created'
Could any one advice me if I miss something? Or please help me to create this transaction code and transport to production?
Thanks in advanceHI,
based on the thread you've already mentioned:
In SE93, Create a Paramter Transaction
-> Transaction = Start_report
-> In default values, give the below details:
D_SREPOVARI-REPORTTYPE = AQ
D_SREPOVARI-EXTDREPORT = Name of the Query
D_SREPOVARI-REPORT = User Group
So check if the user group is typed correct in SE93 and check also if the user group exits in the system where you are trying to run the transaction.
best regards, Christian -
Regarding dynamically assigning the where clause to select query
hi,
Please send the code regarding how to dynamically assign the where clause to select query.
thanks in advanceSELECT <fileds>
INTO TABLE itab
FROM dbase
WHERE condition. -
Transaction Code fro Sq01 query
Dear all,
i have created a query in Sq01 and assigned a Tr Code for the same. Now thew user i asking for extra fields to be shown in the Query When i changed the query and tried to execute the report thru Tr Code The newly added fields are not seen but when i run it thru SQ01 i see the new fields.
When i checked in SE93 it says "Transaction contains inconsistencies. Do you want to execute it anyway? "
Can any body pl tell me how to overcome this ?
with rgds
Ranjith Singhhi,
whenevr u do som changes in sq01 ,som program will be internally generated,so u have to change the transaction again,do one thing goto system status of sq01 take program name and create tcode.
check it then. -
Steps for creating T.code for SAP Query
Hi Friends,
I have developed and SAP Query through SQ01, i want to assign an T.code for that.
What are the steps we have to do in SE93.
Regards
Kumar MHi
Create a report pgm with the following code & create a T.Code for this pgm in se93.
data: gv_test type sy-repid.
DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
GV_RNAME TYPE AQADEF-PGNAME .
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = ''
USERGROUP = GV_USERGROUP
QUERY = GV_QUERY
IMPORTING
REPORTNAME = GV_RNAME
* For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
gv_test = GV_RNAME.
submit (gv_test) via selection-screen and return. -
Assigning a T-code to the report created under transaction code (SQVI)
Dear Gurus,
I have joined three tables in t-code SQVI and created the report after assigning the required fields in list or selected views.
Now I want to assign this report to a particular T-code, so that any user can access the same report without creating it in SQVI again.
Kindly let me know how can I assign the T-code to this Report.
Thanks,
AbhishekFollow the following steps:
1. Make a transaction with parameters transaction from se93 .
2. Put START_REPORT in the transaction
3. Check the skip intial screen checkbox
4. in the table control in the end of screen put these values
D_SREPOVARI-REPORTTYPE = AQ
D_SREPOVARI-REPORT = <USER GROUP in WHICH THE QUERY IS CREATED> G
(G stands for GLOBAL AREA:)(Entered after a space)(G should come after 9 chanracters(8 char for user group,one space and then G)
D_SREPOVARI-EXTDREPORT = <QUERY NAME>
Thanks & regards
J Prakash -
Error--Control indicators not assigned to company code
While creating PO in IDEAS following error is coming.
"Control indicators not assigned to company code"
Pl . suggest the remedy,
Thanks a ton,
Regards,
NBGoto T code OKKP select your co.code on left side click on Activate components.
in first tab " activate components" activate cost center , order mgmt, comm mgmt etc and save it.
Reward if useful;
Rgds
GIrish Kavital -
Assigning a function code to radio button in 4.5B
Ive a requirement wherein I need to trigger the PAI event in a module pool program when I select a particular radiobutton in a group and do some processing subsequently.
For this I need to assign a function code to the radiobutton group.
But the function code field is disabled for input in the properties screen of the layout. Our client system is SAP 4.5B.
I am able to assign function codes to radio button groups in esuides(4.6C) and other systems.
I want to know whether we can assign a function code at all to a radio button group in version 4.5B.
If so, please tell me how to do this.
With regards,
ramu.Hi,
we can't assign function codes to radio buttons.
for assigning some code to radio button.check the radio button status.
in PAI.
if RAD1 = 'X'.
xxxxxxxxxxx.
xxxxxxxxx.
elseif RAD2 = 'X'.
xxxxxxxxx.
xxxxxxxxxxxx.
endif.
regards,
bharat. -
Issue in Assignment of company codes to controlling area TKAO2 and OKKP
Hello Gurus,
I configured company code and controlling area in development client and transport to Testing client.But in QA client I can see in the Table TKA02 and respective assignment of company code to controlling area .But if I am checking in TCode OKKP and selecting Controlling area and checking the company codes assisgment there is no asssisgmnet. is this issue relating to transport as I am FICO consultant not geting solution.
This issue pertain to only one controlling area other controlling area with there company code assignment is correct.
Thanks a lot
Edited by: Manu Rathore on Apr 7, 2011 8:56 AM
Edited by: Manu Rathore on Apr 7, 2011 8:58 AMHello Balaji,
But I transport everything through one transport request and I haven't maintain any sequence.can this issue be due to mine non maintaining of sequence in transport request or something else?
if so How to solve it.
Many Many Thanks
Manu -
Hi All,
I'm creating a Query to extract the data from EKKO, EKPO and EKKN.
here I have to insert a piece of code as checking below.
IF EKPO-KNTTP ne ' '. "not equal to blank
extract the data from table EKKN.
ENDIF.
here I need your help like how to write this code in a Query or Functional Area (Info Set).
Thanks,
Sunil Bodda.Duplicate POST.....
select the query and go to QUERY in the menubar then goto more functions where you have an option display report name it will give you the report name.
Menubar ---> Quer ---> MoreFunctions ----> Display Reportname.
Goto SE80/SE38-->Report name and add the Codes in the program.
Regards,
gurpreet -
If Tax code assigned to company code thn in PO Taxes not calcuated properly
Hello friends,
Comapny codes 2001
I have created a New Input tax Code - AP
Desc - Input (10%Excise + 2%Ecess 1%HEcess + 4% Vat )
Basic Excise - 10%
Ecess - 2%
HEcess -1%
Vat - 4%
I have maintained the Tax code in FTXP & also the corresponding Percentage in FV12,
As i wanted to load it on Inventory i have given Acct key as NVV.
I have also assigned the Tax code to Company Code
JMIP Basic Excise 10% NVV
JEC2 E Cess 2% NVV
JSEI HEcess 1% NVV
JVRD Vat 4%
Issue - If i select Tax code - AP check on Display Taxes JMIP & JEC2 are not calculated only JSEI & Vat- 1% & 4% is getting
calculated.If i remove the comapny code assignment to Tax Code then it is workign properly but at tiem of Miro will fvce problem
Can any body suggest me how to go around as if is assign to comapny code then i dont get the desired output, if
dont assign tax code then it calcualtes properly.
I need to assign it to comapny code & want the Tax properly calculated
Thanks & Regards
ShashankHi,
OBCL settings is already maintained.
& my Key combination is Tax code
Any other cusotmization? -
Freight - Marketing Documents Assign a Project Code
Hi All,
I have a customer that uses project codes and profit center functionality in SAP Business One. They flag transactions to record the relevant project codes and profit centers for extended reporting requirements. So far we have had no issues but we have encountered one lack in functionality which I can't seem to configure in SAP Business One. The issue is that we cannot assign a project code when recording additional charges / freight during a marekting document in SAP Business One. However you are able to assign a profit center? Is this a limitation of the product and if so will this be addressed in future versions? Does anybody know?
Any feedback / ideas will be greatly appreciated!
Thanks
Andre PienaarHi
Whole Marketing Document can be assigned to project, even freight is having separate profit center.
If u want to include more features in B1 pls post ur queries here:
Forum: SAP Business One Product Development Collaboration:/community [original link is broken]
Giri -
Why is business area assignment to co.code, not required
why is business area assignment to co.code, not required
Hi
You can define a business area in <b>OX03</b> (SPRO>Enterprise>Definition-->FI)
And now if you want to assign this business area to your company code, you can do so in configuring the global parameters <b>OBY6</b>
It all depends on how you want to assign your business area. You can also assign all the balance sheet accounts and P&L accounts to a business area.
Well, in the configuration, business area field would have been optional in the field status group; thats why you might think that its not required.
Hope you got a picture what I am trying to say; if not, explain us your exact problem, will be forwarding the right answer.
Regards,
NareN. -
Adding code in ABAP Query(ABAP HR)
I have created an ABAP Query for getting the Absence details of employee within a specified period.I am populating the fields
Employee number, Organization Unit,Absence start date,Absence hours, Absence enddate.
If an employee is in leave for 10 days, this information will be stored in PA2001 table,and this table is not Organization specific.
During the specified period(20 days), if an employee is under two Organization units(5 days in 1st Org Unit,15 days in 2nd Org Unit). The query is extracting two records for the same employee, because of two Organization units. And while populating the data, the query is getting the Absence information from PA2001 table, and this is causing overlapping of data. So it is showing the Absence details for that employee as 40 days(20 days in 1st Org Unit and 20 days in 2nd Org Unit,Instead of total 20 days). So i would like to add validation over here after extraction of data from the PA2001 table,before displaying the data.
I have tried adding the code in the infoset, at END OF SELECTION Event,but i am not able to change the list, as i am not able to access the tables used by the Query.
Can anybody suggest me where to add the code in the Query, so that i will be able to solve this issue, instead of changing the code in the Report program generated by the Query.you can look at BAPI_PTIMEOVERVIEW_GET
this gives the output back for the selected period so you don't get alle the records back from you're pa2001 table. (only this overview doesn't take into considerationd the distiction the difference between leave and illness)
further on if you consider using the pa2001 table you can loop through the begda and endda and add 1 day for each record and programm the logic how you want to intrepet each day you'reself
I use the data from perws which comes from the function HR_PERSONAL_WORK_SCHEDULE
(which is also used in the BAPI mentioned above)
and from PA0001 you can retrieve how long somebody was in 1 org unit !!
LOOP AT it_2001 WHERE begda BETWEEN i_begda AND i_endda
OR endda BETWEEN i_begda AND i_endda.
h_datum = it_2001-begda.
IF it_2001-awart BETWEEN '0100' AND '0199'.
WHILE h_datum <= it_2001-endda.
READ TABLE it_perws WITH KEY datum = h_datum.
IF sy-subrc = 0.
* you're logic
ENDIF.
CALL FUNCTION 'FKK_DTE_ADD'
EXPORTING
i_base_date = h_datum
i_periode = 'D'
i_period_factor = 1
* I_USE_FACCAL = ' '
* I_WORKDAY_INDICATOR = '-'
IMPORTING
e_datum = h_datum
* EXCEPTIONS
* ERROR_OCCURED = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDWHILE.
kind regards
arthur de smidt
Edited by: A. de Smidt on Jul 16, 2008 8:47 AM -
Profit center assign in Copany code and controling Area
where Profit center assign in Copany code and controling Area ?
Hi,
Company code, Controlling Area, Profit centre, Cost centres are created by FI/CO functionals.
Pl. discuss with your FI/CO counterpart.
My suggestion is that, don't create yourself, because it integrates to lot of other areas.
Just for learning purpose, you can go to SPRO-Controlling-Profit centre accounting.
Madhava
Maybe you are looking for
-
Hi Can anyone explain me this: I have a thread running. (A class ext. Thread impl. Runnable) I wouldn't be able to stop the thread outside with doing: mythread = null; The thread would stop if I do: mythread.stop(); Although, the compiler says that t
-
Audio IC OP-AMP Tests with RMAA and Audigy 2ZS Platinum
Here are some [url="http://www.jensign.com/RMAA/RMAAOpAmpTests.html">RMAA test results[/url]?and basic circuit-design information for a few commercial audio IC op am ps. The information might be useful for those wanting to build utility audio circuit
-
Hello, I'm configuring a WLP cluster to use a Oracle 10g RAC instance. [url http://e-generation.beasys.com/wlp/docs92/db/oracle.html]This document seems like a very good starting point. My question is: the document only specifies using Oracle Thin dr
-
New ABAP Editor in WAS 6.40
Hi friends, according to blog posted by Thomas Jung /people/thomas.jung/blog/2006/06/28/new-abap-editor-backport new ABAP Editor was backported to WAS 6.20 and WAS 6.40, I work as ABAP Developer in ECC 5.0 WAS 6.40, yesterday I did request applicati
-
How to place a Dashboard icon on Dock on my MBPRD
F4 is no longer a link to Dashboard. I would like to add an icon to the dock to take me to Dashboard. I would prefer this to using Spotlight. How?