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

Problem with WBS element

Former Member
0 Likes
2,315

Hi,

I have a problem regarding WBS element.In my select option when I enter any value(existing) in wbs element then after any event trigges it gives and error WBS element does not exist.To solve this I made the datatype from numc to char.It solved the problem.But if I want to give a f4 help then the f4 page is showing blank.I know that WBS element always go through conversion_exit_alpha_input but then how to solve this problem.

Thanks in advance.

9 REPLIES 9
Read only

Former Member
0 Likes
1,774

Hi,

Use the data element PS_POSID for your select options.

Read only

0 Likes
1,774

Yes I used it.But is there any impact of using PSPNR or POSID.

One more thing is that same thing is happening for field PSPHI.

What to do in that case?

Read only

0 Likes
1,774

I am having same problem when using settle type og table cobrb.It is going through conversion_exit_perbz_input

Read only

0 Likes
1,774

Hi,

If the you require f4 help for your fields you can code in the following manner:

TABLES: prps.
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECT-OPTIONS: s_p1 FOR prps-pspnr,
                s_p2 FOR prps-posid,
                s_p3 FOR prps-psphi.
SELECTION-SCREEN END OF BLOCK b1.

Also, the conversion exit ALPHA is not used here.

For the field s_p1, conversion exit ABPSP is used (this converts from internal to external format and vice-versa),

For the field s_p2, conversion exit ABPSN is used (this retains the external format, but modifies it as edited and non-edited format),

For the fiels s_p3, conversion exit KONPD is used (this converts from internal to external format and vice-versa).

Read only

0 Likes
1,774

Hi ,

On which version of SAP you are working

pspnr TYPE ps_posnr, "WBS Element

posid TYPE ps_posid, "Work Breakdown Structure Element (WBS Element)

regards

Deepak.

Read only

0 Likes
1,774

Hi I am using SAP ECC 6. I have already used this kind of select options but it is saying wbs element does not exists even though it does exists.

Read only

0 Likes
1,774

Hi,

Please can you try this out?

The WBS element that you are using as input in your select options, provide the same value in the table PRPS and check if you are getting any errors; like WBS element does not exist.

In my opinion, the issue is with the format of the data you are providing.

Also, are you getting errors if you are pciking up the WBS element using F4 help?

Read only

deepak_dhamat
Active Contributor
0 Likes
1,774

Hi ,

Use that data element in your select-option for Type which has Search help .

regards

Deepak.

Read only

Former Member
0 Likes
1,774

Hi,

use the FM

CALL FUNCTION 'CJPN_PROJEKTNUMMER_UNEDIT' providing PSPID as input.

Regards,

Satish