How to enter values in Descriptive flexfield by WEB ADI
Hi All,
I am using GL-Journals as an integrator for uploading data using WEB ADI. I have DFF at Journal lines. There is Context Field value and also 3 lines(Attributes). I can enter the data by clicking the Line DFF Context and Line DFF manually. The entered values are shown as concatenated values in this cell. But the data is in different columns in excel file. I want to map the data from excel(which is in different cells) to this one column in the WEB ADI template.
Does any one know how to map this.
Thanks in advance.
Regards,
Pramod.
Hi All,
After couple of investigations, I understood that it is not possible to map and upload DFF Values unless you concatenate the data. We all know it used to work in client ADI. I have found these documents 1072689.1 and Bug 8469705.
If someone knows any workaround please let me know.
Thank you,
Regards,
Pramod
Similar Messages
-
How to enter values in the fields of standard SAP Infotype e.g. IT0024
Hi,
How to enter values in the fields of standard SAP Infotype?
e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
1-Level 1
2-Level 2
3-Level 3
4-Level 4
5-Level 5
Thanks,
AmeetHi Divya,
I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
Please help me out. I think I am almost there.
Thanks,
Ameet -
How to enter values to a database table with data type 'LCHR'?
Hello All,
I have created a database table with five fields, of which the last field is 'Value' field in which i have to enter text with a maximum of 1000characters. I have also specified a 'Length' field preceding the 'Value' field.
The datatype specified for the 'Length' field is 'INT2' and for the value field is 'LCHR' with length 1000.
When i tried inserting values to the table through a report, the report is giving an error that 'Literals that take up more than one line are not permitted', which means 255characters.
Also, when i entered a short text which is less than 250 characters to the 'Value' field,, the report is working fine and the table entry is visible.
Can anyone help me in this?
It would be really helpful if you explain how to use 'LCHR' data type in tables and how to enter values to such a field with more than 255characters.
Thanks in Advance,
ShinoHi shino,
Alternatively,
you can use STRING instead of LCHR.
I too have tried with LCHR and am facing the same issue.. i am not sure why its coming..
i have tried STRING and its working perfectly.
wa-key_field = 'IN4'.
CONCATENATE 'Long text over 200 chars length '
'another Long text over 200 chars length '
'another Long text over 200 chars length '
INTO wa-long_text.
wa-len = strlen( wa-long_text ).
INSERT zshino_table from wa.
SELECT * FROM zshino_table INTO table it.
clear wa.
LOOP AT it INTO wa.
WRITE:/ wa-len, ' ' , wa-long_text.
ENDLOOP.
Also, remember to set the type of the database field as String.
hope this was of some help,
thanks and regards,
Sagar. -
How to read value from Key flexfield added on to the newly created SIT
Hi Experts,
I have a requirrment to display a new structure in the Special Information Types (SIT) screen in SSHR. The data entered into the segment needs to be validated using PL/SQL function.
I have performed below steps to display the structure/field on SIT Page
1. Created new flexfield structure as XX_LEAVE_ENCASHMENT under the "HUMAN RESOURCE" Application (Application id- 800) and flexfield TITLE "Personal Analysis Flexfield" (PEA).
2. Added a new segment "Encash Days" for the newly created flexfiled structure "XX_LEAVE_ENCASHMENT".
3. Added this new structure in the Special Information Types form in HRMS responsibility
4. The structure is enabled on the SIT screen.
Now I want to validate the data entered in Encash Days field in this page by calling a PL/SQL function. This can be done by extending the SIT page Controller.
But how should the ID of the newly enabled segment (in the new Flexfield strucuture) be retrieved in the controller inorder to read the user-entered value (to further call the validation program)? Or is there any other way of achieving this functionality in OAF?
Please help.
Thanks.Hi,
Yes, u can get the value from the SIT and perform the relevant validation too.
Refer http://apps2fusion.com/at/43-ss/453-oaf-extension-case-study
Regards,
Gyan -
How to enter values in ztable from screen painter
Hi guys,
I have a scenario,where i have to enter values in ztable for the values entered in screen painter.The screen painter is supposedly having 10 columns. i enter the value in the grid(table) and when i save, the records have to be inserted into ztable created by me. how to go through the problem. kindly help in giving a flow for the problem .If anybody has gone through this scenario please help out.
Thankx in advance
Regards
Navinif ur entering one record at a time from sreen to table then
u have to use ,
in pai module of the screen u have to code,
case sy-ucomm.
when 'SAVE'.
ztable-roll = ztable-roll.
ztable-name = ztable-name.
insert ztable/modify ztable.
ENDCASE.
if ur screen is having a table control
then u have to create a loop inside a module.
like
loop at tabcontrol_name
module insert_data.
endloop.
and in the doubleclked module,
move-corresponding ztable to ztable.
insert ztable.
Note : in both cases u have selected input fields as from
table/dictionary in the screen.
Regards -
How to enter values in JList box and JTable ???
Hi friends...
i am new to Swing
SInce i am using Netbeans IDE 5.5
and there is easy to do swing programming using this IDE
now i am confused using JTable and JList box
since i used method Insert in AWT
but how to add values in LIST BOX ( JList )
ex.
JList list = new JList( );
list.add(mystringvalue, ? );
here it ask for component so what should i write here..
when i write here this, gives error.
what to do to insert string or vector or object in JList
and to enter value in JTable
THankshi Ghanshyam,
i am also new to swing i was just wondering are you using the swing palette to create your interface
by the look of the code
JList list = new JList( );
list.add(mystringvalue, ? );you may not be because every JList is put in a JScrollPane
but if you do want to do it through the palette there is an option in properties - model which you can uses to add in values.
and if your looking to get info. from a database look up
AbstractListModel &
AbstractTableModel
the is a lot of info on the internet (example net beans CarTableModel) is a
good start off
happy hunting.
JJ -
How to enter values for newly inserted field for maintenace view table
Hi ,
I have inserted new field for custom table which consits of maintance view..
I want to put some values in to this newly inserted field..
When i try to insert values bu useing se16,iam unable to view this newely inserted field..
Can you please let me know how can i insert values to this newely created field
Thanx,
ParnithHi Parnith,
It is easy to use a table maintainance to enter values to a database table....
if you have a table maintainace generator and you are not able to see the newly added field here is the reason
Everytime you add a new field , the table maintainance needs to be regenerated..The reason is that the screen you are using in the table maintainance is created within a program with respect to the fucntion group and not directly linked to the table..whenever you change the table,the function group is not affected and changes are not reflected in the table maintainance , so you have to regenerate by utilities-> table maintainance generator in sell for that table..once you do it , the function group assigned to the table automatically creates a new one with the latest fields added
Reward if helpful
Regards
Byju -
How to detect how many LOV values user selects on a WEBI Prompt
Hello Gurus,
Is there a way to identify how many LOV Values the user selects on a Webi prompt that allows multiple value selection?
For EG: If I have a webi and there's a prompt called State on the WEBI and the user selects "Utah", "Ohio" and "Texas" from the LOV and runs the query; is there a formula I can use to get the value as 3 (no.of selections)? If that's not possible, is there a way to find out if the user has selected more than 1 value?
Thanks,
RCHello,
From what I know there is no direct way of figuring it out. But here is a little trick.
Create a variable to capture the user response. Lets call it - State Prompt
It should display the values like this: Utah;Ohio;Texas
Next, get the length of the response string by using the length function.
=Length([State Prompt]). It should give you 15 in our above example.
Now, create another variable [let's call it - Replaced State Prompt] where you use Replace function, to replace/remove the ";" from the response string.
=Replace([State Prompt];";";"")
Next, get the new length of the new response string by using the length function.
=Length([Replaced State Prompt]). It should give you 13 as it removed two ";".
Now, do a subtraction and add 1 to get the count.
Overall it should be something like this-
=Length(UserResponse("Enter State")) - Length(Replace(UserResponse("Enter State");";";""))+1
Hope this helps.
Gaurav -
How do I to modify context value DATABASE.SID on existing web ADI sheet?
Does anybody know how to modify the connection context value (DATABASE.SID) on an existing web ADI sheet?
My original sheet was created against e.g. TESTBASE.TST1, but now I want the same sheet to work on PRD (PRDBASE.PRD).
In the old client version there was a hidden sheet where you could change this, but in web ADI there is no hidden sheet, and changing context values directly is not allowed.Does anybody know how to modify the connection context value (DATABASE.SID) on an existing web ADI sheet?
My original sheet was created against e.g. TESTBASE.TST1, but now I want the same sheet to work on PRD (PRDBASE.PRD).
In the old client version there was a hidden sheet where you could change this, but in web ADI there is no hidden sheet, and changing context values directly is not allowed. -
How to restrict the display of Integrator in Web ADI
Hi,
I have developed two Integrators using Web ADI in Oracle application R12.First Integrator is used for download the data and second for
Update the data in system.
For both integrator separate two function are created and tagged with single menu.Whenever I want to access Download the excel (via download integrator)
then Update Integrator is also shown (in LOV) during navigation ,its happening vice versa as well.
Here my concern about restriction for indivisual integrator, becasuse always integrator is tagged to a perticualar function So in call of perticular Integrator other Integratior should not be available in list values.
Please help and advise on the same.
Regards,
Deepak SahuHi Deepak,
the scenario you are describing should not happen. WebADI deals with security entries and this shall be rather restrictive.
Please check the following:
- How many entries do you have in BNE_SECURED_OBJECTS referencing your integrator and/or referencing your function?
=> in your case you should have exactly 2 lines, one for every integrator and the function shall be different.
If this is the case the next step is to check how often the function is assigned to a menu, also here to limit the access you should have two different menus, linked to the two functions. Assuming the menu isn't your main menu, make sure that for the different users always only one of the menus is linked.
If all the prerequisites are fulfilled, one person with one menu should see only one integrator.
Please let me know if this approach helps.
br, Volker -
How to enter values for an Info-object Manually.
Hi
I have to enter certan values manually in the customised info-object which are not available in the
BW at the moment.
If I go via SE11 I am only getting change option.
If I go via SM30 it says The maintenance dialog for ****** is incomplete or not defined.
How can I enter certain values to this info-object.
Please advise.
Many thanks,
Kate.Hi
Use transaction rsdmd to maintain infoobject values - or right click any infoobject an select maintain master data.
Regards,
Beat -
How to enter values in the selected list by pressing f4
Hi Gurus,
I have a problem can any one help me in solving this?
When we go to any table thorugh se11 or se16 to display all the records based on the selective fields like pernr, company code, benefit plan in a Z-table
Here when I want to display records of selected benefit plans by using the field bplan. here when I go to that bplan field and press f4 then gives me a list of benefit plans, from that list I have to select proper benefitplan for selected records of that plan
1. Question:
I have two new plans , can any suggest me how to add in the f4 list of that field. Is it done through any program?
Another issue,
I have a report program, when I execute it gives me selected list fields like pernr, date, and some more fields. if you select some fields with the help of f4 , we can choose correct value,
2 Question,
I have two new parameters to be added in the f4 list of the fields in the Needed very urgent?
Thanks
RaviHi
You can create a search for that field with more than one fields and yu can add the search help for that field
see the doc
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
You can add F4 values for that field using the following
See the following ex:
TYPES: BEGIN OF TY_MBLNR,
MBLNR LIKE MKPF-MBLNR,
END OF TY_MBLNR.
DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.
data: it_ret like ddshretval occurs 0 with header line.
At selection-screen on value-request for s_mat-low.
Select MBLNR from mkpf into table it_mblnr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'MBLNR'
PVALKEY = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_MBLNR
FIELD_TAB =
RETURN_TAB = IT_RET
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF SY-SUBRC = 0.
read table it_ret index 1.
move it_ret-fieldval to S_mat-low.
ENDIF.
Go through the test program.
REPORT Ztest_HELP .
TABLES : MARA.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_MATNR(10) TYPE C.
SELECTION-SCREEN END OF BLOCK B1.
DATA : BEGIN OF ITAB OCCURS 0,
MATNR TYPE MATNR,
END OF ITAB.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
SELECT MATNR
FROM MARA
INTO TABLE ITAB
UP TO 10 ROWS.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'MATERIAL NUMBER'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'P_MATNR'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = ITAB
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
Regards
Anji -
How to enter values like SYSDATE in the Data Grid Editor
I would need to insert sysdate in a field via the Data editor.
When I do this, it replaces it by to_Date('sysdate', blabla...)
Is there a way to tell sqldeveloper sysdate is a key value (like :sysdate in forms) ?
Regards
GillesSorry, I did not understand.
I just have a DATE field, which I want to update with the current date (sysdate).
How do I do that with sql developer and the data editor ? -
How to enter value not included in LOV
When I use an LOV, I'd like to be able to key-in a value not in the LOV. Can I get there from here?
I'm beginning to wonder if this is possible, since LOV's are built with 'display' and 'return' values and a dynamic user keyed value doesn't have a corresponding 'return' value, eh?
So... can anyone verify for me that LOV's will ONLY accept values existing on the LOV at time of population? If so, is there another way to provide a list of potential selection values while still providing the option of a user key-in not found on the list?
hm-m-m-m?? ;o) -
How to set value for table lines in web dynpro ?
Hi experts,
I'm new in webdynpro. My requirement is to set value to the second line when user press expand on first line.
In method ONACTIONLOAD_CHILDREN , I use get_static_attributes_table to get the current table records and change return table value .
Then i user bind_table to pass table to the screen.
It works fine for first time i press expand and collaps, but when i expand it again it throw out a dump 'OBJECTS_OBJREF_NOT_ASSIGNED'.
Could any one please help to solve that?
ThanksHi Harsha,
Thanks for your reply,I've check the dump details and it display like this:
Information on where terminated
Termination occurred in the ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" -
in "IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 40
of the (Include) program "CL_WDR_CONTEXT_ELEMENT========CM007".
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE" "(METHOD)", but it was neither
handled locally nor declared
in the RAISING clause of its signature.
The procedure is in program "CL_WDR_CONTEXT_ELEMENT========CP "; its source
code begins in line
1 of the (Include program "CL_WDR_CONTEXT_ELEMENT========CM007 ".
First time i debug it work fine but the next time it dump with same import values. And it even did not reach the logic i add when i expand it again.
I'm not sure why it happen.
My code in ONACTIONLOAD_CHILDREN is like this.
*navigate from <CONTEXT> to <ITEM_DATA> via lead selection
lo_nd_item_data = wd_context->path_get_node( path =
`COMP_CONTEXT.ITEM_DATA` ).
*get element via lead selection
lo_el_item_data = lo_nd_item_data->get_element( ).
*get all declared attributes
lo_nd_item_data->get_static_attributes_table(
IMPORTING
table = lt_item_data ).
LOOP AT lt_item_data INTO ls_item_data.
IF sy-tabix = 2.
ls_item_data-description = 'TEST'.
MODIFY lt_item_data FROM ls_item_data TRANSPORTING description.
ENDIF.
ENDLOOP.
lo_nd_item_data->bind_table( new_items = lt_item_data
set_initial_elements = abap_true ).
lo_nd_item_data->set_lead_selection_index( 1 ).
First line was set selected but still got dump.
Could you please help to check this ?
Thanks & Regards
Eric Li
Maybe you are looking for
-
TS2972 How do I use home sharing to move a movie to another computer
I am trying to move my digital copy of The hunger games to another computer through home sharing is this posssible?
-
I have an icloud account linked to an email address that is no longer in service. I do not have the password for the account and am trying to retrieve the songs and data from the cloud to use on new apple device. Any way to get a new password, able
-
Svrcfg show Job Server not running
Hi, I am currently running Data Services 12.1.1.0 on Linux RH AS 4.6. I have noticed an issue and wondering whether there is something I am doing wrong. I installed DS and configured the JS. I have successfully started, stopped and started this again
-
how do i open a raw file in cs3
-
Hi all I am trying to populate the value of MRP_SCHEDULE_DATES.RESERVATION_ID with the value of OE_ORDER_LINES_ALL.LINE_ID while running the Load MDS Program under Manufacturing Scheduler Responsibility. The Program runs normal but does not populate