Import parameter shall be same type like select option
Hey guys,
how can i make it possible that my importparameter of my FB has the type of the select option field of my program??
I need something like a tabletype or a list of values.
Thx
Hi,
<li>Define like below
DATA: s_matnr TYPE RANGE OF mara-matnr.
or
TABLES: mara.
RANGES: s_matnr FOR mara-matnr.
Thanks
Venkat.O
Similar Messages
-
HOW TO DESIGN RANGE SELECTION IN MODULE PULL LIKE SELECT-OPTION.
HOW TO DESIGN RANGE SELECTION IN MODULE PULL LIKE SELECT-OPTION.
how can we add range selection in screen painter.
regards.Hi,
create two input fields and a push button like select option in the screeen.
Try checking this logic
<b>Program:</b>
<b>ranges</b> ra_matnr for mara-matnr.
<b>Layout field name declaration:</b>
Give the low field name as ra_range-low
and high field name as ra_range-high.
extension for pushbutton.--exten(function code)
next -- function code for the enter key.
PBO
module status_3000.
PAI
module user_command_3000.
<b>module user_command_3000.</b>
if sy-ucomm = exten.
call screen 400. (screen which shows extension values can be kept).
elseif sy-ucomm = Next.
if ra_matnr-low is not initial.
ra_matnr-SIGN = 'I'.
ra_matnr-OPTION = 'EQ'.
APPEND ra_matnr.
clear ra_matnr.
endif.
if ra_matnr-high is not initial.
ra_matnr-SIGN = 'I'.
ra_matnr-OPTION = 'EQ'.
APPEND ra_matnr.
clear ra_matnr.
endif.
endif.
endmodule.
module status_3000.
read table ra_matnr index 1 into ra_matnr .
set pf-status '3000'.
set title '3000'.
endmodule
Br,
Laxmi. -
Is possible in a dialog screen attach a field functional like select-option
hi,
Is it possible - in a dialog screen - to attach a field that has functionality like Select-options fields?
And if so - how?
and information about complex_selections_dialogHi,
Look at the below links
module pool programming " to add selection-option on screen"
module pool programming " to add selection-option on screen"
Regards
Sudheer -
Parameters will it work like Select-Option is there any chance
Hi Every One
I am using Parameters to do selection .but in one case i need to get some data for the whole month .i have the values in 2 different variables .(If we use select-option then we can use sign,option,low,high .).but how to do here . Any idea is please do let me know.
SravyaHi,
<li>Define range table.
DATA:r_data TYPE RANGE OF datum,
w_data LIKE LINE OF r_data.
<li>Build range table
w_data-low = parameter1.
w_data-high = parameter2.
w_data-sign = 'I'.
w_data-option = 'BT'.
APPEND w_data TO r_data.
CLEAR w_data.
<li>Use that in SELECT statement.
SELECT * FROM <db_tab> INTO TABLE <it_tab> WHERE <date_field> IN r_data.
Thanks
venkat.O -
Create Popup like Select options
Hi at all,
I want to create a button that calls a popup like in the select options, without using the select options component.
In Standard ABAP there is a function called "COMPLEX_SELECTIONS_DIALOG" who creates and call the dialog.
Does anybody know an adaption for this function in Web Dynpro for ABAP?
Thx a lot to all.
DirkHello Dirk,
We have a new enhacement in code wizord by which you could replicate a screen into a webdynpro view.
So the framework would choose different ui elements to create similar screen,
Regards
Anurag Chopra -
BAPI at INPUT give range like SELECT-OPTIONS
hi all
i don't know weather it right forum for BAPI , but writing under this .
my requirement is like , as we give range in SELECT-OPTIONS,
like wise i want to give range in BAPI at INPUT level .
i.e. say i want to get details of Vendors , i will write a BAPI and i will give VENDOR code range to get information of all vendor with in that range.
please guide me in this .Hi!
You could use this bapi fm: BAPI_VENDOR_GETDETAIL
I could imagine it like this:
1. You have to create an FM, with the RA_LIFNR range.
2.
SELECT * FROM lfa1 INTO TABLE gt_lfa1
WHERE lifnr IN ra_lifnr.
LOOP AT gt_lfa1 INTO gs_lfa1.
CALL FUNCTION 'BAPI_VENDOR_GETDETAIL'
with the parameters
collect data into an output table
ENDLOOP.
3. Give back the output table to the caller program
Regards
Tamá -
Multiple inputs like select-option
Hi everybody,
Please let me know if there exists an option in BSP for multiple inputs in inputfield, like we have in select-option in R/3.
ThanksHello Swarnali,
You need to fill internal table of select-option once you got into the event AT SELECTION-SCREEN ON VALUE REQUEST FOR so_carr-LOW.
so sudo code will be:
AT SELECTION-SCREEN ON VALUE REQUEST FOR so_carr-LOW.
Select data from table.
so_carr-LOW = value
append so_carr.
You can also use NO INTERVAL to suppress the so_carr-HIGH value on selection screen.
Thanks,
Augustin. -
I have tried multiple times to sync a bunch of RHCP songs that i imported, but they wont copy onto my iPhone. I have tried isolating them in a playlist and syncing just that playlist and still nothing. please help. I have done this with other songs before and it worked fine but for some reason these ones wont copy.
I suggest taking it back to Best Buy. Once it has been opened, Apple will not handle the phone. Best Buy or another 3rd party are your only choices. Best Buy probably made an error when replacing the screen. Understand they are not an authorized Apple Service Center.
-
S_ALR_87012277 Tcode -- Modify Currency type to select-option
Hi,
S_ALR_87012277 Tcode has currency type field, I have a requirement to change Currency type to change selection field. user want to run 10,30,60 currency types same time rather than each currency at a time. Copied SAP program RFSSLD00 to Zprogram and SDF LDB to ZSDF but this program and LDB is looking complex to modify. Is there any simple way to get this get this?
I appreciate any comments on this.
Regards,
Venkat.No you can t . Program for report is Rfssld00.
-
Unable to send structure data type as import parameter in RFC
I have one RFC to web service scenario.My sending RFC is as follows:
FUNCTION ZIXI_001_EMP_DET.
""Local Interface:
*" IMPORTING
*" VALUE(EMP_DET) TYPE ZIXI_EMP
*" VALUE(OFFER_DT) TYPE ZXI_OFFER_DATA
ENDFUNCTION.
Here ZIXI_EMP is a structure with following details:
EMP_ID INT4 INT4 10 0 Natural Number
NAME STRING128 CHAR 128 0 128 Lowercase and Uppercase Letters
SAL INT4 INT4 10 0 Natural Number
and ZXI_OFFER_DATA is another structure with following details:
REQ_ID STRING128 CHAR 128 0 128 Lowercase and Uppercase Letters
PRICE STRING128 CHAR 128 0 128 Lowercase and Uppercase Letters
QTY STRING128 CHAR 128 0 128 Lowercase and Uppercase Letters
After configuring everything in IR and ID, I called the RFC from R3 system with following data:
EMP_DET:
EMP_ID 15
NAME XYZ
SAL 5.000
OFFER_DT:
REQ_ID A235
PRICE 50
QTY 3
but when I am checking in sxmb_moni, payload only containing first field of each structure. i.e.,
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZIXI_001_EMP_DET xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <EMP_DET>
<EMP_ID>15</EMP_ID>
<NAME />
<SAL>0</SAL>
</EMP_DET>
- <OFFER_DT>
<REQ_ID>A235</REQ_ID>
<PRICE />
<QTY />
</OFFER_DT>
</rfc:ZIXI_001_EMP_DET>
Why this is happening I don't know. is there any constraint with SAP XI 3.0 that we can not pass values using structure?...
Or any configuration needs to be done?
Please help....Guess I got it... U should define the structure as Tables parameter and not as Import Parameter...
should be like
FUNCTION ZIXI_001_EMP_DET.
""Local Interface:
*" TABLES
*" EMP_DET STRUCTURE ZIXI_EMP
*" OFFER_DT STRUCTURE ZXI_OFFER_DATA
ENDFUNCTION.
~SaNv...
Edited by: Santhosh Kumar V on Mar 18, 2010 6:35 PM -
Problem in passing select-options to class meathods , type any table
<h1>how to pass type any table to class meathod</h1>
<h3>hi all
i'm trying to build class to validate the selection screen , like select-options and parameters
while writing meathod to validate the select-options
its throwing parameter mismath error</h3>
<h4>i tried like made import parameter in class meathod as 'TYPE ANY TABLE' and tried to pass select-options from my program it is saying type mismatch , how to overcome this problem </h4>
<h4>and i want to pass any select option , either of type lfa1-lifnr or mara-matnr or any other</h4>
Moderator message : Don't shout, use proper font size for explaining the question. This has been discussed in ABAP forums before. Search for available information. Thread locked.
Edited by: Vinod Kumar on Sep 14, 2011 11:20 AMhI
Triggering and Handling events
At the moment of implementation, a class defines its:
Instance events (using the EVENTS statement)
Static events (using the CLASS-EVENTS statement)
Classes or their instances that receive a message when an event is triggered at runtime and want to react to this event define event handler methods. Statement: METHODS
CLASS IC1_VEICHLE DEFINATION.
PUBLIC SECTION.
METHOD CONSTRUCTOR IMPORTING
EVENTS VEICHEL_CREATION.
ENDCLASS
CLASS LC1_VEICHLE IMPLIMENTATION.
METHOD CONSTRUCTOR
RAISE EVENT VEICHLE_CREATION.
REWARD IF USEFULL -
hello all,
i have requierment in which i am confused.I have to declare a field in selection screen for user input. I have declared the field as parameter.But there is no multiple select option. And user ant to have multiple select option(.i.e interval range).
The problem is the field i have declared in parameter is type c.Like:: Enterprise(30) type c,
divivsion(30) type c.
So this is not having any interval range.If i use select-option i can provide the range. SO plz help how can i define the parameter in select-option if its possible.
Most important thing is is there is no filed for refrence like: s_matnr for mara-matnr. as we can define in select-option.
Plz suggest some thing on this.
Thanks & Regards,
Anu MaheshwariHi Anu,
Decalare it as
1)If you want your SELECT -OPTIONS to behave like parameters. USe the option.
<b>SELECT-OPTIONS ..... NO INTERVALS NO-EXTENSION</b>
REPORT abc.
DATA : v_enterpr(30) TYPE c,
v_divin(30) TYPE c.
SELECT-OPTIONS : s_enterp FOR v_enterpr NO INTERVALS NO-EXTENSION ,
s_divin FOR v_divin NO INTERVALS NO-EXTENSION .
2)If you want to have it as SELECT-OPTIONS.
Then
REPORT abc.
DATA : v_enterpr(30) TYPE c,
v_divin(30) TYPE c.
SELECT-OPTIONS : s_enterp FOR v_enterpr ,
s_divin FOR v_divin .
Refer to the program I gave in this link for more details.
Re: Difference of "NO INTERVALS NO-EXTENSION" and "Parameter"
Regards,
Arun Sambargi. -
Hi Experts,
I've defined one parameter for company code(BUKRS) & one select option for valuation class (BWKEY) in my selection screen.
If I select any comp code in the parmeter, then in F4 help for valuation class should show only valuation class assigned to that comp code.
It can derived from table T001k .
Could anybody help in this issue?
Points for Sure.
Thanks,
Ponraj.s.Hi,
Check the below code.
tables: t001k.
For Identification Number
DATA: BEGIN OF it_bwkey OCCURS 0,
bwkey LIKE t001k-bwkey,
END OF it_bwkey.
data: v_bukrs(4).
For Run date
DATA: BEGIN OF it_bukrs OCCURS 0,
bukrs LIKE t001k-bukrs,
END OF it_bukrs.
DATA it_ret LIKE ddshretval OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK main WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS: p_bukrs(4) TYPE c.
SELECT-OPTIONS s_bwkey FOR t001k-bwkey NO INTERVALS.
SELECTION-SCREEN END OF BLOCK main.
Validation Section
INITIALIZATION.
SELECT DISTINCT bukrs FROM t001k INTO TABLE it_bukrs.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_BUKRS'
value_org = 'S'
TABLES
value_tab = it_bukrs
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.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bwkey-low.
TABLES: t130r.
DATA: BEGIN OF dynpfields OCCURS 0. "Hilfsstruktur zum auslesen des
INCLUDE STRUCTURE dynpread. "Feldwertes vom Dynpro bei >F4<
DATA: END OF dynpfields.
DATA : sy_repid LIKE sy-repid,
sy_dynnr LIKE sy-dynnr.
CLEAR dynpfields.
REFRESH dynpfields.
dynpfields-fieldname = 'P_BUKRS'.
APPEND dynpfields.
Lesen des akt. Wertes von Dynpro
sy_repid = sy-repid.
sy_dynnr = sy-dynnr.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy_repid
dynumb = sy_dynnr
TABLES
dynpfields = dynpfields
EXCEPTIONS
OTHERS = 01.
IF sy-subrc = 0.
READ TABLE dynpfields WITH KEY fieldname = 'P_BUKRS'.
IF sy-subrc = 0.
v_bukrs = dynpfields-fieldvalue.
ENDIF.
ENDIF.
SELECT bwkey FROM t001k
INTO TABLE it_bwkey
WHERE bukrs = v_bukrs.
DELETE ADJACENT DUPLICATES FROM it_bwkey.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BWKEY'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'S_BWKEY'
value_org = 'S'
TABLES
value_tab = it_bwkey
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.
Message was edited by:
Velangini Showry Maria Kumar Bandanadham -
In import Pricing Proceedure, Some Condition types added to Material Cost
HI,
In Import Pricing procedure, Some condition types (Like Basic Customs Duty,Edu Cess & Hier Edu Cess) are added to material cost. The remaining are not added. What is the configuration to add condition types to Material cost?
Note - we have added FR3 account key for all condition types. Then why few condition types are added to material cost and why others are not added to material cost?
Can any one please help me on this..
Thanks
KBAssign key "NVV" to those condition types which are to be loaded to material cost.
Hope this resolves ur problem -
Z_Dialog prog initial input screen-looking like selection screen of Report?
Hi Experts,
In internet, I found 2 screens( code is not mentioned there) and mentioned that, they r Dialog Prog. screens, they r as below,
1 - Initial input screen-programmer mentioned it as a selection screen-1000
2 - Output screen in ALV grid (Object ALV)
So, when I saw this initial input screen, it looks like same as selection screen 1000 of a report prog., I mean, its containing all selection screen components, like Select-options with out interval, with out extension, blocks, titles for these blocks!!
So,pls. let me know that,
1) How the programmer achived this screen? is he used like,
SELECTION SREEN 1000 START
END OF SELECTION SCREEN 1000
2) How these input fileds r looking like select-optins, parameters, blocks etc.?
thanqPutting selection screens on dialogue transactions have been covered before in the forum. Please search.
Rob
Maybe you are looking for
-
Pre-installed win 8.1 and new hard disk
Goodevening, I have a G50-30 with win8.1 pre-installed. I didnt recived any disk, no driver disk, no software disk, no windows disk, even no windows product key. Anyway, I'd like to change my hdd to ssd. So i've started with trying to create a window
-
Currency convension based on calday
Hi i have one scenerio , I am getting Total Valuated Stock Value(ZSR_TVSTV) is equall to inventory on hand.(plant) from 5 global systems with deffirent curriencies. i need to convery source to target currenct to USD at transformations level, I have c
-
Also I need ndiswrapper support for solaris 10
I have a linksys -G type router and my computer uses a Linksys Wireless-G PCI Adapter with SpeedBooster which works in Linux like mandrake , debian systems like knoppix and kanotix but their are some buggy like debian also that don't let me change th
-
How do I get hbo go to work from ny IPhone 4S to my apple tv
I have the HBO Go app but don't have any luck using it. I also have an HBO subscription.
-
Automatic confirmation in process order
Hello everybody. I need made automatic confirmation to some phases in process order, I hade read that this is possible using process messages. Process management supports the direct confirmation from the PI sheet and process control system to the pro