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

Generate the version of program

Former Member
0 Likes
818

I have to geneate a version of the program through programmatically. I will enter a program in the selection screen. Upon execution, a version should get generated for that program.

I have to geneate a version of the program through programmatically. I will enter a program in the selection screen. Upon execution, a version should get generated for that program.

4 REPLIES 4
Read only

viquar_iqbal
Active Contributor
0 Likes
756

Hi

When a program version is generated

program name SAPLS38E (type F)

Function : WB_VERSION_CREATE

I tried putting the sy-ucomm value as wb_version_create. but it doesnt generate the version.

After putting the sy-ucomm value you need to reexecute the includes LS38EI01 which creates the version.

Hope this helps you.

Viquar Iqbal

Read only

0 Likes
756

The reason why i have posted this thread , asking for Version Number generation is below mentioned.

The INSERT REPORT statements gets success if the code inserted in to the report is syntx free and activated. If there are any errors it reults short-dump. To avaoid this can we generate the version and try ?

OR

Do we have any other statement substitute to INSERT REPORT ?

Read only

0 Likes
756

each time a TR is assigned a version is automatically generated.. why dont you take help of this?

Read only

0 Likes
756

you can also use

SYNTAX-CHECK FOR itab

to check the source code before insert report.