Dynamic generation of fields in the screen
Hi all,
I have to generate dynamic screen fields.
The scenario is , i will have a selection screen for choosing the fields.
The selected fields has to showed in the new screen.
Yours help will be more appreciated.
Thnz for the help in advance.
Cheers
Faheem
Hi,
Copy paste this code in se38 and check if this is useful.
parameters: p_nofld(10) type c,
p_field1(10) type c modif id 1,
p_field2(10) type c modif id 2,
p_field3(10) type c modif id 3,
p_field4(10) type c modif id 4,
p_field5(10) type c modif id 5,
p_field6(10) type c modif id 6,
p_field7(10) type c modif id 7,
p_field8(10) type c modif id 8,
p_field9(10) type c modif id 9.
at selection-screen output.
loop at screen.
if screen-group1 > p_nofld.
screen-active = '0'.
endif.
modify screen.
endloop.
Regards,
Senthil
Similar Messages
-
How to make a field on the screen of any transaction 'display only' in BADI
Hello All,
I am working on BADI. The requirement is that for a specific condition, the user should not be able to change the 'plant' field on the screen of the standard MM transactions ME22N or ME23N.
The field 'plant' should be grayed out and the user should not be able to even enter anything in that field. Is that possible? If yes, how?
Please help, it is urgent.hi radhika
yes u can do that
probably u will have to do the customization using exits
the possible exits fotr these trxns are
<b>Exit Name Description</b>
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
regards
ravish
<b>plz dont forget to reward points if useful</b> -
How can i post the fields in the screen by selecting a record
Hi,
I have a problem in dialog programming.
I need to populate the fields in the screen by selecting a single record.
For example,
Screen consists of 'CARRID, CONNID,FLDATE... fields.
By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
How can i do this in dialog programming?
I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
Thanks in advance..
SuvanHi Vinod,
Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
With dictionary reference it will fetch the entire entries from the Check table.
Thanks again for your co-operation.
Suvan.<b></b> -
HT1430 Ipod touch (5th generation) w/ lines across the screen - now dead.
My son's Ipod touch (5th generation) had lines across the screen. I turned it off using the home + on/off button reset, but the apple never came back on. Now it seems to be dead. Not dropped, not completely drained, no water damage. Just dead. Any ideas?
I have also tried plugging it into my Macbook Pro, and iTunes does not find it.
ITunes is up to date.Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
Regarding input output field of the screen painter
Hi Experts,
I want to increase the height of the input output field in the screen painter.
ie, multiline input output field.Is there any means?
Or is there any alternative other than the input output field?
Thanks & Regards,
Soumya.hi,
when u drag n drop some fields in the screen goto to one of the corners of dat fields drag to the extend u want to increase.
or in attributes section for u length n width of dat fields are available just increase to your wish.
if helpful reward some points.
with regards,
Suresh Aluri. -
In BDCs, after adding one field to the screen, which one is the better proc
Hi,
My client requirement In BDCs, after recording the legacy data by using MM01, After some time adding one field to the screen, How can we record the for the new field.
If any one knows pls help me total process.
Warm regards,
Venkat.Identify the screen in which this new field is added and simply add one more line to add the bdc record for this field in that screen.
If the screen is also entirely new, then you have to identify the previous screen, the okcode to go to this new screen and finally the next screen and the okcode to go to the next screen along with the field BDC record.
I don't think it is necessary to redo all the recording as long as you can follow the existing code. -
Hi all,
I have an NUMC field in the screen. when there is no values in that field( field is initial), It is displayed as "0".
I dont want that "0' to be displayed.
Is there any way to do it.
Santhoshjust look at the third write statement .
use <b>no-zero</b>
after write.
in a report,,
data : val type n.
val = 5.
write:/'value is', val.
val = val * 0.
write:/ 'value is', val.
write:/ 'value is', val no-zero.
in a module pool ..
if u r trying to remove it from the screen then declare the screen fields as char type and move the numc field to char type. this will do .
regards,
vijay
Message was edited by:
vijay k -
Change the value of the field on the screen
Hello All,
I want to change the value of another field on the screen when the user selects the value for a particular field.
For eg: If i select ship-to-party value on the screen by F4 based on that the sales office and sales group values should change on the screen.
I am modifying the internal table that has these values, but its not showing the new values on the screen.
Please let me know how to resolve this issue.
Points gauranteed.....
Thank You,
Sureshhi
use at selection-screen on help request for field1
OR on value request for field1.
Use selection screen events.
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN ON sel_opt1.
AT SELECTION-SCREEN ON test1.
AT SELECTION-SCREEN ON END OF sel_opt1.
AT SELECTION-SCREEN ON HELP-REQUEST FOR sel_opt1-low.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR test2.
AT SELECTION-SCREEN ON BLOCK block1
AT SELECTION-SCREEN ON RADIOBUTTON GROUP rad1.
Regards,
Prasanth
*Reward points if helpful -
How to decrease size of field in the screen
Good noon everyone,
I am unable to decrease the size of a input field in the screen. It is of length 30. But I want to show only length 15. Even if I decrease the visible length the field is again becoming big. How to make it small.
thanks.Is this difference not working for you?
Tables:mara.
Select-options: s_matnr for mara-matnr visible length 10.
Select-options: p_matnr for mara-matnr .
Parameters:text(20) type c visible length 10. -
Dynamic output & input fields in the table control
HI Guys,
How can one change the attribute of input field to output field basically greying of field) dynamically
based on the some flag. Loop at screen does not work. I need to change the attributes
of field 'outfiled' and output field display only'.
Any help is highly appreciated.
Regards,
HarshaHi Harsha,
I generated a table control (ERP 6.2) and somewhere I found the coding like this (the name of the table control is TABLE_CONTROL):
*&spwizard: output module for tc 'TABLE_CONTROL'. do not change this lin
*&spwizard: get lines of tablecontrol
module TABLE_CONTROL_get_lines output.
g_TABLE_CONTROL_lines = sy-loopc.
If I do a loop at the screen at this place, I can control the individual input/output for the screen fields (the table fields). In my work area (WA_CONTROL) I can see the actual value of fields. Depending on this, I choose to enable/disable input via:
loop at screen.
if wa_control-material <> ' '.
screen-input = '0'.
modify screen.
endif.
endloop. -
Field Length of the text field on the screen
Hello Experts,,
I have field with its label on the screen. Now the label text is picked up from data dictionary as defined.
Data element J_3ARQDA Active
Short Description: Requested delivery date
Length Field Label
Short 10 RqDlv.date
Medium 16 Req.deliv.date
Long 20 Requested deliv.date
Heading 5 Dldat
Now the text in different laguage say russian is quite bigger in length as compared to english ones. Now on the sales order screen i have the text 'Dldat', but the russian user needs a bigger word than just 'Dldat'.
Approach : I changed the heading length to some '25' from '5' to accomedate the russian text in DDIC for data element. But if i have to adjust the same on the screen with new text length i have to extend the screen border as well.
Is this right approach ? If not how do we actually accomedate the other language texts on the screen with out altering the screen borders ( length and breadth).Hi Radhika,
I tried doing that with a couple of invoices but I dont see the Long text printed on the check after the automatic payment run. Can you please suggest me if I am missing on anything. I inserted a long text and a '*" before this to have it printed on the check which does not seem to work. Can you please suggest me alternative solution.
Thanks in advance.
Ramya -
Modify the text of a data field on the screen
Hi,
I am looking to change the text of a SAP data field on the display screen for an infotype 106. I have the required object key for it. When I entered the key it logged me successfully, however it displayed a message that I am not authroized for changes. Infact as a developer my user profile has the highest authroization level 'SAP_ALL'.
I am looking to modify the module pool MP010600 and screen number 0100 on the infotype screen 106.
It displays the message:
"you have no authroizations for the authroization object 'S_DEVELOP' which would allow you to change the screen'. I checked with the admin guy. He did not have a clue either. Am I missing something?
Any thoughts how to resolve it?
It would be very helpful.
Thanks in advance,
VGThread closed.
-
Add one field on the screen.
hi ,everybody.
i want to add one field on the progam SAPMV10A,it is VD05,The screen number is 300.the field name is TVLV-ABRVW.How can i do,thank you.Check here:
SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payab;e --> Customer Accounts -> Master data --> Preparations for creating customer master data --> Adoption of Customer's own master data fields --> Businees Add-in:.... -
How to make Standard SRM fields as display fields on the screen
Hi,
I would like to make standards SRM field "PRODUCT ID" as the display field under the "BASIC DATA" tab.
Is there any way to control the standard SRM fields on the Basic data of the SC?
I have done it with custom fields with the BADI-BBP_CUF_BADI but it would not work for Standard SRM field.
Thanks in advance.
Mrudula PatelOK here is the solution.
Create a Transaction variant via SHD0 Tcode
In the transaction screen variant make the field display only.
activate the transaction variant
All the best.
Let me know if any problems.
Get me ur email id --- maybe i can you a document on how to create a screen variant and activate it.
Message was edited by:
Gummadi -
How to debug a custom field on the screen.
Hi All!
I had created a custom field on the SAPMV45A screen no. 4459.Now if the user inputs data on the field through VA03 the values should update the corresponding tables.
But my field is not getting updated in the respective table.Now how to get this debugged.I had handled this field through corresponding user exits.
Please advise.
Regards
Praneeth.Hi praneeth,
1. User-exit will only give
pre-defined inputs.
2. in debugging mode, try this out.
in the same format.
where programname = your programname of transaction
fieldname = fieldname on screen(struct-fieldname)
(programname)fieldname
regards,
amit m.
Maybe you are looking for
-
Event Handling in Editable ALV
Hi all, I am having 4 to 5 fields in my module pool screen and at the same time i am having a custom container wherein, there is editable ALV [using OOPS Editable ALV inside a custom container]. Here in editable ALV, i am having an editable field cal
-
How do i group different ports for "DAQmxCreateDIChan" for a single task?
greetings. the thing is that for "DAQmxCreateDIChan" i do this: DAQmxErrChk (DAQmxCreateDIChan(taskHandle3,"Dev2/port0","",DAQmx_Val_ChanForAllLines)); and i can even do this DAQmxErrChk (DAQmxCreateDIChan(taskHandle4,"Dev2/port1/line0:1","",DAQmx_Va
-
SMTP Error in concurrent program log file
Hi All, Please help me on this asap. I need to send an excel file as attachment in a mail through a concurrent request submission. But after run the program I am getting the following error in log file. 'Error in Send Mail: ORA-29279: SMTP permanent
-
Merging slideshows into ONE imovie
Please help, I created 4 individual slideshows in iphoto, each with one song. I then saved them as movies, and imported them into imovie. I was told this is the easiest way, which YES IT WAS!! Now I'm wondering how I can have them play one after the
-
Request for advise on Bw3.5 Exam
Hello BW Gurus , I am Sandya from Spain , I did my Masters in Information Technology , I learned SAP BW3.5 and ABAP from India (not from Authorized Training Partners) , I forwarded my Resume in Europe , but unfortunately , I did not get any calls