Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to include DMS in module pool?

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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