Skip to Content
author's profile photo Former Member
Former Member

Check printing problem

Dear All,

I am finding problem in showing line items in checkprinting program code.

I am doing the check printing from FBZ5 and seeing the line item from FB03.

Can anybody tell me please how to get that.

Only putting the document no I can see the line item correctly.

I am developing a code and want to show the payment advice but finding difficulties in the logic.

Please need help immediately.

Regards

Mave

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 07:48 AM

    Hi Mave

    If you want to see the item you can use thie dialog RF_ZEILEN_ANZEIGE, this is a code for example:

    INCLUDE RFEPOSC5.

    • Load document I want to see

    SELECT * INTO CORRESPONDING FIELDS OF TABLE BUZTAB

    FROM BSEG

    WHERE BUKRS = PBUKRS

    AND BELNR = PBELNR

    AND GJAHR = PGJAHR.

    • Find out the item I want to see

    LOOP AT BUZTAB.

    CLEAR BUZTAB-FLAEN.

    MODIFY BUZTAB.

    IF BUZTAB-BUZEI = PBUZEI.

    INDEX = SY-TABIX.

    ENDIF.

    ENDLOOP.

    BUZTAB-ZEILE = INDEX.

    X_COMMIT = SPACE.

    TCODE = V_TCODE.

    • See the item

    CALL DIALOG 'RF_ZEILEN_ANZEIGE'

    EXPORTING

    BUZTAB

    BUZTAB-ZEILE

    TCODE

    IMPORTING

    X_COMMIT.

    IF X_COMMIT = 'X'.

    COMMIT WORK.

    ENDIF

    Max

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Excuse me, but I was very busy:

      .....................

      BUZTAB-ZEILE = INDEX.

      X_COMMIT = SPACE.

      TCODE = 'FB03'.

      .....................

      • See the item

      CALL DIALOG 'RF_ZEILEN_ANZEIGE'

      EXPORTING

      BUZTAB

      BUZTAB-ZEILE

      TCODE

      IMPORTING

      X_COMMIT.

      IF X_COMMIT = 'X'.

      COMMIT WORK.

      ENDIF.

      Max

      Message was edited by: max bianchi

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.