cancel
Showing results for 
Search instead for 
Did you mean: 

RAP: WBS Element extern view with dots

Former Member
0 Kudos

Hey together,

According to this post Link, Conversion Exits no longer work with RAP under S/4HANA.

Meanwhile there are a lot of alternative attributes but I haven't found one for the attribute ps_posid yet. The attribute is use for the extern view of the WBSElement:

In the CDS View a cast to a char24 is no problem, but then I get a view without dots:

So I need a view with dots.

Maybe someone here has a solution for this or even the appropriate attribute ready, which I just overlooked.

regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solution:

I found an attribute in the PRPS table with the technical name POSID_EDIT. It has the data element PS_POSID_EDIT and is used for external display. This element is relatively far down in the table and was apparently always overlooked by me.

Answers (2)

Answers (2)

0 Kudos

Hey Tim,

if you will be very desperate, this temporary cumbersome workaround using cast, concat, right and left functions could help you:

key   InternalRealEstateNumber, 
cast(concat(concat(left(InternalRealEstateNumber, 2), '.'), right(InternalRealEstateNumber, 11)) as abap.char( 24 )) as test,

Br,

former_member14709
Contributor
0 Kudos

Hello Tim,

Both converted and unconverted values are ultimately saved in a table. You can try to debug the conversion exit to find out the table which has value with dots and use that as data source in your CDS. Also, in almost all cases, with some searching in ADT, you would find a CDS which stores both converted and unconverted values, you can try this option as well.

Thanks,

Aman Garg