How can I transport a select-option structure into a RFC function
hey,
I want to import 10 select-option fields into RFC function.
the structure likes follows:
DATA: BEGIN OF T_EBELN,
SIGN TYPE C,
OPTION(2) TYPE C,
LOW LIKE EKKO-EBELN,
HIGH LIKE EKKO-EBELN,
END OF T_EBELN.
how can i do that?
Hello.
Create a table type as follows:
1 - Go to SE11 and create a flat structure called Zstructure1, with fields :
SIGN TYPE CHAR1,
OPTION TYPE CHAR2,
LOW TYPE EBELN,
HIGH TYPE EBELN,
2 - Go to SE11 agains and create another structure, but now a table type Zstructure2, having zstrucure1 has it's line type.
3 - Declare a structure type zstrucutre2 in your RFC.
Regards.
Valter Oliveira.
Similar Messages
-
How can we pass the select-option value to modulepool program?
hi,
how can we pass the select-option value to modulepool program ?
Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
How i get select-option values to PAI of call screen for getting the data from database table to my internal table?Oh I thought that you have selection-screen and again you are working on dialog programming.
if you want to use select-option directly in module pool then it is not possible.
but you can do other way.
create two varaiables
data : v_kun_low like kna1-kunnr,
v_kun_high like kna1-kunnr.
use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
use can enter only low value and high value.
when you come to program point of view
declare one range
ranges r_kunnr for kna1-kunnr.
do the coding like
r_kunnr-low = v_kun_low.
r_kunnr-high = v_kun_high.
r_kunnr-options = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
now you can use r_kunnr in select query ,it will work like select-option.
other than this there is no option.
Thanks
Seshu -
How can i make the select-option selection screen use screen layout?
I want to make the selection screen like follows.
no: xxxxxx ~ xxxxxx.
in the screen painter.
can any expert tell me.
thank you very much.Hi,
In layout screen for description use text box and for input fields
use two i/o box.Try follow like as bello code
For ex: you are going to give date as a select-option:
textbox input/out field box textbox input/out field box
date : fkdat-low to fkdat-high
in data declaretion:
ranges: fkdat for vbrk-fkdat.
in select query where statement:
where date ge fkdat-low
and date le fkdat-high.
Regards,
Ramya. -
How to transport a select - option screen in dialogue programme
hi Techies
I have Created select-option field in dialogue program ( With the help of SUBSCREEN)
Now i need to Transport this Select option Field To Live Server ....
Poblem is select-option field is not updating in Live server ....
i have changed some logic in the flow logic of select-option screen. (Just added the F4 help in flow logic)
while transporting it is fetching the standrd select option field & Flow logic...
not the changed one ..........?????????
plz suggest me possible way to accomplish my requirment.
Regards
PrasadHI,
check these links for sample codes
Display Select option in module pool screen
Select-Option Extension box in Module Pool
http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html
Regards,
Anirban -
How to read data from select Options in another view without using context
I have 2 views, one for selection screen and another for displaying result.
In selection screen view I have define a select options with the help of webdynpro component.
Now my object is display result in result view based on entry of selection screen.
I don't want to do binding in context node, without that how I can read data of select option
in result view?
Regards,
Rasmi Ranjan MishraSolve by own.
If I define the Select options in component controller, then it will be global in nature. so i can get the value of select options
in another view also.
Regards,
Rasmi Ranjan Mishra -
Hi,how can i transport objects from one server to other like (Dev To Qty)
Hi Sir/madam,
Can u explain how can i transport objects from one server to other like (Development To Quality To Production).
Regards,
Vishali.Hi Vishali,
Step 1: Collect all Transports(with Packages) in Transports Tab(RSA1)- CTO
Step 2: Release the subrequests first and then the main request by pressing Truck button
Step 3: STMS or Customized transactions
Object Collection In Transports:
The respective Transports should have the following objects:
1. Base Objects -
a. Info Area
b. Info object catalogs
c. Info Objects
2. Info Providers u2013
a. Info Cubes
b. Multi Providers
c. Info Sets
d. Data Store Objects
e. Info Cube Aggregates
3. Transfer Rules u2013
a. Application Components
b. Communication Structure
c. Data Source replica
d. Info Packages
e. Transfer Rules
f. Transformations
g. Info Source Transaction data
h. Transfer Structure
i. Data sources (Active version)
j. Routines & BW Formulas used in the Transfer routines
k. Extract Structures
l. (Note) If the transfer structures and related objects are being transferred without preceding
Base Objects transport (e.g. while fixing an error) it is safer to transport the related Info
Objects as well.
4. Update Rules u2013
a. Update rules
b. Routines and formulas used in Update rules
c. DTPs
5. Process Chains u2013
a. Process Chains
b. Process Chain Starter
c. Process Variants
d. Event u2013 Administration Chains
6. Report Objects u2013
a. Reports
b. Report Objects
c. Web Templates
Regards,
Suman -
Help with Adobe.premiere.elements12. Please
It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer. How can I use the Windows Explorer structure to organise the photos within Elements.In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
Once you've reached just new Imports of camera output, you'll be flying along. -
How to do validations for select-options
Hi gurus,
can you suggest me
how to do validations for select-options
Thanks&ragards,
Kals.HI,
TABLES: BKPF.
TYPES: BEGIN OF TY_BKPF,
BUKRS TYPE BUKRS, "COMPANY CODE
GJAHR TYPE GJAHR, "FISCAL YEAR
MONAT TYPE MONAT, "FISCAL PERIOD
DATA: T_BKPF TYPE TABLE OF TY_BKPF,
W_BKPF TYPE TY_BKPF.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_CODE FOR BKPF-BUKRS,
S_YEAR FOR BKPF-GJAHR,
S_PERIOD FOR BKPF-MONAT.
SELECTION-SCREEN: END OF BLOCK B1.
AT SELECTION-SCREEN *
IF S_CODE IS INITIAL OR S_YEAR IS INITIAL OR S_PERIOD IS INITIAL.
MESSAGE E000(0) WITH 'ENTER VLAUES'.
ENDIF.
SELECT SINGLE * FROM BKPF WHERE BUKRS IN S_CODE.
IF SY-SUBRC <> 0.
MESSAGE E000(0) WITH 'ENTER VALID VALUES'.
ENDIF.
reward if useful
thanks and regards -
How can we transport the partner profiles and Port configurations
Hi everybody,
How can we transport the partner profiles and Port configurations. While creating these , system will not ask for Dev class and we cant assign any Transport request number. Then How can we transport these settings?
Your replies are really apreciable.
Thanks and Regards,
Vijay.Hi,
please have a look of the OSS note: 182172
>>
The partner profiles are stored in the following tables:
Table EDPP1: General partner profile
Table EDP12: Partner profile outbound, additional data NAST
Table EDP13: Partner profile outbound
Table EDP21: Partner profile inbound
Table EDIPHONE: Connection to SAP telephony (optional)
You can use R3TR TABU to manually set the tables into a Customizing request (as of Release 46, into a SYST-type request).
<<
Rgd
Frédéric -
How to use offset for select-option parameter ?
Hi experts
could anybody please let me know how to use offset for select-option parameter. i can able to use offset for table fields, variabiles and all , but don't know how to use for parameters.
following is my code
SELECT-OPTIONS: s_prctr FOR vbsegs-prctr OBLIGATORY.
here "prctr" length is 10.
i'm using two tables 1. vbsegd-bupla
2. vbsegs-prctr
here prctr+6(4) = bupla.
"Bupla" length is 4
SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
WHERE belnr = it_vbkpf-belnr
AND gjahr = it_vbkpf-gjahr
AND bukrs = it_vbkpf-bukrs
AND bupla IN s_prctr.
the above statement is not working as prctr and bupla lenths are different. here i want to use offset.
SELECT belnr gjahr bukrs prctr sgtxt buzei FROM vbsegs INTO CORRESPONDING FIELDS OF TABLE it_vbsegs FOR ALL ENTRIES IN it_vbkpf
WHERE belnr = it_vbkpf-belnr
AND gjahr = it_vbkpf-gjahr
AND bukrs = it_vbkpf-bukrs
AND prctr IN s_prctr.
this is working as prctr and s_prctr lengths are equal.
could anybody please help me out in this.
Thanks in advance.
regards
satishBelow code will work for you.
SELECT-OPTIONS: s_prctr FOR vbsegs-prctr OBLIGATORY.
RANGES: s_bupla FOR vbsegd-bupla.
s_bupla[] = s_prctr[].
DELETE ADJACENT DUPLICATES FROM s_bupla.
SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
WHERE belnr = it_vbkpf-belnr
AND gjahr = it_vbkpf-gjahr
AND bukrs = it_vbkpf-bukrs
AND bupla IN s_bupla. -
Check syntax of select option structure
I've got a custom transparent table which contains a select option:
field = SIGN (data element = ddsign)
field = OPTION (data element = ddoption)
field = ROLE_FROM (data element = agr_name)
field = ROLE_TO (data element = agr_name)
This custom transparent table is populated via a custom dialog program where the user enters all four of these data fields. Does SAP provide some type of function module which can check the syntax of a select option structure before the table is updated? For example, it would flag the following as OK:
SIGN = I
OPTION = CP
ROLE_FROM = 001*
ROLE_TO = <blank>
But it would flag the following as not OK (either OPTION needs to be CP or ROLE_FROM doesn't need to have a wildcard):
SIGN = I
OPTION = EQ
ROLE_FROM = 001*
ROLE_TO = <blank>
Thanks,
BradBrad
I don't know abuot available function modues.
Another option is to use a SAP function to create the dialog screen to get the values:
Function FREE_SELECTIONS_DIALOG returns a RANGE table.
Using the fields_tab table you csn define which fields are shown.
FORM get_selection_condition .
DATA:
w_selid TYPE rsdynsel-selid,
lt_tables TYPE TABLE OF rsdstabs,
ls_tables TYPE rsdstabs,
lt_fields TYPE TABLE OF rsdsfields,
lt_where TYPE rsds_twhere,
ls_where TYPE rsds_where.
ls_tables-prim_tab = p_tab.
APPEND ls_tables TO lt_tables.
CALL FUNCTION 'FREE_SELECTIONS_INIT'
* EXPORTING
* expressions = lt_expr
IMPORTING
selection_id = w_selid
* expressions = lt_expr
TABLES
tables_tab = lt_tables
EXCEPTIONS
OTHERS = 20.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
* Display free selection diaerrorlog
CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
EXPORTING
selection_id = w_selid
title = 'Selection'
status = 1
as_window = 'X'
tree_visible = 'X'
IMPORTING
* expressions = lt_expr
* field_ranges = lt_ranges
* number_of_active_fields = w_active
where_clauses = lt_where
TABLES
fields_tab = lt_fields
EXCEPTIONS
OTHERS = 1.
IF sy-subrc IS NOT INITIAL.
* p_cancel = c_true.
EXIT.
ENDIF.
* Get the where conditions for the master data table.
READ TABLE lt_where INTO ls_where
WITH KEY tablename = p_tab.
APPEND LINES OF ls_where-where_tab TO selopt_tab.
ENDFORM. " get_selection_condition -
How can i use SAP R3 (se11) structure in SAP XI
hi,
how can i use SAP R3 (se11) structure in SAP XI?
is it possible.?
Edited by: ruban R on Apr 1, 2008 6:14 PMHI raj,
I am sorry...I think...i did not say clearly..
I mean I am not talking about transaction.
I want to import/use that (se11) SAP R3 structure into my data type/message type (example) in SAP XI..is it possible?
I do not have any save option if i open any structure in SAP R3 in se11.... Example: mara_cSAP XI
how can i use that mara_c str. in SAP XI.? -
How can we transport RSDDSTAT setting
Friends,
How can we transport settings that we do in RSDDSTAT transaction? Please help.
JoeJoeHi,
This transaction is mainly done for the statistics Cube, Queries.
the setting here is
X On
OFF
D Default
when ever you are transporting the statistics for example 0TCT_MC01_Q0433 query name , if change the setting to X on in the t code RSDDSTAT , this will impact the new setting in the quality after import . but we generally adopt for the the D default.
on the other side we have some more options like
0Aggregated Data
1 Only front end calculation
2 ALL
and 9 No data
this implies when you change the setting X ON the statistics will be calucalated only for 0Aggregated Data,Only front end calculation , All and also for nodata.
based on the settings the system will help you to find the over all statistics when a particular application is run.
Apart from that this will not impact any General transport setting in your system
Santosh -
I have word, iTunes, and other application that starts automatically when I start my laptop and how can i change start up options?
Go to System Preferences / Accounts - Login Items.
In order to make changes, click the lock icon bottom left corner of the pane. You may be prompted for your admin password.
Select the apps you don't want to launch on startup then click - (minus). -
How can I transport data from one client to another client?
How can I transport data from one client to another client?
Regards,
Subhohmmm, CTS = cutomizing transport?
If you have a customizing table, there are still two possibilities.
1. customize in DEV system and transport
2. customize right there where you need it.
this depends on how the maintainance view is built. If it is a simple customizing table and you get not asked for a TR when customizing a new record or changing an existing one, you hit possibility 2.
Maybe you are looking for
-
Two things I would love to see. Not sure where to post this, or if there is a place to send in feature suggestions. 1) When you record a series if there is a conflict, that it will take one of the shows and find the next date that the sown is availab
-
How to use JPublisher generated package in JSP
I am finding difficulty in using JDeveloper genereted (Using JPublisher) package ( from PL?SQL packages of Oracle) using in JSP . can any body help Prashant
-
Submit buttons not working....:o( - ANY IDEAS??
okay i got a form - ApplicantForm.jsp and that has two buttons on it... 'ACCEPT' and 'REJECT' the next page - CurrentStatus.jsp - should be brought up but its just not working! whenever a button is pressed a blank screen with just the buttons is bein
-
How many songs can my mini hold?
Hi, sorry for this rookie question, but i lost my instruction booklet to my ipod mini...and now i see that the mac website doesn't talk about the mini, since it's being phased out. anyway, i have the mini and am wondering how many songs it can hold.
-
Why in iphoto videos play back jumpy when I drag video to decktop video play find on quicktime.