Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8712

Create dynamic variant name

$
0
0

Hi

 

I am creating jobs through a SE38 program and building variant through program only .

 

I cannot hard code the variant name because program can be executed multiple times with out completing the current running job .

 

I need to have a unique variant name every time to resolve the issue . Here length of the variant name is14 characters only .

 

So i cannot concatenate sy-uname sy-date and sy-uzeit . Do we have any other option to have unique variant name every time .

 

i checked with FMs to create random number like NUMBER_GET_NEXT , ICL_ULAE_RUN_NUMBER_GET_NEXT and etc .but these are random numbers so cannot concatenate with this number as this number may repeat frequently also.

 

Can any body worked on this kind of requirement let me know the ideas .

 

Thanks

Kamesh


Viewing all articles
Browse latest Browse all 8712

Trending Articles