Parameter transaction details
Hi Everybody,
I have a SAP query and I have assigned this to a Transaction.
Transaction type is of Parameter transaction.
and the default values I have provided are for transaction = "START_REPORT", Screen no = "blank"
and Default values for screen fields are
Report Type = AQ ( SAP Query)
Report = User group of the query
Extended report = Query name.
The Transaction is executing prefectly fine
I need to find out where these information are stored. may be it might be stored in a table or view. Or if there is any function module to find out.
Please help..its very urgent!!
Hi Lokesh,
TSTC - SAP Transaction Codes
TSTCT - Transaction Code Texts
TFDIR - Function Module
With luck,
Pritam.
Edited by: Pritam Ghosh on Jul 10, 2008 1:37 PM
Similar Messages
-
How to create a variant used in SM30,View variant in Parameter transaction?
Dear Team,
I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious.
The question is on TVIMV-VARIANT How can we create a variant which can be used in tcode SM30.
Delving a little deeper show that these variants Obsolete since R/3 Release 3.1I: Selection variant for a table or maintenance view.
Since R/3 Release 4.0, there are view variants instead of selection variants.
The field only exists for reasons of backwards compatibility.
If thats is so, How do I use the same in parameter transaction..?
I have tried creating a view variant and use it parameter transaction but in vain..
Please help resolve my problem. I hope I am very clear. If still need any clarification, please get back to me.
Thanks a lot in advance,
Reagards,
Sai.
P.S. Though there are multiple quuestions on simlar subjects none of them has been either answered or is completely relevant to mine.Dear Suman,
Thanks a lot for the answer. Actually the Tcode is getting created if I do what you have said me.
But when I run the tcode which was created by view variant created, I am not getting the desired details .
To be more clear..
Previously there was a variant (TMIMV-VARIANT) created with follwing criteria..
Table TMIMV.
TABNAME VARIANT AS4POS VIEWFIELD NEGATION OPERATOR VALUE AND_OR TABIX
V_TCURR ZTHB 1 KURST NOT EQ M AND 2
V_TCURR ZTHB 2 KURST NOT EQ DWBP AND 2
V_TCURR ZTHB 3 TCURR EQ THB OR 4
V_TCURR ZTHB 4 TCURR EQ USD OR 4
V_TCURR ZTHB 5 TCURR EQ US$ 4
When we run tcode created by paramaeter transaction.. viewname as V_TCURR, TMIMV-VARIANT. I am getting the desired records for updation.
But if I do the same using View variant with the same selection criteria
Table Field name Operator Comaparison AND/OR
Value
TCURR KURST NE 'M' AND
TCURR KURST NE 'DWBP' AND
TCURR TCURR EQ THB OR
TCURR TCURR EQ USD OR
TCURR TCURR EQ US$
And the run the tcode created by using the view variant .. I am getting No entries found that match selection criteria...
Could you please help and let me know if I am missing any step.. Kindly also check from your side how this can be achieved.
Thanks a lot in advance,
Sai. -
Inventory report with the last transaction details of each material
Hi,
is there any standard inventory report in SAP which gives us the last transaction details of each
Material,along with last procurement qty, value, date and last issue
details of Qty, Value & date.
Thansk in advance.Hi
try following t-code
MB5B u2013 Stock on Posting Date
or
2 s_p00_07000139 u2013 Stock Card and Inventory Material Report
Regards
Kailas Ugale -
Parameter Transaction Code for Function Group based Tcodes
Hi,
I have created a function group for a single screen 1000 having only 2 screen fields with input/output enabled, one of them being a flag field. Have also created a Transaction code to point to the screen 1000.
My requirement is to create another Tcode(Parameter Transaction Code) with the previous created Tcode and pass default values to the screens flag element. I have entered the below :
Name of the screen field
Value
FLAG
X
Still i am not able to get the value of FLAG as X when i debug the program. I am confused what mistake have i done. It will be helpful if someone can guide on this. I know its simple and i believe me i have tried all possible ways to check my mistake. Couldn't find any.
Thanks and Regards,
Vadid ValiullaYes, Basically i am calling TCODE1 from TCODE2.
I am using the same Function Group and yes a global variable is defined for the screen fields.
I actually do not want to go by the Parameter ID method. But still i can use it if that is easier. Currently there is no Parameter ID for the screen field as i wanted the Tcode2 also to be called independently.
Thanks for your time Prakash
Regards,
Vadid -
Payment transaction details in the Vendor Master
Hi Experts
I have My client wants in the Vendor master data not allow access to the Payment ytransacion details for the Users ,I am trying to Supress it in the Account group but it is not happening pls help me to know why and any where in the SAP where we can block the Users not access to to the Vendor MAster data The payment Transaction details.
ThanksHi,
Use t.code OMSG, under general data - Payment transactions, you can select the required fields as Suppress.
regards
Vivek. -
I purchased a digital itunes giftcard through paypal but can't seem to find a 'code' to use to redeem the card. Could someone help me find where that code would be found? I can see the paypal transaction details. jgm22
-> iTunes Cards & Codes
-
Setting parameter in Detail View Object
I want to setting parameter in detail view.I have two table.One is master another is detail.I use parameter in master table so I put my page parameter form and I execute it.It work fine.I want to use parameter in detail table.In detail table if I dont use parameter master is execute it automaticly and it shows the result but when I put the parameter in detail it isn't show any result it say no rows return.Please help about to use detail views parameters(bind variables)
Hmmm, sorry, not sure.
Can I suggest you change your code to the following:
RowSetIterator[] iter= getMasterRowSetIterators();
if (iter != null && iter[0].first() != null) {
Row row = rsi[0].getCurrentRow();
.....(etc)....And run it in the debugger. See if it actually gets to the Row line. If not getMasterRowSetIterators() isn't returning any iterators and you should check how you've exposed your VOs in your AM - specifically looking to see if your detail VO is actually a detail VO to a parent VO.
Also I'm not sure overriding executeQuery() is the best place to be doing this as the doco says it is not always called. The doco seems to indicate executeQueryForCollection() is the preferred method. However in my testing it appears you can't set the query parameters in this method.
Sorry I couldn't be more helpful.
CM. -
Sales transaction details in OIC
Hi All,
Im new to OIC. I want to get the sales transactions details for the employee in OIC.
I want to know the table name which stores the sales transactions details in OIC.
I explores in cn_commission_headers_all. But couldn't find anything
Please provide some pointersHi,
In cn_commission_headers_all there is one column 'direct_salesrepid'.
You can find salesrep_id from cn_salesreps view.
You need to make joins between cn_calesreps and cn_commission_headers_all.
This was the one way.
The other way is:
Generally orders are collected in cn_comm_lines_api_all in which you will find the transactions made by each employee. There is a column callled employee_number.
Regards,
Krunal -
Authorization object for parameter transactions
Hi all,
I'm trying to restrict transaction VL10h for shipping point,this transaction is a parameter transaction and is not controlled by an authorization object directly.when I run a trace , transaction Vl10x shows up. The authorization object that is being checked is V_LIKP_VST.
Note : The requirement is when the user executes transaction VL10h he/she should be able to display only those shipping points they are authorized to.
Please advice.
Thanks,
Mohan.Hi Mohan,
For transaction VL10H you can specify values for the following fields in authorization object V_LIKP_VST:
-Activity:
01 Create or generate
02 Change
03 Display
04 Print, edit messages
18 Deliveries from coll. proc.
24 Archive
25 Reload
85 Reverse
-Shipping point: Here you must set the restriction for each group of users that are allowed for the maintenance of the shipping points that are used for delivery processing.
You can restrict the access through these fields.
Regards,
Leandro -
Hi All,
I have created a Parameter transaction for SM30 by which I am able to maintain entries in my user-defined table. But, I would like to restrict the entries displayed (not using the conditions in SM30) by creating the selection screen where only the few fields of the user-defined table are presented for selection and based on that I get output. I want the full functionality of the parameter transaction(creation , deletion of the entries) though.
if some one has any ideas kindly let me know.
Thanks,
ManishHi Manish,
I don't know if a two-step maintenance is good for you as suggested in one reply here, but if your requirement is to give user a SM30 feature but have a selection screen of your own, then here is an example of how you can achieve that with a custom program. I don't think you can achieve that with just parametric transaction and without using conditions and without modifying the maintenance screens.
Let me know if you have any questions regarding this code. This program is for a Z table mainetnance which has two fields, a code and a description. Users are given a choice of entering their criteria for either the code or the description or both. This criteria is internally converted to a format that the table maintenance function module understands. The result is that users get to see and maintain only the records that they wanted.
REPORT test.
* DB TABLES AND STRUCTURES *
TABLES: sscrfields,
z_group.
* INTERNAL TABLES *
*-- Internal table for seltab
DATA : i_seltab LIKE vimsellist OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF i_excl_tab OCCURS 0,
pfkey LIKE sy-pfkey.
DATA: END OF i_excl_tab.
* VARIABLES *
* CONSTANTS *
*------------------------ Selection Screen ---------------------------*
*-- Maintain EOQ Tables: Initial Screen
SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-000.
SELECTION-SCREEN SKIP 1.
*-- Select the table you want to maintain
SELECTION-SCREEN BEGIN OF BLOCK program WITH FRAME TITLE text-001.
PARAMETERS : p_table LIKE dd02l-tabname DEFAULT 'Z_GROUP'.
SELECTION-SCREEN END OF BLOCK program.
SELECTION-SCREEN BEGIN OF BLOCK fursel WITH FRAME TITLE text-002.
*-- Selections for EOQ groups
SELECT-OPTIONS: s_group FOR z_group-group,
s_descr FOR z_group-descr NO-EXTENSION
NO INTERVALS.
SELECTION-SCREEN END OF BLOCK fursel.
*-- display or maintain options
SELECTION-SCREEN PUSHBUTTON: /10(20) update USER-COMMAND upda
MODIF ID ind,
35(20) display USER-COMMAND disp
MODIF ID ind.
SELECTION-SCREEN END OF BLOCK selscr.
INITIALIZATION.
PERFORM initialize_variables.
AT SELECTION-SCREEN OUTPUT.
*-- set the PF Status for the selection screen
PERFORM set_sel_screen_pf_status.
LOOP AT SCREEN.
CHECK screen-name = 'P_TABLE'.
screen-input = 0.
MODIFY SCREEN.
ENDLOOP.
AT SELECTION-SCREEN.
CHECK NOT p_table IS INITIAL.
PERFORM call_maintenance USING sscrfields-ucomm.
START-OF-SELECTION.
END-OF-SELECTION.
*--------------------- Routines used in the program -------------------*
* FORM initialize_variables *
FORM initialize_variables.
MOVE: 'Update'(006) TO update,
'Display'(007) TO display.
ENDFORM. " initialize_variables
* FORM SET_SEL_SCREEN_PF_STATUS *
FORM set_sel_screen_pf_status.
MOVE 'ONLI' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
MOVE 'SJOB' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
MOVE 'PRIN' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
MOVE 'DYNS' TO i_excl_tab-pfkey.
APPEND i_excl_tab.
CLEAR i_excl_tab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = '%_00'
p_program = 'RSSYSTDB'
TABLES
p_exclude = i_excl_tab.
ENDFORM. " SET_SEL_SCREEN_PF_STATUS
*& Form call_maintenance
* To display the maintenance of the table entered.
FORM call_maintenance USING action LIKE sy-ucomm.
DATA: l_view_action.
IF action = 'UPDA'.
l_view_action = 'U'.
ELSEIF action = 'DISP'.
l_view_action = 'S'.
ELSE.
EXIT.
ENDIF.
*-- prepare the select statement for the call
PERFORM prepare_sel_statement.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = l_view_action
* CORR_NUMBER = ' '
* GENERATE_MAINT_TOOL_IF_MISSING = ' '
* SHOW_SELECTION_POPUP = ' '
view_name = p_table
* NO_WARNING_FOR_CLIENTINDEP = ' '
* RFC_DESTINATION_FOR_UPGRADE = ' '
* CLIENT_FOR_UPGRADE = ' '
* VARIANT_FOR_SELECTION = ' '
* COMPLEX_SELCONDS_USED = ' '
TABLES
dba_sellist = i_seltab
* EXCL_CUA_FUNCT =
EXCEPTIONS
client_reference = 1
foreign_lock = 2
invalid_action = 3
no_clientindependent_auth = 4
no_database_function = 5
no_editor_function = 6
no_show_auth = 7
no_tvdir_entry = 8
no_upd_auth = 9
only_show_allowed = 10
system_failure = 11
unknown_field_in_dba_sellist = 12
view_not_found = 13
OTHERS = 14
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " call_maintenance
* FORM prepare_sel_statement *
FORM prepare_sel_statement.
CLEAR: i_seltab, i_seltab[].
PERFORM prepare_seltab_for_grp.
ENDFORM. " PREPARE_SEL_STATEMENT
* FORM PREPARE_SELTAB_FOR_GRP *
FORM prepare_seltab_for_grp.
IF NOT s_group[] IS INITIAL.
*-- if any criteria is entered for the GROUP field
CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST'
EXPORTING
fieldname = 'GROUP'
* APPEND_CONJUNCTION = ' '
TABLES
sellist = i_seltab
rangetab = s_group.
ENDIF.
IF NOT s_descr[] IS INITIAL.
*-- if any criteria is entered for the GROUP DESCRIPTION field
CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST'
EXPORTING
fieldname = 'DESCR'
append_conjunction = 'AND'
TABLES
sellist = i_seltab
rangetab = s_descr.
ENDIF.
ENDFORM. " PREPARE_SELTAB_FOR_GRP
Hope this helps.
Srinivas -
Credit Card Transaction details
Hi,
Can somebody tell me where can I can all the credit card transactions? through PRCC we will upload the transaction details. Where will those be saved? I want to fetch the transactions in a program. How can that be done?
Thanks a lot!1Solved by myself.
Solution:
DATA: BEGIN OF tc_key,
pernr LIKE pernr-pernr,
END OF tc_key.
DATA: letzt TYPE ptk34_letzt,
ccbel TYPE TABLE OF ptk34 WITH HEADER LINE,
inbel TYPE TABLE OF ptk34_inbel WITH HEADER LINE,
trans TYPE TABLE OF ptk34_trans WITH HEADER LINE.
tc_key-pernr = '00000119'.
import
letzt
ccbel
inbel
trans
from database pcl1(tc) id tc_key.
Now, ccbel has all the transactions. -
Parameter transaction for table maintenance - multiple tables?
Hello,
I am very familiar with creating a parameter transaction to call SM30 for a specific Z-table of ours.
However, I have 14 tables that a group of users will need to maintain. Rather than create 14 different transactions in SE93, what are my options?
When creating a parameter transaction in SE93, I get the error that the field 'VIEWNAME' is used more than once. There has to be a way to achieve this with only one transaction.
Thank you very much,
MichaelI dont think you can create a single transaction with multiple VIEWNAME's.Options I would suggest you is create a simple report with radio buttons for each table and call the FM "VIEW_MAINTENANCE_CALL" with the viewname based on user selection and create a single transaction to the report or create transaction for each and create a Area menu with all the 14 transaction.
-
Creating a parameter transaction
Hi All,
Can any one tell me how to create a parameter transaction of ztable?
Tnx,
JoeHi,
Parameter transactions allow you to preassign values to fields on the initial screen of a transaction.
To create a parameter transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Transaction with parameters (Parameter transaction).
You can hide the initial screen of a parameter transaction if you have specified values for all of its fields.
Have a look to dis link[link|http://www.sapdev.co.uk/tips/tips_tabmaint_tcode.htm]
regards,
Archana
Edited by: Archana Kumari on Aug 28, 2009 1:37 PM -
How to get GL transactions detail
How to get GL transactions detail to insert in 3rd party applicaton.? We need Journal Entry number, date, account number, debit and credit columns. We need detail table structure.
Thanks
ShafiqHi
About period balance.
To have the amount of the balance of a certain account you need to run the following query (you need to know the CODE_COMBINATION_ID of the account, the SET_OF_BOOKS_ID of the company, the PERIOD_NAME and the functional currency used)
select nvl(sum(bal.begin_balance_dr + bal_period_net_dr - bal.begin_balance_cr - bal.period_net_cr),0)
from gl_balances bal,
gl_code_combinations cc
where cc.code_combination_id = bal.code_combination_id
and bal.actual_flag = 'A'
and cc.code_combination_id = <your ccid>
and bal.period_name = <your period name>
and bal.currency_code = <your func currency>
and bal.set_of_books_id = <your sob id)
Hope this helps.
Octavio. -
Parameter ~TRANSACTION in webgui service
Hi all,
we plan to publish transaction PPMDT on our intranet using the SAP GUI for HTML.
I copied the service "webgui" and tried to add the parameter ~TRANSACTION = PPMDT in "GUI Configuration", but it has no effect. When I call the service in a browser and log on, the usual start menu is displayed, not transaction PPMDT. I also set parameter ~WEBGUI_SIMPLE_TOOLBAR = 32 in the same place and it works fine.
Can I only specify the ~TRANSACTION parameter in the URL? Or is there a possibility to specify the parameter somewhere in SICF?
As I am not an ITS expert at all, I appreciate any help.
Thank you, MichaelHello Michael,
What you have done should work. Just to be clear:
1. create a new service that is the exact copy of WEBGUI
2. in the GUI configuration area add ~transaction PPMDT
3. save and test.
Besides the "~transaction PPMDT" what else is in the GUI Configuration area for the new service that you created?
Edgar
Maybe you are looking for
-
Create shipment from inbound IDOC SHPMNT05 ?
Hello All, I would like to create an individual shipment when i receive from a partner an inbound IDOC. I'm using Message type SHPMNT, Basic Type SHPMNT05, Process Code: SHPM and testing in WE19 via FM IDOC_INPUT_SHPMNT. How can I start the creation
-
How can I set the Object Name to the file name on import?
All- I've been manually typing the filename into Aperture's Object Name metadata field. Is there a way to do this automatically? I use metadata presets to fill in many other fields on import but haven't found a way to set metadata fields on a file-by
-
How fast/powerful are the brand new 8 core Mpros 3 GHZ
can you compare them to the QUAD 2.5? any one who has one could you give me some opinions is it worth the buy or will waiting prove more satisfactory
-
Mac in an all PC environment (revisited) MrHoffman two questions
Last year, I was in a HUGE battle with our IT people about using my Mac on an all PC network. The discussion is here: http://discussions.apple.com/thread.jspa?threadID=1872433&tstart=0 MrHoffman and many others made some very interesting points, but
-
Combining attributes from two object types
Experts, I have two files coming from FIM. Employee and department data. Employee file is expected to synch data for 'person' object and department file to synch data for 'organization' object. Common attribute in these two files is department_id. I