Currency field in Table maintenance generator
Hi,
I have created a table with fields amont and currency..When I create generate the table maintenance for this table I am not able to see currency and amounts field on the generated screen. Please do help me whats missing from my end.
raghu
make the foriegn key for the currency TCURC
This was for those whose currency keys are not maintained
Resaon might be the Currency is not maintained in the table TCURC
they can be maintained in SPRO
SAP Netweaver - > General Setting - > Currencies - > Check Currency Codes
Regards
- Gopi
Similar Messages
-
How to disable some of the table fields in Table Maintenance Generator
HI,
I am creating one table which contains 10 fields.
But i wanted to disable some 2 fields in Table maintenance generator.
So can any one plz tell me how to disable those 2 fields.Generate a maintenance view for the table,
Goto- Table/Join Conditin Tab-- Put the name of your table
Goto-viewfield tab--- Put the fields whatever you required.
Then generate table maintenance for the view created.
pls chk
Thanks
Anurag -
Disabling fields in table Maintenance generator
Hi Experts,
I would like to restrict some fields in table maintenance generator dynamically/ statically.
Here is the situation.
I have generated table maintenance for the table ZMARA and I have created three transactions for the above single table maintenance generator.
i.e .. Transaction --- Table
ZT1 --- ZMARA
ZT2 --- ZMARA
ZT3 --- ZMARA
I am using above three transactions in my module pool program. Based on the certain conditions I am calling different transactions i.e ZT1, ZT2, etc
Here is my requirement:
Suppose if I call ZT1 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZPRODH.
or remaining fields should disable. User should not allow to change the content, even if it is new entries/existing entries. only ZMATNR, ZMTART, ZPRODH.
Suppose if I call ZT2 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZHTSCODE
How can we restrict dynamically when you call table maintenance generator table through transaction
or
How can we generate table maintenance for few fields?
Edited by: r badveli on Mar 16, 2009 4:27 PM
Edited by: r badveli on Mar 16, 2009 4:27 PM
Edited by: r badveli on Mar 16, 2009 4:28 PMHi ,
go to Se11->Table maintenace generation. Double click on screen to edit and assign the field you want to display/hide to groups. In PBO , after the following lines..
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMARA CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
Write a new module in PBO and edit the SCREEN as per the Tcode, you are calling,,'
Hope this helps you
Rj -
How to hide fields in table maintenance generator dynamically.
Hello Experts,
I have one requirement and that needs to do dynamically display the fields in table maintenance generator based on the selected radio button.I have written the code in pbo but it is not working properly,can anyone figure me out in this.
Thanks,
Vinod Bhaskar.Hi vinod
when you are creating tmg , you will specific a function group name and sap generate a func group which contains that tmg . you can view in se80 , specifying function group name. In that , screen contains single screen 100 or two screen 100,200 .
screen you can create module in pbo .u can find all field name in that screen.
loop at screen.
if screen-name = ''.
screen-visible = 0.
endif.
modify screen.
endloop.
regards,
vijay. -
Search Help for field on table maintenance generator ECC 6.0
Hi All.
To maintain search help for a custom field on table maintenance generator.
Only through coding.
Cannot use domain or data element or table field search helps.
Have to code only.
Is there any way?
Can I do modifications/additions to screen code and achieve this?
Regards,
Veeranji Reddy P.Scenarion:
1. table with 2 fields.
2. table maintenance generator.
3. Function group with one screen(0001-mentioned in table maintenance) created.
4. For one field on table maintenance generator...where we add new entries to table, i want a search help.
Conditions : only coding has to be done..no search helps I can use.
Coding where and what?
one option is to code on the screen 0001- either in PBO/PAI.
Is it a rite place...? or any other option? But no search helps as mentiond in my first message can be used.
Thanks and Regards,
Veeranji Reddy P. -
Add field in table maintenance generator screen of maintenance view
Hi,
I am having a table with field user-id. I want to generate a maintenance view which will have corresponding user name as input disabled field. Since there are two tables USR21 and ADRP I need to access(not a direct check table) I will have to modify the code generated by the table maintenance generator.
Problem is that it is having one internal table EXTRACT at table control loop. That internal table cannot be accessed if you write a module inside the table control loop and try to catch. The error coming as EXTRACT is not object of structure and therefore no component. I tried to capture the value of the Loop but could not be successful. Any suggestion please.
Thanks,
AtanuHi,
sample:
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
*--->begin of your change
CHAIN.
FIELD YTAB1-BILKS .
FIELD YTAB1-BILKH .
module check_bewar ON CHAIN-input. "your checks
ENDCHAIN.
*-----> end of your change
ENDLOOP.
MODULE LISTE_AFTER_LOOP.
-> module check_bewar is in an includ z123_INCL
Regards Andreas -
Validating non key fields in table maintenance generator
Hi,
I ma using events for table maintenance generator event 05 ,there i want to validate non key fields ......i am throwing error message ....all the non key fields are getting in display mode ...i need them to enable to enter values ....
please suggest
Thanks,
Shailaja Ainala.Hi Shailaja,
Its property of error message, which makes it as non-editable.
You can display either status or info message after validation check.
And finally before saving (before save event) display error message, so that it invalid entries doesnt get saved.
Thanks,
Nisha Vengal. -
Max nos of fields in table maintenance generator screen
Hello,
Is there any restriction on the number of colums(fields) to be displayed in the screen of table maintenance?
Actually, I am having a Ztable with some 100 fields and when I generate the table maintenance using Single Screen, it give me error for dynpro creation. But it works with 68 or less fields.
Can anyone help me out in this?
Thank You.
reg,
PankajHi,
you can change your table:
if your table is like glt0 or lfc1,
you can assign month to key of the table :
FIELD KEYFLAG
MANDT X
BUKRS X
GSBER X
GJAHR X
WAERS X
MONAT X "<-
WRBTR
Andreas -
Need to Disable field in Table maintenance generator
Hi Frds,
I have created a custom table .But i stuck at one point. In the TMG one field is User ID and next field is filled with Full name of this User ID(made it noneditable). To get user name i implement '01' event in TMG. and its working fine. But when i change the user ID in the row ramdamly the user name is not updated. its because Event not trigger.
Please help me by giving valuable suggestion either of two query.
1) When any row field value get change. Which TMG event trigger and capture the changed row
2) How can i make field disable once it get filled and saved.
Thanks
ImranHi,
When you create any entry in TMG event get occurred is 05 and if you are changing any row content than you have to use 01. And if you want to disable fields ,double click on overview screen number which is you have given when you created TMG and than it opens flow logic of screen than click on Element List tab and uncheck the fields which you wants dsiable in input column as i am attaching screenshot have a look at it.
in this user ID is unchecked.
Regards,
Shahezad -
Addition of a new column in Table Maintenance Generator
Hi All,
I have a requirement in which I have to include a new field in Table Maintenance Generator . This field is not present in the table but its data will be fetched from another table . Pls help me in this regard.
I have little idea of Table control .
Regards,
NibhaHi Nibha,
Table maintenance generator screen is an automatically generated screen. You cannot to any changes in that and neither can you do the changes in the PBO and/or PAI.
You can do it but it will ask you for SAP key etc. So there's not need to do it that way.
What you could do is;
1. Go to the table maintenence generator from SE11, in Change Mode.
2. Click on change icon. The system will show the 'Change Generation Elements' screen where it sill ask you the resson
for change.
3. Click on the New Field/Sec. table in struction (or whichever is appropriate/applicable in your case)
4. Press Ok (Tick sign).
5. Then it will show you the ''Change Generation Elements: Detail' screen.Here;
=> You will select the maintenance screen that you wish to change( Overview/Single).
=> And the Field Type. Whether it is a key field or normal field.
Select which ever is applicable.
6. The system will then re-generate the screen for you and - You'll Smile! - that you got the answer!
Cheers!
Sanjiv -
Junk Amount Values in Table Maintenance Generator
Hello All,
I have created an event (01) in table maintenance generator. In this i am triggering a workflow.
The problem here is, in my table there is a fields of type CURR and CUKY. I am inserting new values by using SM30. I am entering some 100 dollars against CURR filed. In the bebugging, i have observed there is Junk values against CURR field in TOTAL & EXTRACT tables. Becuase of that i am getting short dump. I just want to pass the amount value to my workflow not a Junk amount value.
Is there any way to avoid the junk values for CURR fields in Table Maintenance Generator.
Regards,
PatiHi Pati! Do you've solve this? Any help? I see junk amont value too, and I cannot understand this.
Thanks on advance.
Regards,
Emanuel -
Field validation in table maintenance generator and input value grey out.
i have created ztable with 3 fields as em_no,em_no and addrnumber.
first two fields are custom fields but the third custom field need to validate the standard table adrc contains the value of the field addrnumber.
i need the query of field validation query which we write in create entry events in table maintenance generator and also if we give wrong value for addrnumber in sm30 maintain table, the input field need not to be grey out for next entry...
please help.Hi,
create method -
>before saving data.....write the logic between the method
go to utilities->table maintanance ,,,after creating generator ---go to envirnment->modification->events.
create event -.>.as zsave select event type 1(before saving data to table) write code in include....
consider data for field3 is 10 .
lv_new = ztbr(table name)-field3.
select field3 from ADRC(ZTABLE) into wa_new (TYPE ZTABLE) where field3 = lv_new.
if sy-subrc = 0.
working fine
else.
message i888(sabapdocu) with 'data invalid'.
endform.
This will help u...
Thank u......... -
Fields update on Table maintenance generator screen
HI All..
I have a custom table with five fields. I did table maintenance generator on it. It has Screen 1 as overview screen and scree 2 as single screen.
Now of the five fields two fields are user name and date. When i enter data on the other three fields and save it on the second screen - iam able to update the two fields for username and date and display on the screen two itself.
But if iam not saving the data on the screen 2 and going back to screen 1 and then save it - iam not able to update the user name and date and also to display the username and date on the screen.
Any suggestions are helpful..
Thanks and will reward helpful answers.In this case..
Iam having the functionality of SM30 through table maintenance generator.
On Screen 2- single screen - user name and date is working as i had written the logic in the relevant PBO and PAI module.
But if user is not saving the data in screen screen2 and coming back to screen 1- which is overview screen and then try to save it-- all other fields are getting saved except the username and date..
Thanks. -
Modify Key Field Values of a table through Table Maintenance Generator
Hi All,
I have created a z table with below structure. In this fields upto Valid To are all key fields. This is to ensure that consistant valid record get stored in the table.
MANDT MANDT CLNT 3 0 Client
VKORG VKORG CHAR 4 0 Sales Organization
VTWEG VTWEG CHAR 2 0 Distribution Channel
SPART SPART CHAR 2 0 Division
SKU MATNR CHAR 18 0 Material Number
LZONE LZONE CHAR 10 0 Transportation zone to or from which the goods are delivered
VALID_FROM ZVALID_FROM DATS 8 0 Valid From
VALID_TO ZVALID_TO DATS 8 0 Valid To
PLANT WERKS_D CHAR 4 0 Plant
SNP_TZONE ZSNP_TZONE CHAR 20 0 APO Transportation Zone
ERDAT ERDAT DATS 8 0 Date on Which Record Was Created
ERNAM ERNAM CHAR 12 0 Name of Person who Created the Object
AEDAT AEDAT DATS 8 0 Changed On
AENAME AENAME CHAR 12 0 Last changed by
I have created a Table Maintance program through the Table Maintenance Generator. And for that I have assigned a t code.
I can able to create new entires but i can not able to modify Valid_from and Valid_to entries of existing records.
Initially those two fields were in display mode but i went to its module pool program and made then as input enabled. But what the vales I was entering, its not getting saved in database. When we change the values of those fields and save it, the system is saying No Data Change.
Any inputs how to solve this issue. I can not make VALID_FROM and VALID_TO fields as non key.
Regards,Hi,
As you have already said that the value for valid to is a part of the key so you should not have any issues when this value is changed and the value is saved using the table maintainence generator, but in case you want to save values where the value for valid from has changed but the key is same we would not be able to save as there is already a value for the key, so if you want to save these values there are two ways 1 would either to delete the existing value value and create the new value or to have one more field as the key field like a counter so when the value is saved with a key the value is saved with counter as 1 and then ever next time for the new values increase the value of the counter.
In order to save these values use event 5 and put you code there.
You can also carry out checks for new aithorization in that event also.
Regards,
Himanshu -
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
Maybe you are looking for
-
I have TCS II, and I have a RoboHelp project linked to a FrameMaker book. The import goes OK for the most part, but I'm having issues with the index (and the TOC, but I created that manually in RH). FM generated my index without issues, but when I tr
-
DNS Issues with Time Capsule - DNS Proxy periodically dies
hi all .... looking for some suggestions I have a time capsule 1TB, connected to a linksys adsl modem in bridge mode, with the TC acting as DHCP server for my local clients. In the PPPoE settings I also enter the primary and secondary addresses for D
-
Hi guys I have just started to play with iWeb '08, and all was going well until I tried to add an iMovie film. Firstly iWeb advised that the file was too large for web use and that I should convert to a suitably sized Quicktime movie. I did this thro
-
I have Windows 7 Pro with Acrobat Pro XI. I keep getting Error 1328 when trying to update Pro XI. Doesn't matter if I try from the Help menu in Acrobat or when I get a notice in my SysTray that an Adobe update is available. I already tried what Ad
-
my sister disabled her ipod and all it says on the screen when you turn it on is ipod is disabled try again in 22,088,882 minutes and there is no slider. when i plug it in to my macbook it says itunes cant connect with the ipod and to try again with