cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Version ID no saved in correct format in table

yadagiri
Participant
0 Likes
903

Hi Experts,

I have created a new version with a copy of active version using /SAPAPO/MVM. The version is created successfully but in the table "/SAPAPO/APO01"

the Version ID shown as encrypted format which causing me an issue during the custom extraction program which we are using data to extract from SNP. Can some one please help on this.

Thanks in advance.

Regards

Yadagiri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi

I am really not sure if this is the issue.

Ideally whenever you create new version system generate it´s own internal number and put into VERSIOID column but ideally you might be using VRSIOEX column for all your extraction.

In you custom extraction try to use the field VRSIOEX.

Please cross check and let us know if this information helps you.

Thanks

Amol

yadagiri
Participant
0 Likes

Hi Amol,

Thanks for the replay. We cannot use the field VRSIOEX as we extract data from  table"/SAPAPO/PEGKEY" were it will have only SIMID field. the SIMID in the field is in the form of system generated number.

Thanks & Regards

Ashwin

Former Member
0 Likes

Hi Ashwin

Thank you very much for providing more the details.

In our case we also pegging information but we have not hard coded or used version id into code.

As I mentioned earlier in my message, I am not the ABAP expert but we use version id as selection in infopackage.

Based on requirement, we extract the pegging information from active version or simulation version.

Can you check if this could be achieved also at your end.

Thanks

Amol

peter_casper
Contributor
0 Likes

Hi Ashwin,

so far I have also not faced any version ID related issue. Do you use the following function module in your custom program to derive the correct versionID?

CALL FUNCTION '/SAPAPO/DM_VRSIOEX_GET_VRSIOID'

EXPORTING

   i_vrsioex_fld        = version_id

IMPORTING

  e_vrsioid_fld        = current_version_id

This one provides the correct results for further processing.

regards, Peter

Answers (1)

Answers (1)

p391977
Contributor
0 Likes

Under settings go to user parameters, choose field label instead of field name & choose conversion exits as given in the below screen-shot.

Reward if helpful

Best Regards,

Radheshyam P.

yadagiri
Participant
0 Likes

Thanks Radheshyam,

It displays fine when i see the VERSID in the table after applying the user settings as you mentioned above. but the program is not picking any data when we maintain the version as 002.