Customise Select Value screen
Hi all,
some of our users are asking if it is possible to customise the Select Value screen when filtering characteristics.
In some cases they would prefer to have the History option as starting point, in other the Single Values.
Is there any possibility how to maintain this in general for a characteristic?
Is there any table where this is stored.
Could users change their starting point individually?
We are on Netweaver, SAP GUI patch 9, BEx patch 7.01.
Thanks
Stefan
Hi Deepak,
required change is:
Open a query, Select Values for Variables popup appears, Choose the "Select from List" option to open the Select values dialogue box.
This box is opened as standard with History. I would like to know if there is the possibility to open it with Favorties or Single Values instead and if this can be customised for each user.
Br
Stefan
Similar Messages
-
Variable Entry - Select Values for plant
Hi All,
I am using a variable(OPLANT) in a report and in select screen I just need Key and Text.But Now I see more details. Ex:key,text,country key,business partners and so on. How do I get this to display just key and text from the select values screen.
I tried Business explorer tab settings and set it to key and text but still no luck.
Any Help please ?
Regards
SRHi,
There is a third check you can do apart from the two checks mentioned by Kiran above.
There is column called 'Order for F4 help' in the 'Attribute' tab of an infoobject.
Here the value against each of the attribute being displayed as of now should be made'00'.
When we make custom infoobjects, it is generally kept as '00' by default.
But since this is a standard SAP infoobject, this might have values greater than 0.
This indicates that these values will appear along with the infoobject during the value
help (in the order of the number mentioned).
It might not be possible for you to change this number. In that case you might have to
create an infoobject (copy of this object but without values against 'order for F4 help') and
use in the flow and query.
- Shruti -
Variable entry screen for query doesnt show selection values.
Hi,
I've created a query with date varibale Quarter From-To. When i execute this query, the variable entry screen pops up but when i try to select values just shows ??? and not the text.
if i run the same query in RSRT the variable entry screen pops up but here the selection values are present for me to choose from.
can anyone tell why the values arent showing when the query is executed.
Thanksyes, it seems to be a problem with NetWeaver BI BEx Java Web runtime as it works in RSRT and web analyzer. Found a note on marketplace note 125357 - No values displayed for attributes in input help but this did not resolve issue.
A call has been raised now as it seems to be a product fault -
Passing value to select options screen.
Hi All,
Can anybody help me how to pass a value to select option screen from another screen?
It's like a user enters a value in a input field and press a button to navigate to the next screen which contains the select option fields.How can i show the value enterd in the previous screen to be shown in one of teh input field in the select option screen.Hi,
Store the values that you have to pass in a global variable declared in component controller and
Use the following piece of code in the second view,
DATA: lt_range_table TYPE REF TO data,
rt_range_table TYPE REF TO data,
read_only TYPE abap_bool,
typename TYPE string.
* create a range table that consists of this new data element
lt_range_table = lo_r_helper_class->create_range_table( i_typename = 'MATNR' ).
FIELD-SYMBOLS: <tab> TYPE INDEX TABLE,
<struct> TYPE ANY,
<wa> TYPE ANY,
<option> TYPE char2,
<sign> TYPE char1,
<high> TYPE ANY,
<low> TYPE ANY,
<wa_values> TYPE ANY.
ASSIGN lt_range_table->* TO <tab>.
APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
<sign> = 'I'. "Default sign which you want to give
<option> = 'EQ'. "Default option you want to give
<low> = 'M-01'." pass your valriable name here
*<high> = 'High_value'.
* add a new field to the selection
lo_r_helper_class->add_selection_field( i_id = 'S_MATNR'
i_description = 'Material'
it_result = lt_range_table ).
Regards,
Radhika. -
How we can assign the customised selection screen to report category
hai
gurus
how we can assign the customised selection screen to report categoryHi Naresh,
You can do like this.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN BEGIN OF BLOCK SELECTION WITH FRAME.
SELECT-OPTIONS: S_FKART FOR VBRK-FKART.
SELECT-OPTIONS: S_FKDAT FOR VBRK-FKDAT OBLIGATORY.
SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
SELECT-OPTIONS: S_AUART FOR VBAK-AUART.
SELECTION-SCREEN END OF BLOCK SELECTION.
SELECTION-SCREEN END OF BLOCK B1.
if you give me brief i can help you out more.
Thank you .
Regards
Ram -
Copy 'Favorites' in 'Select Values for Variables' screen
I need to copy a list that I created as a 'Favorite' in the 'Select Values for Variables' screen for Customer to all the other userids so that everyone is using the same list of customers. Can someone tell me the table(s) where these values are stored? Is there a function module or program available that copies 'Favorites'.
It would be nice if you could select if the 'Favorites' you create can be 'Global'.
Thanks.the variant values are stored in RSRPARAMETRIZA. the field content stores in XML format. you can write an ABAP program to read and update it.
Edited by: Ananda Theerthan on May 26, 2010 8:56 PM -
Customise Biller Directs screen
hi,
Can we customise (enable disable buttons) the Biller Directs screen (frameset_top_html.jsp) ?
If yes then from where.
Thanks,Hi Deepak,
required change is:
Open a query, Select Values for Variables popup appears, Choose the "Select from List" option to open the Select values dialogue box.
This box is opened as standard with History. I would like to know if there is the possibility to open it with Favorties or Single Values instead and if this can be customised for each user.
Br
Stefan -
Getting selected value from Listbox
Hi,
I have populated my listbox on the selection screen using the function module VRM_SET_VALUES.
How do I get the value which is selected from the list box.
Where is the selected value in the listbox stored.
Thanks,
AbhishekThe code I used is:
Another issue is that whenever I select any value in the listbox it is not displayed on the screen. It becomes blank again.
PARAMETERS: p_prin AS LISTBOX VISIBLE LENGTH 30 USER-COMMAND sele.
DATA: i_printers TYPE STANDARD TABLE OF frprlist,
wa_printers TYPE frprlist.
DATA: l_name TYPE vrm_id,
i_list TYPE vrm_values,
l_ctr TYPE i VALUE 0,
wa_value LIKE LINE OF i_list.
CLEAR: wa_value.
Get printers
CALL FUNCTION 'RSPO_FRONTEND_PRINTERS_FOR_DEV'
EXPORTING
device = p_print
TABLES
list = i_printers
EXCEPTIONS
no_list = 1
list_truncated = 2
name_not_found = 3
OTHERS = 4.
IF sy-subrc EQ 0.
Populate to drop down box
l_name = c_prin.
LOOP AT i_printers INTO wa_printers.
l_ctr = l_ctr + 1.
wa_value-key = l_ctr.
wa_value-text = wa_printers-prname.
APPEND wa_value TO i_list.
CLEAR wa_value.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = l_name
values = i_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc NE 0.
Do nothing
ENDIF.
ENDIF.
CLEAR: l_name, l_ctr, wa_value, i_list. -
How to capture the selected values from module pool dialog list box !
Hi experts,
Can anyone help me out in capturing the values from the list box.
i am able to set the values in the list box.But i am not able to capture the selected value from the list box. Always the list box name is getting as "space"
I also tried in using the FM "VRM_GET_VALUES" but it is retireving all the values. Is there is any flag for filttering out the selected value.
Your inputs are appreciated.
Thanks,
Vijay.Along with the PBO and PAI event, add a POV event in the flow logic of the screen
DEMO_DROPDOWN_LIST_BOX -is a good demo example.
PROCESS ON VALUE-REQUEST.
FIELD structure_name-field_name MODULE create_dropdown_box.
In the report :
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
sdyb_conn-carrid will contain your selected field -
How to get selected value from a listbox
Hi !
I use following code to fill in my LISTBOX with values :
AT SELECTION-SCREEN OUTPUT.
val-key = 1.
val-text = '0016'.
APPEND val TO list_values.
val-key = 2.
val-text = '0028'.
APPEND val TO list_values.
val-key = 3.
val-text = '0035'.
APPEND val TO list_values.
val-key = 4.
val-text = '2001'.
APPEND val TO list_values.
val-key = 5.
val-text = '0515'.
APPEND val TO list_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = 'p_list'
values = list_values.
My question is - how to get a selected key/text value ? i dont need it to be done dynamically - i just need it in START OF SELECTION to perform tasks.
Thx in advance.Unfortunetly it does not work
i Define parameter as follows :
PARAMETERS:
p_list AS LISTBOX VISIBLE LENGTH 10.
Then i add values to it :
AT SELECTION-SCREEN OUTPUT.
val-key = 1.
val-text = '0016'.
APPEND val TO list_values.
val-key = 2.
val-text = '0028'.
APPEND val TO list_values.
val-key = 3.
val-text = '0035'.
APPEND val TO list_values.
val-key = 4.
val-text = '2001'.
APPEND val TO list_values.
val-key = 5.
val-text = '0515'.
APPEND val TO list_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = 'p_list'
values = list_values.
Then when i add a blank section :
AT SELECTION-SCREEN ON p_list.
I set a breakpoint in START OF SELECTION block - but the value is empty no matter what do i select.
Actually when i select value from the list and hit enter key on selection screen the selection in a listbox goes empty :/
Whats the cause of this ?
Edited by: Jacek Zebrowski on Feb 26, 2009 12:38 PM -
Copy selected values from a table control into another table control
hi there,
as seen in the subject i need to copy selected values from a table control into another table control in the same screen. as i dont know much about table controls i made 2 table controls with the wizard and started to change the code... right now im totally messed up. nothing works anymore and i don't know where to start over.
i looked up the forums and google, but there is nothing to help me with this problem (or i suck in searching the internet for solutions)
i have 2 buttons. one to push the selected data from the top table control into the bottom tc and the other button is to push selected data from the bottom tc into the top tc. does somebody has a sample code to do this?you're funny
i still don't get it... can't believe, there is no tutorial or sample code around how to copy multiple selected rows from a tc.
here's my code, maybe you can tell me exactly were i have to change it:
tc1 = upper table control
tc2 = lower table control
SCREEN 0100:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
MODULE get_nfo. --> gets data from the dictionary table
MODULE tc1_change_tc_attr.
LOOP AT it_roles_tc1
INTO wa_roles_tc1
WITH CONTROL tc1
CURSOR tc1-current_line.
ENDLOOP.
MODULE tc2_change_tc_attr.
LOOP AT it_roles_tc2
INTO wa_roles_tc2l
WITH CONTROL tc2
CURSOR tc2-current_line.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT it_roles_tc1.
CHAIN.
FIELD wa_roles_tc1-agr_name.
FIELD wa_roles_tc1-text.
ENDCHAIN.
FIELD wa_roles_tc1-mark
MODULE tc1_mark ON REQUEST.
ENDLOOP.
LOOP AT it_roles_tc2.
CHAIN.
FIELD wa_roles_tc2-agr_name.
FIELD wa_roles_tc2-text.
ENDCHAIN.
FIELD wa_roles_tc2-mark
MODULE tc2_mark ON REQUEST.
ENDLOOP.
MODULE ok_code.
MODULE user_command_0100.
INCLUDE PAI:
MODULE tc1_mark INPUT.
IF tc1-line_sel_mode = 2
AND wa_roles_tc1-mark = 'X'.
LOOP AT it_roles_tc1 INTO g_tc1_wa2
WHERE mark = 'X'. -
> big problem here is, that no entry has an 'X' there
g_tc1_wa2-mark = ''.
MODIFY it_roles_tc1
FROM g_tc1_wa2
TRANSPORTING mark.
ENDLOOP.
ENDIF.
MODIFY it_roles_tc1
FROM wa_roles_tc1
INDEX tc1-current_line
TRANSPORTING mark.
ENDMODULE. "TC1_MARK INPUT
MODULE tc2_mark INPUT.
IF tc2-line_sel_mode = 2
AND wa_roles_tc2-mark = 'X'.
LOOP AT it_roles_tc2 INTO g_tc2_wa2
WHERE mark = 'X'. -
> same here, it doesn't gets any data
g_tc2_wa2-mark = ''.
MODIFY it_roles_tc2
FROM g_tc2_wa2
TRANSPORTING mark.
ENDLOOP.
ENDIF.
MODIFY it_roles_tc2
FROM wa_roles_tc2
INDEX tc2-current_line
TRANSPORTING mark.
ENDMODULE.
thx for anybody who can help with this! -
Created a simple page with a few text inputs and 4 LOV. After selecting a value from the last LOV the following error is displayed:
Error:
You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed.
OA Framework 12.1.3
Oracle OA Extension 10.1.3 - build 1313
Any pointers to the cause ?
Thanks[57]:EVENT:[xx.oracle.apps.ap..webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap..webui.EngagementCO: Entering Process Form Data
[57]:EVENT:[xx.oracle.apps.ap..webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap..webui.EngagementCO: Entering Process Form Data
[57]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:VendorId , Return Value without datatype conversion :996
[58]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:VendorSiteId , Return Value without datatype conversion :60158
[58]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:BusinessPrincipalId , Return Value without datatype conversion :48375
[59]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:AttorneyPersonId , Return Value without datatype conversion :37430
[59]:EVENT:[fnd.framework.webui.OAMessageLovInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageLovInputHelper: View:xxEngagementVO1 ,Attribute:Vendor , Return Value without datatype conversion :CLIFFORD CHANCE
fnd.framework.webui.OAMessageLovInputHelper][60]:EVENT:[fnd.framework.webui.OAMessageLovInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageLovInputHelper: View:xxEngagementVO1 ,Attribute:AttorneyName , Return Value without datatype conversion :Bloggs, Mr. Joe
[60]:UNEXPECTED:[fnd.framework.webui.OAPageContextImpl]:MACCHECK: . Parameter failing validation is :MatterCode. Parameter "MatterCode" failed Validation. Value got from request object is 2435
Incoming URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=16&oas=xSrFYCAbgOaPGVhqpb0-hA.. .
Current URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=16&oas=xSrFYCAbgOaPGVhqpb0-hA.. .
Referer URL is : https://paydev.company.com/OA_HTML/RF.jsp?function_id=48080&resp_id=53189&resp_appl_id=20003&security_group_id=0&lang_code=US¶ms=CtXL5LFdg5E7c.aFPRw7fTZ5STWrUsz9iXF2ByXh3F4&oas=gAqepzP-un4kBOC8NUxtIQ.. .
HTTP Request Method is : POST
[62]:ERROR:[fnd.common.Message.auto_log]:FNDFND_FORM_POST_SECURITY_FAILEDYHOMEFND_GLOBAL_PRMPT_HOME
[62]:ERROR:[fnd.framework.OAException]:You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed.
Click on browser Back button and all LOV values are empty on original screen. Try and select value from LOV and after selection:
[23]:EVENT:[xx.oracle.apps.ap.legal.webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap.legal.webui.EngagementCO: Entering Process Form Data
[23]:EVENT:[xx.oracle.apps.ap.legal.webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap.legal.webui.EngagementCO: Entering Process Form Data
[23]:UNEXPECTED:[fnd.framework.webui.OAPageContextImpl]:MACCHECK: . Parameter failing validation is :VendorId. Parameter "VendorId" failed Validation. Value got from request object is 996
Incoming URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=17&oas=lC4tbZwHYHffQY6uX7agiA.. .
Current URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=17&oas=lC4tbZwHYHffQY6uX7agiA.. .
Referer URL is : https://paydev.company.com/OA_HTML/RF.jsp?function_id=48080&resp_id=53189&resp_appl_id=20003&security_group_id=0&lang_code=US¶ms=CtXL5LFdg5E7c.aFPRw7fTZ5STWrUsz9iXF2ByXh3F4&oas=gAqepzP-un4kBOC8NUxtIQ.. .
HTTP Request Method is : POST
[25]:ERROR:[fnd.common.Message.auto_log]:FNDFND_FORM_POST_SECURITY_FAILEDYHOMEFND_GLOBAL_PRMPT_HOME
[25]:ERROR:[fnd.framework.OAException]:You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed. -
How to capture the selected values of the filter?
Hi Everybody
I have created a dashboard using a 4 column filter. It all works well - no problem.
I now need to enhance the functionality of the dashboard which needs the selected values of each of the parameters of the filter. As far as I know, the selections of the fiilter columns are not "Inserted In" any cell, only the data values of the corresponding row not including the filter columns are inserted in the "Inserted In" row, is there a way to capture the values of the filter column selections in some cells on the spreadsheet?
An early response from you all shall be highly valued.
Also, does anyone know which is the current equivalent version of Xcelsius to the old Xcelsius Workgroup version. This Xcelsius Workgroup version supported the "XML Integration Dynamic Refresh" wherein you didn't have to reinserted the updated Excel spreadsheet into Xcelsius have an updated dashboard - as long as the corresponding XML files were updated with the latest data, the exported dashboard would refresh.
Best regards
Deepak AgarwalAlong with the PBO and PAI event, add a POV event in the flow logic of the screen
DEMO_DROPDOWN_LIST_BOX -is a good demo example.
PROCESS ON VALUE-REQUEST.
FIELD structure_name-field_name MODULE create_dropdown_box.
In the report :
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
sdyb_conn-carrid will contain your selected field -
Selected value in search help cannot be returned
Hi experts!
When I select value in search help, selected value is not returned to the field.
I did like this.
1. I enhanced BP using EEW.
2. I created a new view and display an enhanced field via BSP workbench.
(an enhanced field is assigned to a check table)
3. I created GET_V_XX method as follows.
method GET_V_ZZBUT000000102.
DATA:
ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
ls_map-context_attr = 'STRUCT.ZZBUT000000102'.
ls_map-f4_attr = 'KEY'.
APPEND ls_map TO: lt_inmap, lt_outmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'CRMST_HEADER_OBJECT_BUIL-ZZBUT000000102'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
endmethod.
Does anyone know what is wrong?Hi Yohei,
You could resolve your issue by changing the value of the "ls_map-context_attr" to the attribute value seen on the F2 help on WebUI screen.
If you change the value ls_map-context_attr to 'ZZBUT000000102' , then F4 help would work properly.
Hence the correct code would be:
method GET_V_ZZBUT000000102.
DATA:
ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
ls_map-context_attr = 'ZZBUT000000102'.
ls_map-f4_attr = 'KEY'.
APPEND ls_map TO: lt_inmap, lt_outmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'CRMST_HEADER_OBJECT_BUIL-ZZBUT000000102'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
endmethod.
Regards,
Pratik Gandhi -
Accessing Selected Value from Payment Terms (Item 47) in AR Invoice Form
Hi,
Have just started working in SAP Business One and SDK adn would really appreciate any help I could receive.
I'm trying to access the selected value from Payment Terms field(Item 47) in the AR Invoice Form.
Have successfully managed to do this against Customer Code field using the following code-:
Private Sub eventHandlerTest(ByVal FormUID As String, pVal As SAPbouiCOM.ItemEvent, BubbleEvent As Boolean)
Dim frm As SAPbouiCOM.Form
Dim itmCustomer As SAPbouiCOM.Item
Dim edtCustomer As SAPbouiCOM.EditText
Dim itmRemark As SAPbouiCOM.Item
Dim edtRemark As SAPbouiCOM.EditText
Dim FieldNo As String
Set frm = SBO_Application.Forms(FormUID)
Set itmCustomer = frm.Items(pVal.ItemUID)
Set edtCustomer = itmCustomer.Specific
If UCase(edtCustomer.Value) = "CALECH1" Then
FieldNo = "16"
Set itmRemark = frm.Items(FieldNo)
Set edtRemark = itmRemark.Specific
edtRemark.String = "E"
End If
End Sub
However when doing the same thing for Payment Terms I get the error "Run-time error '13': type mismatch" on the line
Set edtOrderType = itmOrderType.Specific
ThanksHi,
On the new invoice's form item 47 is ComboBox and I guess it's stay in the same type when you open existing invoice. So try to work with this item like with ComboBox. But if you need only get some information about existing invoice, you don't need to fork with the screen objects - you can get all you need from the DI Document object. Open Document object with Invoice type, find invoice and check PaymentGroupCode property.
Best regards,
Mark
Maybe you are looking for
-
HT4137 to reset my I phone 5, Could you help me!!!!
Help to fix my iPhone 5 <Edited by Host>
-
Hi, in addition to my previous topic I have one more question. When using the second monitor the primary display of the MacBook is still active (synchronization turned off!). Applications appear only on the second monitor but I oven loose my mouse be
-
If you are a .mac user you can click on Mac in the top menu bar. It lists Account, Mail, Address Book, My Pages, etc. Under My Pages, it lists hits for my . mac homepage pages and now I notice it will show hits for 5 of my iweb pages, but how can I c
-
Hello, I create some Selectlist in a report: APEX_ITEM.select_list_from_query (20, --p_idx '%null%', --p_value 'SELECT no || '' * '' || bez, bws_id FROM v_test where bws_id = ' || fr.bws_id_zuf || ' AND lang
-
Configuration of Tolereance Limits in Invoice Verification
Hi SAP Experts, How to configure this scenario as below We made an PO with 48000 HKD and also GR for the same value but while when we do the IV with 480000 HKD the system neither not giving any warning that the price is too above nor block the Invoic