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

Manipulating table AFVC

Former Member
0 Likes
568

Hi guys , There is a field called PROJN Work breakdown structure element (WBS element), if you go to data browser , for this field you can see for example 'O/84/N ...' , however if you put this field in a program you see a number , why is that ?? , How could i change the O for P for the example, in the program I always see a number ???.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

Hi,

To get the correct WBS element you need to use the conversion FM. Please see th sample code below.

CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'

EXPORTING

input = i_bseg-projk

IMPORTING

output = l_posid.

i_alv-pspnr = l_posid.

Hope this helps.

Thanks,

Senthil

2 REPLIES 2
Read only

Former Member
0 Likes
494

Hi,

To get the correct WBS element you need to use the conversion FM. Please see th sample code below.

CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'

EXPORTING

input = i_bseg-projk

IMPORTING

output = l_posid.

i_alv-pspnr = l_posid.

Hope this helps.

Thanks,

Senthil

Read only

Former Member
0 Likes
493

This is must be due to Conversion routines.

CONVERSION_EXIT_ABPSP_INPUT Conversion External > Internal WBS Element Number

CONVERSION_EXIT_ABPSP_OUTPUT Conversion Internal > External WBS Element Number