Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

Dynamic variant type B

Former Member
0 Likes
556

How i use the selection variable type B in dynamic variant??

I have 2 parameters: month and year. Both have been filled with currenth month and year in background job that will be run every day.

In sap help, is mentioned something about memory ID for to do that but i didn“t understand.

Please, help me!

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
509

Pease provide more details about u r requirement. Its not clear.

do you want to know how to create a dynamic variant or

wants to know how to set/get parameters id get worked ?

aĀ®

Read only

0 Likes
509

How i creat a dynamic variant.

But my parameters are not date, like sy-datum! They are two parameters, one are month and another are year.

Edited by: Rodrigo Kenji Matsunaga on Sep 2, 2009 7:53 PM

Read only

0 Likes
509

Check this


report zaRs
       no standard page heading line-size 255.

parameters : p_month(2) type c.
parameters : p_year(4) type c.


Initialization.
p_month = sy-datum+4(2).
p_year = sy-datum+0(4).

aĀ®

Read only

Former Member
0 Likes
509

This message was moderated.