Skip to Content
author's profile photo
Former Member

How to include DMS in module pool?

hello,

i want to incorporate DMS[]Document data] in my module pool program, the same is there in MM03 transaction(document data).How can we do this?

below is the syntax tht i have used.

PROCESS BEFORE OUTPUT.

*&SPWIZARD: PBO FLOW LOGIC FOR TABSTRIP 'TAB'

  • MODULE TAB_ACTIVE_TAB_SET.

  • break-point.

CALL SUBSCREEN:

  • 1002_SCA INCLUDING G_TAB-PROG '1002',

1002_SCA INCLUDING SAPLCV140 '0204',

1003_SCA INCLUDING G_TAB-PROG '1003'.

  • MODULE STATUS_1001.

  • tab-activetab = 'TAB1'.

  • DYNNR = '0204'.

MODULE TAB_ACTIVE_TAB_SET.

*

PROCESS AFTER INPUT.

*&SPWIZARD: PAI FLOW LOGIC FOR TABSTRIP 'TAB'

CALL SUBSCREEN:

1002_SCA,

*CALL SUBSCREEN TABFRA1.

1003_SCA.

MODULE TAB_ACTIVE_TAB_GET.

  • MODULE USER_COMMAND_1001.

  • in MODULE TAB_ACTIVE_TAB_SET

MODULE TAB_ACTIVE_TAB_SET OUTPUT.

break-point.

TAB-ACTIVETAB = G_TAB-PRESSED_TAB.

CASE G_TAB-PRESSED_TAB.

WHEN C_TAB-TAB1.

G_TAB-SUBSCREEN = '1002'.

  • CALL subscreen 1002_SCA INCLUDING SAPLCV140 '0204'.

WHEN C_TAB-TAB2.

G_TAB-SUBSCREEN = '1003'.

WHEN OTHERS.

*&SPWIZARD: DO NOTHING

ENDCASE.

ENDMODULE.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on May 06, 2011 at 12:03 PM

    I think that the best way is to call directly class/function or form present in standard cvxxn transaction.

    For example, take a look to d100_display_document form in include LCV110F19 (see also d100_consume_events in LCV110F19)

    For example, function for displaying document is CV110_DOC_DISPLAY

    Add comment
    10|10000 characters needed characters exceeded