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

incomplete document trasaction

Hi,

Is there a transaction to view incomplete document log.

For eg. in contracts we can view an incomplete document log, but can i straightaway go to that transaction.

Regards,

Vijay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2005 at 07:01 AM

    Hi Vijay

    For displaying incomplete documents: Transaction - 'V.00'

    For displaying incomplete contracts: Transaction - 'V.06'

    for other kinds of incomplete documents, u can try table TSTCT, see entries for language (SPRSL)- english 'EN' (see all entries in table) and search for keyword 'incomplete' in 'TTEXT' column.

    Cheers

    Ashish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi!

      Results of small investigation - V.* transactions use simple CALL TRANSACTION to jump to document incompletion log.

      Here it is adopted for your requirement working "copy-paste" source:

      PARAMETERS:

      p_vbeln type vbak-vbeln.

      DATA: BEGIN OF bdcdata OCCURS 500.

      INCLUDE STRUCTURE bdcdata.

      DATA: END OF bdcdata.

      DATA: ctu_params LIKE ctu_params.

      DATA: BEGIN OF xvbak OCCURS 100.

      INCLUDE STRUCTURE vbak.

      DATA: END OF xvbak.

      SELECT SINGLE *

      INTO CORRESPONDING FIELDS OF xvbak

      FROM vbak

      WHERE vbeln = p_vbeln.

      CLEAR bdcdata.

      REFRESH bdcdata.

      bdcdata-program = 'SAPMV45A'.

      IF xvbak-vbtyp CO 'EF'.

      bdcdata-dynpro = '0125'.

      ELSE.

      bdcdata-dynpro = '0102'.

      ENDIF.

      bdcdata-dynbegin = 'X'.

      APPEND bdcdata.

      *- Belegnummer -


      *

      CLEAR bdcdata.

      *- Dynpro-Feldname setzen -


      *

      *- Dynpro-field name -


      *

      bdcdata-fnam = 'VBAK-VBELN'.

      *- Feldinhalt setzen -


      *

      *- contents -


      *

      bdcdata-fval = xvbak-vbeln.

      APPEND bdcdata.

      *- Fcode UER2 fr Unvollstôndigkeitsprotokoll setzen -


      *

      CLEAR bdcdata.

      *- Dynpro-Feldname setzen -


      *

      *- Dynpro-field name -


      *

      bdcdata-fnam = 'BDC_OKCODE'.

      *- Feldinhalt setzen -


      *

      *- contents -


      *

      bdcdata-fval = 'UER2'.

      APPEND bdcdata.

      CLEAR bdcdata.

      bdcdata-program = 'SAPMV45A'.

      bdcdata-dynpro = '4001'.

      bdcdata-dynbegin = 'X'.

      APPEND bdcdata.

      *- Fcode FEAZ fr Unvollstôndigkeitsprotokoll setzen -


      *

      CLEAR bdcdata.

      *- Dynpro-Feldname setzen -


      *

      *- Dynpro-field name -


      *

      bdcdata-fnam = 'BDC_OKCODE'.

      *- Feldinhalt setzen -


      *

      *- contents -


      *

      bdcdata-fval = 'FEAZ'.

      APPEND bdcdata.

      *- Unvollstôndigkeitsprotokoll -


      *

      CLEAR bdcdata.

      bdcdata-program = 'SAPMSSY0'.

      bdcdata-dynpro = '0120'.

      bdcdata-dynbegin = 'X'.

      APPEND bdcdata.

      ctu_params-dismode = 'E'.

      ctu_params-nobinpt = 'X'.

      *-- Aufruf der Ônderungstransaktion nach VBTYP --

      -


      CASE xvbak-vbtyp.

      WHEN 'A'.

      CALL TRANSACTION 'VA12' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN 'B'.

      CALL TRANSACTION 'VA22' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN 'C'.

      CALL TRANSACTION 'VA02' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN 'E'.

      CALL TRANSACTION 'VA32' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN 'F'.

      CALL TRANSACTION 'VA32' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN 'G'.

      CALL TRANSACTION 'VA42' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN '0'.

      CALL TRANSACTION 'VA42' USING bdcdata

      OPTIONS FROM ctu_params.

      WHEN OTHERS.

      CALL TRANSACTION 'VA02' USING bdcdata

      OPTIONS FROM ctu_params.

      ENDCASE.

      Regards,

      Maxim.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2005 at 06:49 AM

    anyone...

    Add a comment
    10|10000 characters needed characters exceeded

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.