How to assign values for more than one field
Hi,
I have written following code
constants: fieldname(30) value '(SAPMF02D)KNA1-AUFSD'.
constants: fieldname1(30) value '(SAPMF02D)KNA1-LISFD'.
constants: fieldname2(30) value '(SAPMF02D)KNA1-FAKSD'.
field-symbols: <L_FIELD> TYPE ANY.
field-symbols: <L_FIELD1> TYPE ANY.
field-symbols: <L_FIELD2> TYPE ANY.
Assign (fieldname) to <l_field>.
<L_FIELD> = 'ZB'. " value according to your requirement
Assign (fieldname1) to <l_field1>.
<L_FIELD1> = 'ZB'.
while debugging <l_field1> is not assinging (fieldname1).
Im able to assing for (fieldname).
how to assign value for (fieldname1).
plz suggest me to assign values for more than one field.
Regards,
Brahmaji
Hello,
Because there is no field name called LISFD in KNA1. Actually you misspelled the field name.
It is KNA1-LIFSD
Similar Messages
-
How to create Criterian For more than one table
Hi,
I have one problem how to create criteria for more than one table in that using one criteria hot to get the values from database in that more than onetable for getting these values .Please send me the exampke code.
reagrds,
raghuHi,
I don't think its possible to create fieldcatalog for different tables,
but if you want to do so create a dummy table which has all the fields which you want in fieldcatalog.
populate the data from different table to that dummy table
then create fieldcatalog for that table and pass it in the function module...
Regards,
Siddarth -
How do people register for more than one person on a form?
We had a lot of complaints last year from organizations who sent several employees to our training. It took a long time for them to process these one at a time. How do people register for more than one person on a form?
Hi thearcca,
This entirely depends on the form you create, you can add multiple choice button and ask for the no. of employees the organization wants to register.
Also, you can add corresponding text field for the names.
Thanks,
Vikrantt Singh -
How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?
If you bought a CC for team, you can log in at http://adobe.com and insert the e-mail that you gave at the moment at the purchase and than you can manage and see you product/plan/team.
If I was not clear you can use the following link to help you solving your issue:
Creative Cloud Help | Manage your Creative Cloud for teams membership
If your not clear about this situation, contact with an agent of Adobe, by chat or phone. Use the following link to see the type of support you have on this matter:
http://adobe.com/getsupport
I think this will help you.
Regards -
How to handle bdc for more than one transaction?
how to handle bdc for more than one transaction?
Hi srk,
I am providing you with some references below. Hope this prove to be helpful to you.
Method 1:
Use one BDC_OPEN_GROUP
Multiple BDC_INSERT
One BDC_CLOSE_GROUP.
Call function BDC_OPENGROUP.
Build BDC data and call lBDC_INSERT for transaction 1
Build BDC data and call lBDC_INSERT for transaction 2
Build BDC data and call lBDC_INSERT for transaction 3
paas the tcodes to bdc_insert.
call function BDC_CLOSE_GROUP.
Also check this out:
Here we need to record 2 transactions (shdb).
Once completion of the recording. Populate the data into input internal table .
Loop the internal table and process the 2 transactions
like
1. BDC_OPEN_GROUP
2. LOOP AT ITAB
a. Populate first transaction recording data
and pass transaction to the BDC_INSERT_GROUP.
BDC_INSERT_GROUP.
b. Populate second transaction recording data
and pass transaction to the BDC_INSERT_GROUP.
BDC_INSERT_GROUP.
ENDLOOP.
3. BDC_CLOSE_GROUP
the above info can be found at : How to use 2 transactions in BDC?
Also check this out:
Suppose u have created recordings for transactions 'MM01' 'XK01' and 'VA01'.
Then do this:
bdc_open_group.
after this we have to fill the bdcdata structure for one transaction.here 'MM01'.
bdc_insert.
refresh bdcdata.
after this we have to fill the bdcdata structure for one transaction.here 'xk01'.
bdc_insert .
refresh bdcdata.
after this we have to fill the bdcdata structure for one transaction.here 'va01'.
bdc_insert.
bdc_close_group.
Hope these are useful to you.
Please reward if any of the above are useful.
Regards,
Kalyan -
Dynamic Filter SAP HANA - For more than one field
Hi Guys,
Is their any way we can apply filter for more than one field. Lets take below example i want to apply filter both on PERNR & DOJ. I am able to apply filter on PERNR but when i try to create filter on more than one field (PERNR & DOJ ) it throws me some error.
Please let me know how we can achieve this.
OUT_EMP_SAL = SELECT A.PERNR, A.DOJ, A.FNAME, B.SALARY FROM "SAPH74".EMP_INFO A
INNER JOIN "SAPH74".EMP_SAL B
ON A.PERNR = B.PERNR;
OUT_EMP_SAP = APPLY_FILTER(:OUT_EMP_SAL, :IN_PERNR )Hi Lakshmi,
You may need to use the end while calling, i took the same example from the "Help" in hana.
CREATE PROCEDURE GET_PROCEDURE_NAME (IN filter NVARCHAR(100), OUT procedures outtype)
AS
BEGIN
temp_procedures = SELECT SCHEMA_NAME, PROCEDURE_NAME FROM SYS.PROCEDURES;
procedures = APPLY_FILTER(:temp_procedures,:filter);
END;
CALL GET_PROCEDURE_NAME(' SCHEMA_NAME = ''SYS'' AND PROCEDURE_NAME like ''TREX%''', ?);
Regards,
Krishna Tangudu -
At Line-selection in ALV for more than one field.
How to use At Line-selection in ALV Basic Report where there are more than one field for displaying Secondary Lists.
Ex: In Basic List there are 3 fields Volume_m Volume_y and Volume_i.When i click on any of the field i need to display the secondary list for that particular field.Hi Pavan,
Use User-command event of ALV.
Refer this code :
form BUILD_EVENTCAT using p_i_eventcat TYPE SLIS_T_EVENT.
DATA: I_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = P_I_EVENTCAT
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
clear I_event.
read table p_i_eventcat with key name = slis_ev_user_command into I_event.
if sy-subrc = 0.
move 'USER_COMMAND' to I_event-form.
append I_event to p_i_eventcat.
endif.
form USER_COMMAND' using p_ucomm type sy-ucomm
p_selfield type slis_selfield.
case p_ucomm.
WHEN '&IC1'. "&IC1 is the Fcode for double click
Use P_ELFIELD-VALUE for further processing . this will contain the value on which u will double click
endcase.
Reward points if helpful.
Regards,
Hemant -
How to select and copy more than one field in SMARTFORMS
Hello, I have about 60 fields in my smartforms, I need to copy them and paste once more at the same page. There is a problem, I can not select and copy more than one field. Is there some trick to copy and paste more than one element simultanicly?
Hi,
There is no way to copy multiple elements in smartform.
you have to do one by one only -
How set value for more than one variable using a single prompt
There is a way to set more than one variable with a single prompt?
e.g. set @CurrentYear and @PasteYear using just a single prompt for @CurrentYear.
Some hint?
Thanks
LucUsing repository variables you can set like that.
Check this link http://gerardnico.com/wiki/dat/obiee/set_variable
If helps pls mark -
How to remove tooltips from more than one field at a time?
I use the wizard and now there are more than 2000 fields with useless tooltips on each of them. How do I remove all the tooltips at once?
Run this code from the JS console:
for (var i=0; i<this.numFields; i++) {
var f = this.getField(this.getNthFieldName(i));
if (f==null) continue;
f.userName = ""; -
Control break statement for more than one fields
How can I accomodate more than 2 fields in control break statement?
e.g. if I want to have control on these fields land1 plant , how can I use it in At statement?
ThanksHey Marcin,
If you define the table as:
DATA:
BEGIN OF ITAB OCCURS 0,
LAND TYPE LAND1,
WERKS TYPE WERKS_D,
END OF ITAB.
Then AT NEW WERKS will be triggered whenever there is change in either LAND or WERKS:
LOOP AT ITAB.
AT NEW WERKS.
ENDAT.
ENDLOOP.
So
If you want to use both field as one, you will need to create another field and hold there concatenation of LAND1 and PLANT
is not required.
Correct me if i am wrong
BR,
Suhas
Edited by: Suhas Saha on Feb 15, 2010 3:14 PM -
How to use LIKE for more than one condition
I want to get list of usernames starting with A,B, and C....can any one provide the query using LIKE
You would need to use something more like one of these:
SELECT username FROM table
WHERE username LIKE ('AB%') or
username LIKE ('AC%') or
username LIKE ('AD%');
SELECT username FROM table
WHERE SUBSTR(username, 1, 2) IN ('AB', 'AC', 'AD')
SELECT username FROM table
WHERE REGEXP_LIKE (username, '^AB|^AC|^AD')The regexp_like version is only available on 10g or higher.
John -
How to save history for more than one day. Can't find the answer. Thanks, Bil
When I click on the History tab in the tool bar it only shows History for one day or today. How can I change it to save History for 3 days?
Thanks,See:
*http://kb.mozillazine.org/Resetting_preferences
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
How to call BAPI_TRANSACTION_COMMIT for more than one bapi?
Hi all,
i have this web dynpro app, which needs to call multiple bapis.
if i import like this:
bapi1_model
bapi2_model
bapi_transaction_commit_model
and execute them like this:
bapi1
commit
bapi2
commit
data wont get write to database.
how to import bapi_transaction_commit correctly?
thanks.Hi
Check this link
http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_function_call.htm
http://msdn.microsoft.com/en-us/library/cc185462.aspx
Thanks -
Bdc for more than one transaction
How to do bdc for more than one transaction ?Can anybody explain ?
bdc supports multiple transaction.
suppose if u r using call transaction,
then u need to call two times using two different tcodes,
in case of session, u need to call two times bdc_insert fm using two different tcodes,
Maybe you are looking for
-
Any ideas on the topic above?
-
Deliver a report in XML format and save it to local file system on the server
We have OBIEE 10.1.3.4 on Redhat linux. We want to have generate a report in XML format and saved it to the server's file system. Did not realize this is s difficult task. Basically 1) How to create a XML report? It is not listed in the output items
-
Rotate thumbnails and pictures
Hi, I have created a 500+ web photo album using >commands>create web photo album on my Mac. Although in the folder where the pictures are stored every picture is rotated correctly, after creating the album the portrait pictures are reverted to landsc
-
On success of form save I want to go to another for with a detail where clause
I have the follow code snippet which is intented to go to a form on a successfull save. I query some data based on the save then build a url to navigate to a new form. I want the form to show only data that is lacking in one column not being populate
-
11g R2 Remote External Job Setup
Have followed all of the instructions in the guide for remote external jobs. Running into the following error when trying to register a remote agent with the database: ./schagent -registerdatabase atlantic 16021 Agent Registration Password ? ********