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

Abap HR

Former Member
0 Likes
1,345

Please use a meaningful subject for all future posts. Take the time to read the Rules of Engagement for these forums.

Hi All,

Following error occured when compiling report:

Include DBPNPCOM

In Unicode programs, the "-" character cannot appear in names, as it

does here in the name "PNP-SW-FOUND".

Include DBPNPCOM

In Unicode programs, the "-" character cannot appear in names, as it

does here in the name "PNP-SY-TABIX".

Thks

Shailesh

Edited by: Matt on Mar 4, 2009 8:13 AM

Please use a meaningful subject for all future posts. Take the time to read the Rules of Engagement for these forums.

Hi All,

Following error occured when compiling report:

Include DBPNPCOM

In Unicode programs, the "-" character cannot appear in names, as it

does here in the name "PNP-SW-FOUND".

Include DBPNPCOM

In Unicode programs, the "-" character cannot appear in names, as it

does here in the name "PNP-SY-TABIX".

Thks

Shailesh

Edited by: Matt on Mar 4, 2009 8:13 AM

7 REPLIES 7
Read only

Former Member
0 Likes
1,289

These are not errors but just warnings ...

Read only

Former Member
0 Likes
1,289

Hi,

You can ignore these messages as these are unicode warnings.

Read only

Former Member
0 Likes
1,289

Hi,

These statements can be ignored as they are just the warning messages.

Cheers,

Surinder

Read only

MilindMungaji
Participant
0 Likes
1,289

include DBPNPMAC. <<----


Read only

former_member632729
Contributor
0 Likes
1,289

Hi,

PNP-SW-FOUND = 0, if there is no matching record in the dataset

PNP-SW-FOUND = 1, if there is no matching record in the dataset

Example code:


 INFOTYPES: 0001.
  RP-LOWDATE-HIGHDATE.
DATA: PERNR LIKE P0001-PERNR.
DATA: BEGDA LIKE P0001-BEGDA, ENDDA LIKE P0001-ENDDA.
PERNR = '12345678'.
BEGDA = LOW-DATE + 15
ENDDA = HIGH-DATE - 5.
RP-READ-INFOTYPE PERNR 0001 P0001 BEGDA ENDDA.
IF PNP-SW-AUT-SKIPPED-RECORD EQ '1'.
WRITE: / 'Insufficient authorization'. STOP.
ENDIF.
IF PNP-SW-FOUND EQ '0'.
WRITE: / 'Infotype 0001 missing'. STOP.
ENDIF.

Read only

matt
Active Contributor
0 Likes
1,289

Please use a meaningful subject for all future posts. Take the time to read the Rules of Engagement for these forums.

Read only

Former Member
0 Likes
1,289

ok solved