How to save a variant with dynamic selections parameters
Anybody knows how to save a variant for an ABAP that uses a Logical database with Dynamic Selections?
Have a look for example to the following:
SE38 - DEMO_PROGRAM_GET - Execute - Shift F4 - Connection Number.
How to save 0820 as Connection Number?
Function Group SVAR seems good but FREE SELECTIONs are not easy to manage...
Hello,
I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
Thanks,
Venu
Similar Messages
-
How to use Field-symbol with dynamic select query
Can anybody tell me, how to use field-symbols in the dynamic select query.
FIELD-SYMBOLS <fs> { typing | STRUCTURE struc DEFAULT dobj }.
1. ... typing
2. ... STRUCTURE struc DEFAULT dobj
The FIELD-SYMBOLS statement declares a field symbol <fs>. The name conventions apply to the name fs. The angle brackets of the field symbols indicate the difference to data objects and are obligatory. You can declare field symbols in any procedure and in the global declaration section of an ABAP program, but not in the declaration section of a class or an interface. You can use a field symbol in any operand position in which it is visible and which match the typing defined using typing.
After its declaration, a field symbol is initial - that is, it does not reference a memory area. You have to assign a memory area to it (normally using the ASSIGN statement) before you can use it as an operand. Otherwise an exception will be triggered.
eg.
FIELD-SYMBOLS <fs> TYPE ANY.
DATA: BEGIN OF line,
string1(10) VALUE '0123456789',
string2(10) VALUE 'abcdefghij',
END OF line.
WRITE / line-string1+5.
ASSIGN line-string1+5(*) TO <fs>.
WRITE / <fs>.
output:
56789
56789
reward if helpful
anju -
OBPM4 - Variant with dynamic selection
Hi Experts,
I'm using the FBPM transaction (report SAPFPAYM). I have created the variant in OBPM4, in the variant I have insert the dynamic selection for Value Date.
When I run the report SAPFPAYM, the report does not work. If I delate this dynamic selection the report works correctly.
Could you help me?
Thanks in advance.
Regards
GiampaoloHi Jyothi,
I have inserted in the variant the dinamic variant selection "Value Date" or only a value date:
When I run the report I have this message:
"No Payment Media Created in Format FR_ETEBAC_VRT-ETR
Message no. BFIBL02159
Diagnosis
No payment media were created for format FR_ETEBAC_VRT-ETR for payment group
100"
If I delate the value date or value date dinamic parameter, the report works correctly.
Do you have any suggestion?
Thans a lot
Kind Regards
Giampaolo -
WEBI - how to save a report with a dynamic name
I would like to create a report (pdf) and save it with a specific name :
Example : « Report_Name_YEAR_MONTH.pdf »
« Report_Name_object.pdf » where object came from the report WEBI.
BO Xi propose the %SI_STARTTIME% variable on "date + time" format.
1 - Can I use an other variable in order to have a date with this format : Year + Month ?
2- Can I use an object create on the report WEBI ?Hello,
I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
Thanks,
Venu -
How to save a variant when running a transaction (PU19)
Hello everyone:
PU19 is the tax reporter transaction but when you run it there is no provision to save a variant. User has to select lot of data onb selection screen and they don't want to do this everytime they run the program and instead save a variant but when you run PU19 there is no provision to save the variant (save button is disabled). User want me to write a program so that they can save a variant that would populate the selection screen parameters when PU19 is called. PU19 is SAP transaction. Any ideas how I can do this?
Thanks.
MithunHello,
I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
Thanks,
Venu -
FBL1N with dynamic selection WITHHOLDING TAX CODE is dropping rows
Using FBL1N with dynamic selection field: WITHHOLDING TAX CODE and noticed that several vendors dropped off the report. Appears FBL1N's filter logic uses LFB1-QSSKZ and not LFBW-WT_WITHCD. Upon examination, I determined that the missing vendors didn't have a WTC assignment (column is BLANK) in table LFB1. Problem is I'm using transaction FK02's WITHHOLDING TAX ACCT tab to assign the WT codes but these rows are written to table LFBW (not LFB1). How is the LFB1-QSSKZ field populated? And why do some of the entries in LFB1-QSSKZ have values while others do not? Would ultimately like to populate the blank assignments with the correct WT code.
Hi Steve,
This is due to the limitation due to standard design.
You can see that a vendor can be assigned to multiple WHT codes and can also have multiple WHT code for a single line item. Hence in FBL1N output it would not be possible to show the WHT code as there is no one to one relationship.
You can click on the line item and can then see the WHT information in WHT button. Or alternatively get the data in withholding tax information reports.
Regards,
SDNer -
Submit report with dynamic selections
Hi All,
I am trying to Submit a report with dynamic selections. I am using the option SUBMIT REPORT WITH FREE SELECTIONS.
But the dynamic selections are not getting passed.
Request you to kindly provide some inputs
My code is
DATA: trange TYPE rsds_trange,
trange_line LIKE LINE OF trange,
trange_frange_t_line LIKE LINE OF trange_line-frange_t,
trange_frange_t_selopt_t_line LIKE LINE OF trange_frange_t_line-selopt_t,
texpr TYPE rsds_texpr.
trange_line-tablename = 'PA0002'.
*trange_frange_t_line-tablename = 'PA0002'.
trange_frange_t_line-fieldname = 'GBJHR'.
trange_frange_t_selopt_t_line-sign = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low = '1987'.
trange_frange_t_selopt_t_line-high = '1987'.
APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
APPEND trange_frange_t_line TO trange_line-frange_t.
APPEND trange_line TO trange.
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
submit RPCADVQ0
VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar_tab
WITH FREE SELECTIONS it_texpr
and returN.
Kindly provide your inputs
Regards
ReshmaHi Reshma,
Use the FM - RS_REFRESH_FROM_DYNAMICAL_SEL before FREE_SELECTIONS_RANGE_2_EX.
data: trange type rsds_trange,
g_repid type sy-repid.
g_repid = 'RPCADVQ0'.
call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'
exporting
curr_report = g_repid
mode_write_or_move = 'M'
importing
p_trange = trange
exceptions
not_found = 1
wrong_type = 2
others = 3.
if sy-subrc eq 0.
" Do the changes to the trange
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
submit RPCADVQ0
VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar_tab
WITH FREE SELECTIONS it_texpr
and returN.
endif.
Cheers,
Kothand -
How to save a png with a straight or fat alpha?
Long story short, work in broadcast and a new piece of gear prefers png files. I know how to save png's with a transparency, that's not the problem. What I don't know how to do or if it's possible is to save them with a straight or fat alpha. Right now we feather or extend the edges out past the alpha of say a logo and save it as a tif, psd or .tga. That way once it's keyed over video or whatever, the edges look good, no black bad edging.... this makes sense, probably not explaining it very well. But switching to png files I have no idea how to make a straight or fat alpha since it sees transparency. I mean if I feathered out the edges, a png will see that correct, since there's no alpha??
I hope this makes sense ?Chris, this is probably the answer I seek "PNG always saves with straight color - that's how the PNG spec defines it."
I admit my explanation was a bit weak and I understand PNG only supports transparency, which is not an alpha, and the apps aren't treating them wrong....I just couldn't formulate an intelligent question and explain it, my bad.
After thinking about it I don't think using a PNG will work. RIght now for broadcast gear/applications if we don't fill the transparent and semi-transparent areas of an image with the colored part of the image, we usually end up getting a dirty key/matte or a lot of fringing. So when using a .tif or .tga that reads an actuall alpha, we can fix the issue by doing what I described. In fact we use a quick little plugin from flaming Pear called "Solidifty" to speed up the process http://www.flamingpear.com/download.html . With that said, I know we can't do the same steps with a png because it only sees transparency, but I guess I was wondering if there was a work-around or a trick to fix that issue. I could be wong, but doesn't a png save with white ?
But again, as I thought about it, I think i'm asking for something it's not meant to do, but I thought I'd ask anyway.
Thanks Chris, does this make more sense or more confusing? The bottom-line is I don't think it will work. -
How to save a flash with .SWF
Hi, I have the 'Adobe Flash CS3 Professional', and I want to
know if you could tell me how to save a flash with .SWF.
When I want to create a new project, I can chose between nine
types of documents, and I want to make a flash for a website. What
type of document would you chose if you were me ?
I can't write the name of the diferent types of documents,
because I have this programme in Spanish.
Can you help me ?
Thank youFLA is the native source format - make your movie and then
publish to SWF -
you can not create an SWF initially - SWF is the
exported/published format
of your FLA>
"Marti_17" <[email protected]> wrote in
message
news:gioa0k$otm$[email protected]..
> Hi, I have the 'Adobe Flash CS3 Professional', and I
want to know if you
> could
> tell me how to save a flash with .SWF.
> When I want to create a new project, I can chose between
nine types of
> documents, and I want to make a flash for a website.
What type of document
> would you chose if you were me ?
>
> I can't write the name of the diferent types of
documents, because I have
> this
> programme in Spanish.
>
> Can you help me ?
> Thank you
>
> -
How to save a photo with a password on a mac
how to save a photo with a password on a mac
http://osxdaily.com/2012/08/12/encrypt-folders-mac-os-x/
Note: I have never tried this.
Best. -
How to save a graph with some parameters on it?
hi
my application involves analysis of data and plot a graph of analysed data, how to save graph along with analysed data in a file otherthan labview?Well, it sounds like you are wanting a picture of the graph, yes? If so there are two ways of getting it. First there is a VI method (Get Panel Image) that lets you get an image of the entire screen, and then there is a control method (Get Image) that lets you get an image of just the front panel object that you are interested in.
The help file entries for either method provides added detail on how to uses these methods to save a picture of your data.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
How to save passwords. Setting already selected but still does not save.
How to save passwords. Setting already selected but still does not save. Web site does allow password saving.
Could you try a fake username and password on another site, and see if you can save there? You can use this website's login form at [https://support.mozilla.com/tiki-login.php] to test.
Let me know the result of doing this, and whether any password-related errors appear in Tools->Error Console -
BI: Virtual Provider for ECC Report with same selection parameters
Dear all,
I have attached screen shot of ECC report selection screen with contain Material, Plant and Dates. As report is bit complex and I need to use just ITAB (internal table) of it for further use in BEx Query and for Dashboard purposes.
Problem: I need to call this report by creating Virtual Provider in BI so that I get data from ECC at runtime as it is shares report so I can't able to save any data in transparent table as report calculated opening balances at runtime.
It is possible for me by using function module i can get itab by submit return and then create Data Source for it ?
As i make copy of FM ZZRSAX_BIW_GET_SIMPLE i cannot use submit there due to OPEN CURSOR mechanism there.
Kindly anyone suggest how it is possible to call report with same selection parameters for creation of virtual provider.
Please mention if i miss any point in explaining problem.
Feel free to ask for any query.
Many thanks.
Hoping for positive and quick responses.please create 2 reports as given below.-
REPORT ZSZP_00007.
parameters a(5) .
parameters b(5) .
parameters c(5) .
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'A' or screen-name = 'B' .
get parameter id 'aaaaaaaaaaa' field a.
get parameter id 'bbbbbbbbbbb' field B.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
start-of-selection.
your logic
REPORT zszp_00005.
PARAMETERS a(5).
PARAMETERS b(5).
START-OF-SELECTION.
SET PARAMETER ID 'aaaaaaaaaaa' FIELD a.
SET PARAMETER ID 'bbbbbbbbbbb' FIELD b.
your logic
SUBMIT zszp_00007 VIA SELECTION-SCREEN.
i hope this approach will solve your problem.
thanks
Swanand -
How to create a Type Object with Dynamic select query columns in a Function
Hi Every One,
I'm trying to figure out how to write a piplined function that executes a dynamic select query and construct a Type Object in order to assigned it to the pipe row.
I have tried by
SELECT a.DB_QUERY INTO actual_query FROM mytable a WHERE a.country_code = 'US';
c :=DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(c,actual_query,DBMS_SQL.NATIVE);
l_status := DBMS_SQL.EXECUTE(c);
DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
FOR j in 1..col_cnt LOOP
DBMS_SQL.DEFINE_COLUMN(c,j,v_val,2000);
END LOOP;
FOR j in 1..col_cnt LOOP
DBMS_SQL.COLUMN_VALUE(c,j,v_val);
END LOOP;
But got stuck, how to iterate the values and assign to a Type Object from the cursor. Can any one guide me how to do the process.
Thanks,
mallikj2Hi Justin,
First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
Thanks in Advance,
mallikj2. -
How to deal with dynamic selection screen elements when macros are used?
Hello experts,
This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the output. I actually did everything required except for the one thing that is going out of my reach.
There are a certain fields which are coming when they are not supposed to get displayed. I don't understand the code because of its obsoleteness. Neither can I debug it because it is just data declaration.
This is the code where there is a fault. If I copy the entire code into a new Z report, I'm getting new fields like Entry Date, Document Type, Reference Transaction, Reference key, Logical system.
DEFINE selection_screen_line.
selection-screen: begin of line.
parameters &3 like &4 default 'X' modif id mc4.
selection-screen: comment (30) &1 for field &3 modif id mc4.
selection-screen: comment pos_low(10) text-019
for field &2 modif id mc4. "neu
parameters &2 like rfums_alv-variante modif id mc4.
selection-screen:
position pos_high.
selection-screen: pushbutton (15) text-028
user-command &5 modif id mc4.
selection-screen end of line.
END-OF-DEFINITION.
Kindly, suggest me the right solution.In the program attributes ( SE38 > RFUMSV00 > GOTO > Properties ), you will find a logical database BRF declared. The include DBBRFSEL is part of the selection screen of this logical database.
The selection screen is actually the selection screen of this logical database.
Under the Logical Database field, there is a Selection screen field where you can input which selection screen of the logical database to be used.
But, this is just to change the selection screen that is displayed. To completely suppress it you need to remove logical database declaration from the properties of the program and call it inside your program through function module.
You cannot just remove it from the declaration because many of its variables are used in the program.
So call it using function module as the first step in INITIALIZATION section of the program.
The syntax and function module to call it in your program can be found in the following thread :
How to hide the selection screen of a Logical datebase?
Regards,
Ashish
Maybe you are looking for
-
External disk no longer recognised on Time Capsule
I have a 500GB Time Capsule connected to my broadband router by an ethernet cable. My Mac Pro is connected to the TC by ethernet and WiFi and I also have a MacBook which uses WiFi to connect to the TC. I have a USB hub connected to the TC with a Cano
-
Some functions not working in Acrobat Pro 08
For some reason lately when I try to apply a Header/Footer, or Watermark to a pdf document in Acrobat 8 pro the normal dialog box doesn't come up. Am I missing something??? My info: Mac OS X version 10.6.4 Build 10F569 Model Name: MacBook Pro Mode
-
Hi, Please help me in checking how the AP_SUPPLIER_SITES_ALL.EDI_ID_NUMBER is getting populated and if it is being shown in the front end? -pat
-
How to set ORACLE_HOME for database and apps server in same server
Hi, I have problem here to set ORACLE_HOME in .bash_profile for database and apps server. please help me to set this Oracle Home. Thanks -jebatco
-
Problem when installation gdm gnome
pacman -S gdm gnome linux-api-headers conflicts with kernel-headers. Remove kernel-headers?[Y/n] device-mapper conflicts with mkinitcpio. Remove mkinitcpio?[Y/n] this two when I choose n than just error if I choose Y than happen this below there