Can we assingn a transaction code to the table maintenance genarator
Hi Gurrus ,
Can we assign a transaction code to the table maintenance genarator code .
Hi,
refere this link,
http://fuller.mit.edu/misc/creating_sm30_transaction.htm
VIEW_MAINTENANCE_CALL : or SM30 is actually called u201CCall View Maintenance
In a nutshell, this program provides a simple selection screen with VKORG, radiobutton for either dollar amount or quantity, and two pushbuttons: Display and Maintain. Then the program fills in the action field and the selection table (i_sellilst) according to the useru2019s selections. When the button is pushed, the screen goes to the same screen as SM30 (sans the first selection screen, of course) and brings up the values that fit the criteria. When the user clicks u201Cbacku201D (green arrow)
reward if found useful..
cheers
Mohinder Singh
Edited by: Mohinder Singh Chauhan on Jun 2, 2008 12:52 PM
Similar Messages
-
Creation of transaction code for the table created
Hi Experts,
Can any one help me out with the steps that are used for creation of transaction for the table using the transaction SE93, i have created the table maintance generator.Hi
Check TSTCP table for the existing t-codes and for creating check this link
Re: Transaction Code Creation for a Table/View
Regards
Pavan -
How to use the table maintenance events for validating the input entries..?
Hi,
I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
Or Is there any other way to solve my problem.
Please share your inputs. Thanks in advance.
Best regards,
paddu.In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
Here is documentation for Event 01(Before Saving the Data in the Database )
Event 01: Before Saving the Data in the Database
Use
This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
hidden entry processing
fill hidden fields
flag data to be written to hidden tables after the database change.
To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
Realization
This event has no standard routine. The following global data is available for the realization of the user routine:
internal table TOTAL
field symbols
field symbols <ACTION> and <ACTION_TEXT>
<STATUS>-UPD_FLAG
If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
FORM abc.
DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
LOOP AT TOTAL.
IF <ACTION> = desired constant.
READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
IF SY-SUBRC EQ 0.
F_INDEX = SY-TABIX.
ELSE.
CLEAR F_INDX.
ENDIF.
(make desired changes to the line TOTAL)
MODIFY TOTAL.
CHECK F_INDX GT 0.
EXTRACT = TOTAL.
MODIFY EXTRACT INDEX F_INDX.
ENDIF.
ENDLOOP.
SY-SUBRC = 0.
ENDFORM.
Regards,
Joy. -
How can I see all the Transaction Code that the client is using?
How can I see all the List of Transaction Code that the client is using?
Hello Sugauli,
Did you mean to ask
transaction types the client is using?
instead of
transaction code
If so, go to SPRO (in ERP system) and follow this path:
Sales and Distribution -->
Sales -->
Sales Documents -->
Sales Document Header -->
Define Sales Document Types
All the transaction types that are not used have an X in the column Block.
Easwar Ram
http://www.parxlns.com -
In transaction code BBP_PD the status of the workitem is not updating showi
Hi Gurus,
We have implemented N-Step BADI BBP_WFL_APPROV_BADI For Approvals Levels in SRM.
Work flow is triggering correctly and workitem is sent at all the levels. But in transaction code BBP_PD the status of the workitem is not updating showing the error message "NO WORKITEM FOUND" also status is not updating in BBP_PD.
Please reply with your suggestions.
Thanks in advance.
MadhukarHi
Thanks for your reply.
We are getting "No workitem found" status in BBP_PD transaction. But all approval process is happening perfectly and when we check status through "Status Monitor " through web it is updating correct status.
Status is updating in BBP_PD .Status of main workflow is displaying correctly and approval levels and corresponding approver names are displaying correctly, but only the status and time of approval is missing.
can you suggest something on this issue.
Workflow Item:
Workitem-ID 000002009126
Task WS90000040
Text Shopping Cart Approval N-Step 185522 (BADI)
Status STARTED
Statustext In Process
Date 09/24/2008
Time 08:18:09
Node ID Agent User State Workitem Created at
0040000000 Kotesh APP APP_KOTESH No workitem found
0040000002 No workitem found
0040000001 shiva APP APP_SHIVA No workitem found
0040000004 No workitem found
0040000003 shiva APP APP_SHIVA No workitem found
0040000006 No workitem found
0040000005 SM1 NNA_FA_SM_1 No workitem found
0040000008 No workitem found
Regards
Madhu -
Can we attach transaction code to z-table
Hi all,
my requirement is to show the contents of the z-table using transaction code.
is it possible to create transaction code for the z-table if yes then pls let me know the procedure.
any suggestion will be rewarded.
Regards,
cnu.Yes we can Create a Tcode to maintain the Ztable records.
Parameter Transaction can be created for Table Maintenance program of a Custom Table in SAP.
Steps:
1. Create a Z table and Activate - SE11
2. Generate the Table Maintenance using SE54
It will Generate the Function group and Screens.
3. Create a Parameter transaction to Call this Table maintenace program
Goto SE93.
Create a Tcode :
Name : ZTCODE1
Type : Parameter Transaction
In the Attributes of Parameter Transaction
Enter The Transaction SM30
Select the Checkbox : Skip first Screen
Enter the Following Fields below in the Table provide.
FieldName FieldValue
VIEWNAME <YOUR ZTABLE>
UPDATE X
Save the Parameter Transaction and execute it like ant other Tcode..
It will allow you to maintain the Table entries.
Regards, -
How can i log transaction codes, programes and tables used by a user?
Hi everyone,
i need to log transaction codes, programes and tables a user has used in a certain time. how can i trace that and is it possible with timestamps?
i tried something with the badi workload_statistic but thats not what i need. is there a simple function which can do that or is this really much more complicated?In SE13 there is an option to log table changes for a table.
If you search for "SCU3" you will find plenty of information on this. Also search for "RECCLIENT" (without the "/") and you will find some more specialized threads.
Cheers,
Julius -
My iPhone has been badly damaged and I cannot get the screen to work. I want to do a backup to transfer to my new phone but the backup will not work because the phone is locked. Can I input my lock code to the phone via the computer to allow a backup?
Sorry, no.
-
Transaction code for custom table
Hi there,
I created one custom table. I created Tbale Maintenance Generator for this. I have to create transaction code for this table so that user can directly open this custom table in SM30. Can anybody suggest on this. is there any other way to do this so that user can directly open this custom table in SM30 mode?
Regards,
Zakir.Hi
Check this link for creating a transaction code for a TM
http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
Please go throught below link ..... it was given with screen shots of the T.code Creating for the table after the maintaince view had been created ......
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
Regards
Anji -
How to disable a field in the table maintenance generator of a table
dear experts,
i have created a table with 2 fields A ,B . i had created table maintenance generator for the table. i am entering the values for the table through table maintenance generator . for filed A i had given dropdown list which contains only 2
entries YES & NO. my requirement is if i select YES in field A , field B should be in enable mode(it must take some input), if i select NO in field A, field B should be in disable mode ( it should not take any input).
kindly help me....
thanks & regards
krishnaHi Krishna,
A further to the above, you can go to SE11 and in the table maintenance generator click on
Fn.Gr.Text button, then go to Main program.
Here you will see "User-defined Include-files (if necessary). "
Just uncomment the PAI include and put your code..to make the field editable or un-editable.
To do that you might have to go to the screen painter and change that screen, to include those fields in a group or something, so that you can control them better.
Regards,
Sameer -
Updating ztable from the table maintenance
hi,
I want to knw how and where to check , whether the records which user has entered in the table control of new entries screen exists in the ztable table or not . if the same record exists then that record should not go for saving it shd be deleted when it is detected that it exists in the ztable . can any one tell me how . where and what code to be written . so that the duplicate entries are deleted and others entries get appended in the database.
thank you.Hi
if you have declared some Primary key fields then by default when you enter the records in the Table maintenance using SM30 it will not allow duplicate records with the same key fields
You can check the Table entries in SE16 Tcode
go to Se16 enter table name execute and see the table records
Reward points for useful Answers
Regards
Anji -
Add authorization checks to the table maintenance
i have created a table maintenance and I have authorization object and the field for it which will take some values this i got from basis people . Then how to add authorization checks to the table maintenance.
U can try to use the event, after generating table maintenance program:
Enviroment->Modification->Events: the events 05/18 could be good for you
Max -
Include a field in the table maintenance generator
Hi All,
There is a Z table with MATNR and another numeric field and the table maintenance generator exists for the table. The requirement is to include another field for MAKTX ( Material description) in the table maintenance generator with input disabled. Is it possible to do the same in the table maintenance generator else please suggest me the best solution.
Thanks in Advance.Hi Srinivasa,
This is quite simple, first add the field MAKTX into the Table and activate it .
Now again generate the Table maintainence for the table.
from Table maintainence generator go to the main program
there click the screen maintained for Table maintainence generator .
in the Pbo of the screen write the following code.
assume table name is table1.
Loop at screen.
if screen-name = table1-maktx.
screen-input = '0'.
modify screen.
endif.
endloop.
this will automatically disable the material description field in the Table Maintainence Generator.
This is will solve your problem
Regards,
Madhavi -
Error with the table maintenance screens
Hi Experts,
I have created a maintenance view for two tables. The first table has only one field, which is the primary key. The second table is the text table for the first table, where the description of the primary key is maintained. Initially after creating the table maintenance for these two tables, all the fields were comming correctly. The first table showed only one field in the SM30 and the second table showed all fields in SM30(primary key, its description and the language key). The table maintenance was later deleted and regenerated, due to some changes in the table. After regenerating the TMG it is seen that the first table shows all the fields in SM30 same as the second table. I feel the function group program is not getting refreshed. Is there any method to regenerate the function group.
Thanks in advance.
Regards,
Anu.Hi Dhina,
I deleted the TMG for both the primary table and the text table, but when I check in SE16 I still find all the fields in the primary table just like the text table.
My first table has
MANDT
EDUCATION_TYPE
My second table has
MANDT
LANGU
EDUCATION_TYPE
DESCRIPTION
I have create a maintanence view joining the above two tables(with the following fileds MANDT, EDUCATION_TYPE, DESCRIPTION), and deleted the table maintenance of the above tables. But still when I check the first table in SE16 I can see fields MANDT, EDUCATION_TYPE, DESCRIPTION.
What is the problem with the table maintenance?
Any idea?
Thanks
Anu. -
How to find Transaction for a Known Table maintenance View
Hello Friends,
May I know how to find transaction for a known table maintenance View.
Thanks,
Best Regards,
Sudhanshu GargGoto SE16 Transaction and enter TSTCP Table
Here PARAM = /SM30 VIEWNAME=Table name*;UPDATE=X;
enter table name in bold.
Thanks
Seshu
Maybe you are looking for
-
How to connect 2 iPhones to the same iTunes account?
I am trying to connect my iTunes account to my husbands iPhone 6 plus. I have it synced to my phone but I can't seem to sync it to his.
-
Variables Display With Info Field Web Item
Dear Friends, We are facing one issue in BI 7 WAD.Can any one please suggest how to achieve this.. Issue1) In my query, we are having 10 variables and user has enterd 2 variables for his selection.After executing the web i need to display those 2 var
-
I have a lot of duplicate photographs in my iPhoto library. It happened while our EIS were saving a computer breakdown, but now i would like to know how to selectively delete the duplicates, without doing it individually. That is, can I set up iPhoto
-
My N79 can't display arabic character
hi guys, can you all help me how to make Arabic character/fonts can be display on my N79 instead of boxes character. I already update the firmware to 30.019.53.1 but still cannot display Arabic fonts. What should I do? Am I missing something? can you
-
How do I go about downloading my CS6 on to my new computer?
I have purchased a new laptop and want to know how I download my CS6 on to it?