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

Change Document Read Positions

Former Member
0 Likes
1,308

Hi Gurs,

I get an error message in the FM "Change Document Read Positions"

which is used in FB03 the error message is

"System error: Error in routine POSITIONEN_LESEN RC

= 1"

CDPOS table does not find a value for certain changenumber and hence the select query returs 0 sy-dbcnt

which is why I get this error message ..

could you help me in undersatnding where does this CDPOS gets populated and why is this so crucial here and how can I rectify this probs .

your inputs are greatly appreciated and will be highly rewarded by me ..

Thanks!!

Aryan

Message was edited by: Aryan T

2 REPLIES 2
Read only

Former Member
0 Likes
724

Hi,

how are you calling show it,.

 CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
    EXPORTING
      changenumber                  = ws_cdhdr_tbl-changenr
      tablename                     = 'VBPA'
    IMPORTING
      header                        = ws_cdhdr_tbl
    TABLES
      editpos                       = ws_cdshw_tbl
    EXCEPTIONS
      no_position_found             = 1
      wrong_access_to_archive       = 2
      OTHERS                        = 3

Regards

vijay

Read only

0 Likes
724

Hi,

refer the OSS Note<b> 422547</b>

Symptom

When you display all change documents in the customer or vendor master data, the system generates error message F4308 "System error: Error in routine POSITIONEN_LESEN RC=1".

Additional key words

FD02, FK02, XD02, XK02, VD02, MK02,

FD03, FK03, XD03, XK03, VD03, MK03

Cause and prerequisites

There are several entries in the change document header table (CDHDR), however, there are no corresponding change document items (CDPO). This may be due to report SAPF019 ("Deleting Master Data") which, in error, only deleted line item data (refer to Note 0134293).

These change documents are old documents which were created when you used Release 4.0.

<b>Solution</b>

Execute report <b>YDELCDHD</b> of Note <b>134293</b> in the test mode and check whether the error is actually due to this problem. If so, execute report <b>YDELCDHD</b> in the update run.

Source code corrections