cancel
Showing results for 
Search instead for 
Did you mean: 

Validation Issue for network header

Former Member
0 Kudos

Hellow,

I need to validate Network header with a condition on the prerequisite that chek the number of the WBS that assigned to the network header.

for example: Check validation only if the WBS number that assigned to the network header begin with the characters "WBC ". however, the field that is option to WBS in structure CAUFVD is data type NUM8 (PSPEL for example). I wonder if there is any way to use the CHAR24 data type (POSID) or as alternative to convert PSPEL to POSID, in the validation screen without using the exit?

Thanks in advance

Best Regards,

Nir

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

You can achieve network number same like WBS element under which it is created with user exit.

In the prerequisite give network type say ZPS1 ,

Substitution ,

X Field is Substituted by Exit

Description Exit U123

in U123 :

FORM u123 USING aktext.

SELECT SINGLE post1 FROM proj INTO proj-post1 WHERE

pspnr = caufvd-pronr.

caufvd-ktext = proj-post1.

MOVE proj-post1 TO aktext.