Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Runtime error : table_invalid_idex When VF03 for cancel billing doc. flow

Dear Gurus,

i'm facing a problem, when i want to display document flow for my cancel billing was getting error.

Dump analysis :

602 PERFORM vbfa_tab_append.

603 EXIT.

604 ELSE.

605 CLEAR vbfa_index_key-posnn.

606 READ TABLE vbfa_index WITH KEY vbfa_index_key

607 BINARY SEARCH.

608 ENDIF.

609 ENDIF.

610 ENDIF.

611 IF sy-subrc = 0.

612 tabix = vbfa_index-tabix + zaehler - 1.

613 vbfa_tab = vbfa.

614 IF vbfa-vbeln = gv_storno_vbeln.

615 vbfa_insert = vbfa_index-tabix + zaehler.

616 ADD 1 TO zaehler.

617 READ TABLE vbfa_tab INDEX vbfa_insert.

618 vbfa_tab = vbfa.

619 INSERT vbfa_tab INDEX vbfa_insert.

620 ADD 1 TO vbfa_insert.

621 SELECT * FROM vbfa WHERE vbelv = vbfa_tab-vbeln

622 AND vbtyp_v = vbfa_tab-vbtyp_n.

623 vbfa_tab = vbfa.

624 ADD 2 TO vbfa_tab-stufe.

625 INSERT vbfa_tab INDEX vbfa_insert.

626 ADD 1 TO zaehler.

627 ENDSELECT.

628 vbfa_insert = tabix.

629 ELSE.

630 IF vbfa-vbeln NE gv_storno_vbeln.

631 vbfa_insert = vbfa_index-tabix + zaehler.

---> INSERT vbfa_tab INDEX vbfa_insert

633 ADD 1 TO zaehler.

634 ENDIF.

635 ENDIF.

636 ELSE.

637 PERFORM vbfa_tab_append.

638 EXIT.

639 ENDIF.

640 ELSE.

641 PERFORM vbfa_tab_append.

642 EXIT.

643 ENDIF.

644 ENDIF.

645 DESCRIBE TABLE xvbfa.

646 IF sy-tfill = 1 OR

647 *archivierter Beleg

648 ( sy-tfill = 0 AND NOT vbfa_tab-vbelv IS INITIAL ).

649 ADD 1 TO vbfa_insert.

650 ENDIF.

651 ENDIF.

i'v found sap note 978073 but did not solved my problem. Please reply if anyone know the answer (solution) for this problem.

Many-many thanks for your answer

Regards,

ARA

Edited by: Agung Rahmat on Jan 19, 2010 5:36 AM

Edited by: Agung Rahmat on Jan 19, 2010 5:37 AM

Edited by: Agung Rahmat on Jan 19, 2010 5:38 AM

Former Member
Not what you were looking for? View more on this topic or Ask a question