Application Development and Automation 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: 
Read only

Prob with calling- Perform <SUbroutine> in program <standard-program>

Former Member
0 Likes
831

Hi Experts,

I have a Problem in calling a perform which is there in a SAP Standard program .

There is a funmodule ( for ref. MM_MAINTAIN_PARTNERS in include LEKPATOP ...for complete line 'perform LEKPATOP in program saplmepo'.)

This funtion module actually updates some data inside but which does not retuns into the exporting tables ( XMMPA) , So is there any way where I can get the updated standard value in SAP Standard progam to get back into my progam.

<<removed_by_moderator>>

Thanks & Regards,

Kishore KR.

Edited by: Vijay Babu Dudla on Jan 28, 2009 12:47 AM

Hi Experts,

I have a Problem in calling a perform which is there in a SAP Standard program .

There is a funmodule ( for ref. MM_MAINTAIN_PARTNERS in include LEKPATOP ...for complete line 'perform LEKPATOP in program saplmepo'.)

This funtion module actually updates some data inside but which does not retuns into the exporting tables ( XMMPA) , So is there any way where I can get the updated standard value in SAP Standard progam to get back into my progam.

<<removed_by_moderator>>

Thanks & Regards,

Kishore KR.

Edited by: Vijay Babu Dudla on Jan 28, 2009 12:47 AM

4 REPLIES 4
Read only

Former Member
0 Likes
753

Reported for

Early responses will be appreciated.

and URG!! in title

pk

Read only

Former Member
0 Likes
753

Hi,

the values are assigned inside FM like dis...

IF SUBSCREEN_MODE NE 'PBO'.

IF I_APPLICATION EQ PURCHASING.

PERFORM PASS_LLIEF_AND_LIFRE.

ENDIF.

  • Änderungen Markus, sonst geht es nicht

IF I_APPLICATION EQ ARRANGEMENTS.

  • Tabellentransport bereitstellen

X_MMPA[] = XMMPA[].

Y_MMPA[] = YMMPA[].

ENDIF.

ENDIF.

so to get inside the condition,try passing SUBSCREEN_MODE a vlue NE PBO and I_APPLICATION = A

Read only

Former Member
0 Likes
753

U can use the value directly from sap standard program,

Say suppose ur standard is RFKORD10 and u require DOPOS table from this which u r not getting inside ur program so use like this..


types:  ty_t_dopos type standard table of ty_dopos.
data: l_name         type char20,
        <l_fs_bsid>     type ty_t_dopos.

l_name  = '(RFKORD10)DOPOS[]'
assign (l_name) to <l_fs_bsid>.

This way u can get entire internal table which is available in some standard program but not in ur program.

Prerequisite: ur standard program must be coming in calls to ur program, check this in call stack in debugger.

кu03B1ятu03B9к

Read only

Former Member
0 Likes
753

HI Kartik,

Thanx for the suggestion, it is working .