Quantcast
Channel: SCN : Popular Discussions - SAP Project Systems (SAP PS)
Viewing all articles
Browse latest Browse all 1010

CJV4 Create Version - ITAB_ILLEGAL_ORDER - PRPS_BUF

$
0
0

Hi,

 

I get the following error message when creating a new version through CJV4:

ITAB_ILLIGAL_ORDER This occurs in program: SAPLCJPN on PRPS_BUF

 

The code where it occurs you can find here:

 

LOOP AT t_pspnr.   

pspnr_key-pspnr = t_pspnr-vorln.    

READ TABLE prps_buf WITH KEY pspnr_key BINARY SEARCH.  <--- error occur

CHECK sy-subrc IS INITIAL.

tabix = sy-tabix

* Vorl. Interne Nummer austauschen

prps_buf-pspnr = t_pspnr-posnr.              <----- Changing key

* Vorl. Objektnummer austauschen

READ TABLE t_objnr WITH KEY prps_buf-objnr.

IF sy-subrc IS INITIAL.

prps_buf-objnr = t_objnr-objnr.

ENDIF.

Vorl. PSP-Hierarchienummer austauschen

READ TABLE t_psphi WITH KEY prps_buf-psphi.

IF sy-subrc IS INITIAL.

prps_buf-psphi = t_psphi-posnr.

ENDIF.

*Uebernehmen

MODIFY prps_buf INDEX tabix <---- changing key

ENDLOOP.

 

99999992 --> 100

99999993 --> 99 --> Error when READ BINARY SEARCH as it is not sorted

99999994

99999995

99999996

99999997

99999998

99999999

 

If it would be changed by the folowing it won't give any dump

99999992 --> 93

99999993 --> 94

99999994 --> 95

99999995 --> 96

99999996 --> 97

99999997 --> 98

99999998 --> 99

99999999 --> 100

 

Any PS Consultant that can resolve this problem please? As it is not only when performing CJV4 but also in BAPI_PROJECT_MAINTAIN


Viewing all articles
Browse latest Browse all 1010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>