Dynamic addition of fields in a TAB - urgent....
Hello all,
I have added a tab to the existing BSP application and the following fields will be available for user input as shown below .
start date end date
Presently we are able to give 10 rows for input. But the user might want more than 10 rows fro input.
so he wants a table control kind of thing where in he can scroll and enter as many values as he can.
or provide a button, if he clicks on the button some more empty rows will be available for input.
Is this feasible if so how??
Any pointers are highly appreciated..
Its possible. refer below thread, similar issue discussed & resolved.
Re: Add new row in Tableview
<i>*Reward each useful answer</i>
Raja T
Similar Messages
-
Without EEWB Is it Possible to add field to standard tab
Hi Experts!
Without EEWB and enhancing Screen Is it Possible to adding field to standard tab. Any body can help out in this.
URGENT
Thanks
vikram.cYes it is possible, but we are talking a modification of SAP standard here. Also the effort needed will be at least 10 times higher than using EEWB as you have to reprogram all generated code / screen helps that SAP provides. Moreover these fields are then still not exchanged with the interfaces / BDocs etc which will be also some more days of work. There is no usable documentation on this - at least not by SAP and I am not aware of another one. It is much easier to create an EEWB enhancement and then move the fields from one tab to another.
Doing this all by hand is like adding a second processor to an existing motherboard for more performance compared to exchanging the existing one with one of higher specifications.This is possible, but requires a) more work/time/material b) more experience c) you lose warranty d) in the end you do not know for sure what the outcome will be
Regards, Kai -
Adding field in pa30 screen urgent
hi all,
i am new to user exits.
and my requirement is to add a field in screen for PA30 tcode screen.
so how i can go for this .
if anyone has added fields in any SAP standard screen
then plz give me the doc regd that with screen shots if u have otherwise give me the steps.
my mail id is- [email protected]
plz i am looking urgently for it.
i will award all ur efforts.
thanks
sanjeevScreen Exit
Please remove the TDS-related input fields on the PO entry screen on the customer data tab (PO line details).
- TDS account
- TDS cost code
- TDS sub code
1. Goto Transaction Code Me21n
Fill the following fields
Enter
Give the input values in following fields from ORGDATA TAB
Purchasing org
Purchasing group
Company code
Vendor
Enter
Select Customer Data tab like following
USER EXIT : MM06E005 (Customer fields in purchasing document )
 Goto : T.Code : SMOD
 Give the Enhacement Name : MM06E005
 Click on Display
 Click on Components Push Button
 Double click on function module EXIT_SAPMM06E_016( Export Data to Customer Subscreen for Purchasing document item)
 Double click on Include ZXM06O01.
 Insert the following coding in that include
SET PARAMETER ID 'BUK' FIELD g_ekko-bukrs.
LOOP AT SCREEN.
IF screen-name = 'EKPO_CI-ISMSUBTITLE1'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>>>>>> Begin of insert CR336/BG1 >>>>>>>>>>>>>>>>>>>>>>
IF screen-name = 'G_EAN11'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*<<<<<<<<<<<<<<<<<<<<<<< End of insert CR336/BG1 <<<<<<<<<<<<<<<<<<<<<<<
*>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
IF screen-name = 'EKPO_CI-TDSACCOUNT'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'EKPO_CI-TDSCOST'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'EKPO_CI-TDSSUB'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
*>>>>>>>>>>>>>>>>>>>>>> Begin of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
IF ( screen-name = 'EKPO_CI-TDSACCOUNT'
OR screen-name = 'EKPO_CI-TDSCOST'
OR screen-name = 'EKPO_CI-TDSSUB'
OR screen-name = 'TDS_TXT_1'
OR screen-name = 'TDS_TXT_2'
OR screen-name = 'TDS_TXT_3'
OR screen-name = 'TDSACCOUNT-DESC'
OR screen-name = 'TDSCOST-DESC'
OR screen-name = 'TDSSUB-DESC' ).
IF g_ekko-bukrs(2) <> 'U6'. "not a theatrical company
screen-invisible = '1'.
screen-input = '0'.
ELSEIF g_flag = 0. "display only
screen-invisible = '0'.
screen-input = '0'.
ELSEIF g_flag = 1. "change
screen-invisible = '0'.
*>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
screen-input = '1'. "Fharook Syed
screen-input = '0'. "Fharook Syed
*>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
ENDIF.
IF screen-name = 'EKPO_CI-TDSACCOUNT'.
screen-required = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>>>>>> End of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
 save & activate.
 Repeat the above process in ME21N to see customer data fileds in CUSTOMER DATA tab
After the above Modifications CUSTOMER DATA is displaying like this -
Exit to populate Vendor Batch field in Material tab while creating PO.
Hi Experts,
I need an exit to populate Vendor Batch field in Material tab while creating Purchase Order.
Regards,
Jayapal.
Message was edited by:
JayapalHI ,
Folllowing r the exits for po .
Enhancement/ Business Add-in Description
Enhancement
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
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
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
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
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Regards -
Requirement to add new field in Location Tab of Service order
We have a requirement in which it is needed to add anew field in Location Tab of Equipment and Service order. For Equipment part , we have added the field via Enhancement ITOB0001 and activating the field via "Set View Profile for Technical Objects".
But for Service order part, we are not able to add the new field in the Location tab , please suggest how can we achieve this.Hi Deepika,
If you are not particular about having it in Location tab use Screen-Exit provided in the Enhancement IWO10018 to add an additional tab to host your custom fields. as under:
ABAPer will be able to readily follow these steps
Steps will be,
1. Create a Data type to capture the your custom values. (SE11)
2. Include your Zfield (with this datatype) through in the include structure CI_AUFK of the Order Header table (AUFK)
3. Create a project with Tcode CMOD and assign the enhancement above (IWO10018)
4. Go to Components and Click on Screen Exit
5. Here Go to Screen-painter (Blue Arrow named Layout) , Create your Field screen-box, field Text field and field Input field. In the field input field Name you should use the above Zfield details (table-field)
6.Activate the project CMOD and come-out.
Run IW31, you will see an additional tab like shown above. But here the field is nothing.
We haven''t told the system what is to be filled here.
For this in continuation to the above steps between 5 and 6, insert this step.
5a. Write your code in Function Exits : EXIT_SAPLCOIH_018 and EXIT_SAPLCOIH_019 of the same enhancement (IWO10018.)
Code to be written in exit 18:
move-corresponding COCI_AUFK_IMP to AUFK.
Code to be written in exit 19:
move-corresponding aufk to COCI_AUFK_exp.
After this exercise your Z-field will be visible in the Enhancement Tab as shown in the picture in the beginning. Now your values will be saving to AUFK table.
So, this is completely an ABAPer job.
Hope this information helps you.
Jogeswara Rao K -
T-code: CRM_MKTPL Additional scren fields in Campaign element screen.
Please let me know how to add additional screen fields in Campaign screen.
Regards,
BatiyaWe can add fields , Hide fields add onther Tab by using SPRO configuration.
CRM - Marketing - Marketing Planner and Campaign Management - Additional Fields and Business Add-Ins (BAdIs) for Marketing -Define Additional Fields: Set Types
the fields are in a new separate tab will be added into a addition tab.
Regards,
Siva -
Dynamic assign in field symbols
dynamic assign in field symbols
Hi,
DYNAMIC ASSIGN:
If you do not know the name of the field that you want to assign to the field symbol when you write a program, you can use a dynamic ASSIGN statement:
ASSIGN (<f>) TO <FS>.
This statement assigns the field whose name is contained in the field <f> to the field symbol <FS>. You cannot use offset and length in a dynamic ASSIGN.
At runtime, the system searches for the corresponding data object in the following order:
If the ASSIGN statement is in a procedure, the system searches first in its local data.
If it cannot find the object in the local data (or if the ASSIGN statement is not in a procedure), it then looks in the local data of the program.
If the field does not exist in the global data of the program, the system looks in the table work areas declared with the TABLES statement in the main program of the current program group. A program group consists of a main program and all of the programs that are loaded into the same internal session as a result of other program calls.
If the search is successful and a field can be assigned to the field symbol, SY-SUBRC is set to 0. Otherwise, it is set to 4, and the field symbol remains unchanged. For security reasons, you should always check the value of SY-SUBRC after a dynamic ASSIGN to prevent the field symbol pointing to the wrong area.
Searching for the field in this way slows down the program. You should therefore only use the dynamic ASSIGN statement when absolutely necessary. If you know when you create the program that you want to assign a table work area to the field symbol, you can also use the following variant of the dynamic ASSIGN statement:
ASSIGN TABLE FIELD (<f>) TO <FS>.
The system then only searches within the table work areas in the main program of the current program group for the data object that is to be assigned to the field symbol. This addition is forbidden in ABAP Objects, since the latter does not support table work areas.
Suppose we have three programs. The main program:
REPORT demo_field_symbols_dynami_as_1.
TABLES sbook.
sbook-fldate = sy-datum.
PERFORM form1 IN PROGRAM demo_form1.
The other two programs are:
REPORT demo_form1.
FORM form1.
PERFORM form2 IN PROGRAM demo_form2.
ENDFORM.
and
REPORT demo_form2.
FORM form2.
DATA name(20) TYPE c VALUE 'SBOOK-FLDATE'.
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN (name) TO <fs>.
IF sy-subrc EQ 0.
WRITE / <fs>.
ENDIF.
ENDFORM.
The output looks something like this:
02.06.1998
The program group in the internal session now consists of the programs DEMO, MYFORMS1 and MYFORMS2. The field symbol <FS> is defined in MYFORMS2. After the dynamic ASSIGN statement, it points to the component FLDATE of the table work area SBOOK declared in the main program DEMO.
REPORT demo_field_symbols_dynami_as_2 .
TABLES sbook.
DATA: name1(20) TYPE c VALUE 'SBOOK-FLDATE',
name2(20) TYPE c VALUE 'NAME1'.
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN TABLE FIELD (name1) TO <fs>.
WRITE: / 'SY-SUBRC:', sy-subrc.
ASSIGN TABLE FIELD (name2) TO <fs>.
WRITE: / 'SY-SUBRC:', sy-subrc.
The output is:
SY-SUBRC: 0
SY-SUBRC: 4
In the first ASSIGN statement, the system finds the component FLDATE of the table work area SBOOK and SY-SUBRC is set to 0. In the second ASSIGN statement, the system does not find the field NAME1 because it is declared by the DATA statement and not by the TABLES statement. In this case, SY-SUBRC is set to 4.
Reference: http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb38d5358411d1829f0000e829fbfe/content.htm
reward points if helpful.
Regards,
Ramya -
How to delete Dynamically created input field UI Element
Hi all,
I want to delete dynamically created input field and label.
Is there any method please tell.
Thanks in advance
HemalathaHi,
In the WDEVENT parameter of the action handler you can find the event id.
***Variables
DATA:
lv_selected type string. "Selected tab value
***Structure and internal table for the Events and messages
DATA:
lt_events type WDR_EVENT_PARAMETER_LIST,
ls_events type WDR_EVENT_PARAMETER.
***Field symbols
field-symbols: <fs_value> type any. "Attribute value in events table
***Move the event table to lt_events
lt_events = wdevent->parameters.
read table lt_events into ls_events with key name = 'SAVE'. "Button Id
if sy-subrc eq 0.
assign ls_events-value->* to <fs_value>.
if sy-subrc eq 0.
lv_selected = <fs_value>.
endif. "IF sy-subrc eq 0.
endif. "IF sy-subrc eq 0.
Regards,
Lekha. -
Adding Additional Custom Fields to Alerts
in the Custom Fields tab of the alert properties, there are 10 custom fields. a few questions regarding "custom fields"
is there a way to add addtional custom fields?
can variables be placed in the custom fields so data that changes from alert to alert can be passed?
is there a way to add additional custom fields and give them a more formal name (e.g. MyHomeGrownField)
thanks.Yes you can put values in these custom fields. but you cannot change the field names to something else.
Values can be put in these fields through OpsMgr PowerShell. Check the links -
https://social.technet.microsoft.com/Forums/systemcenter/en-US/dde47a28-ce70-4144-b7f3-70cb8a3d3cb9/using-custom-fields-in-scom-alerts?forum=operationsmanagergeneral
http://scug.be/dieter/2012/01/23/scom-2012-pass-data-to-custom-fields-with-monitors/
Thanks, S K Agrawal -
ADF JSF Shuttle Component - Additional input fields
Hello,
We're in the process of integrating the nice shuttle JSF component into our application. Our app though requires that before the assignment is done (by moving an item left ->right in the shuttle UI) a dialog window must be opened to allow the user to fill in additional input fields (i.e the targe N-M association table that is populated by the shuttle component, needs those additional fields filled for each new record).
Is there a way to do that with the current shuttle component?
Thanks in advance for any help.
Jordickx,
The components don't require a model reference (i.e. assocaition with a JavaBean). You can access all of the components on the posting page on the server, so you could definitely get all of the values that way. You can build up the tree dynamically as well.
So the short answer is yes :-).
<<KM>> -
Help required: add field to reference tab of IL02
Dear All,
My requirement is to add a new field to the reference tab of the functional location. (IL02). I could see the documents linked to the functional location as type,document, document part etc.
Now, I need to add one more field. Any suggestions?
Thanks.Thanks, I have seen the exit.
But, my problem is that I need to have a screen just exactly like the one in the reference tab, with an additional custom field. So Do I have to build a new subscreen that emulates the standard functionality, and add a custom field?
Also, I have seen that another person has used subscreen 1000 of the function group XT0B. Now if I create one more screen 1001 to hold this custom data, how do I assign this to the view profile of the functional location. I mean what sequence number should I use, 150 is used already. -
Without EEWB Is it Possible to adding field to standard tab.
Hi Experts!
Without EEWB and enhancing Screen Is it Possible to adding field to standard tab. Any body can help out in this.
URGENT
Thanks
vikram.cYes it is possible, but we are talking a modification of SAP standard here. Also the effort needed will be at least 10 times higher than using EEWB as you have to reprogram all generated code / screen helps that SAP provides. Moreover these fields are then still not exchanged with the interfaces / BDocs etc which will be also some more days of work. There is no usable documentation on this - at least not by SAP and I am not aware of another one. It is much easier to create an EEWB enhancement and then move the fields from one tab to another.
Doing this all by hand is like adding a second processor to an existing motherboard for more performance compared to exchanging the existing one with one of higher specifications.This is possible, but requires a) more work/time/material b) more experience c) you lose warranty d) in the end you do not know for sure what the outcome will be
Regards, Kai -
How to get the co-ordinates of a dynamically created input field
Hello Frn's
i have created a dynamic text view . but this text view is not appearing at proper position . I want palce it infront of a dynamically created input field . how can i do this ?
as i am thinking ...i should first of all get info about the co-ordinates of dynamaclly creatd input field . and with respect to these co-ordinates ...set the position of text View .
Please suggest your thoughts .
Thanks and Regards
Priyank DixitHi,
There is no provision in WD for getting screen coordinates and then placing the UI element.
You to add the UI element to layout editor and based on the layout type it will add the UI element to respective position.
I would advice not to create dynamic UI elements( instead you can create them statically and then play with visibility status through context binding ). This will be more effective way and less error prone. This is also recommended practice.
still,For dynamic creation you can refer to following wiki:
http://wiki.sdn.sap.com/wiki/display/WDABAP/CreatingUIElementsDynamicallyinAbapWebdynpro+Application
regards
Manas Dua -
Tax code field under INVOICE Tab to be Mandatory for Inter Company PO
Dear All,
In MIRO Tax code field under INVOICE Tab to be Mandatory for Inter Company PO u2013 ZNB & ZRT for company code 0001.
How do we set as mandatory fields for those two intercompany document types.
Regards,
TejaHi
If u want to maintain tax code as mandatory field in PO?
Then SPRO- SAP IMG- MM- Purchasing - Purchase order- Define document types
In this check the filed selection key for the document types.
Then select the SPRO- SAP IMG- MM- Purchasing - Purchase order- Define svreen lay out at document level.
In this for the field selection key select GR/IR control and click on tax as required. and then save
It will not allow to create PO with out maintaoning tax code.
If u want to do tax code as mandatory in MIRO
Then Go to OLMRLIST and make changes accordingly.
Thanks
Raman -
Adding custom field in sales tab of BP transaction
Hi Experts,
There is a requirement to add a custom field in sales tab of BP transaction in 'Sales area data', above the field 'Customer group 1'.
Is it possible with BDT,else any other method to handle the procedure.
I think it is not possible with EEWB to add field in this screen of BP. Please correct me if am wrong.
Thanking you in anticipation.
Regards,
SantoshHi Santosh,
Refer the link **************** - Step by step procedure to enhance the BP using BDT.
Thanks,
Ritu
Maybe you are looking for
-
Mac Pro 3,1 2008 w/ 10.8 upgrade to Mavericks
Looking for some advice: I purchased a used Mac Pro Tower 3,1 2008. It comes w/ 10.8 and I want to upgrade to Mavericks. One year ago, I bought a 2007 Mac Pro from this seller and I recall having problems w/ the Apple ID so I purchased Snow Leopard 1
-
ITunes wont see my iPhoto library! Unknown Error -50
Ive recently replaced my external hard drive. When I try and sync any ipod I get the error 'Unkown Error -50'. This stops happening if I untick the photos syncing from iPhoto option. Why is my Itunes not seeing my iphoto folder? Tc
-
Hi there, Now that the Apple TV (2nd Generation) doesn't have any storage capability - does anyone know if it is possible to stream music, video and photo media directly from my ReadyNas Duo to AppleTV?
-
Rounding off to nearest value with formatNumber
Can I use the formatNumber tag to round my numeric value to the nearest value? Like if it's 15.7 I would like to display 16 And if it's 15.2, I would like to display 15 I could successfully truncate by giving a patteren but Im not sure if I can round
-
Using Caching Server with Only Two Macs?
I'm currently running OS X Mavericks (10.9.4) on both of my Macs (2008 MB and 2010 MBP). We have a limited Internet download allotment, so I am trying to find ways to reduce the number OS X system update downloads. Someone suggested that I take a l