Skip to Content
2
Former Member
Jul 30, 2007 at 09:04 PM

Archiving using PBS Command

124 Views

Hi All,

I am converting all MM reports to handle archiving data using PBS Command. For that I am using <b>/PBS/SELECT_INTO_TABLE</b>.

But in this FM some part is commented( see below code) related to MM . Due to this I can't export more selections.

If I use this FM all programs getting performace issue.

Plz let me know how to handle or suggest any other.

*PBSY310702 end

**************************************************************

WHEN 'CMM'.

SELECT SINGLE * FROM TFDIR "PBSL211102

WHERE FUNCNAME = '/PBS/CMM_SELECT_INTO_TABLE'. "PBSL211102

IF SY-SUBRC NE 0.

raise others. "PBSL071103

LOOP AT SEL1TAB. "PBSL211102

CALL FUNCTION '/PBS/CMM_SELECT_INTO_TABLE' "PBSL211102

EXPORTING "PBSL211102

TABNAME = TABNAME "PBSL211102

SCHL1_NAME = SCHL1_NAME "PBSL211102

SCHL1_VON = SEL1TAB-SCHLVON "PBSL211102

SCHL1_BIS = SEL1TAB-SCHLBIS "PBSL211102

  • SCHL2_NAME = "PBSL211102

  • SCHL2_VON = "PBSL211102

  • SCHL2_BIS = "PBSL211102

  • SCHL3_NAME = "PBSL211102

  • SCHL3_VON = "PBSL211102

  • SCHL3_BIS = "PBSL211102

  • SCHL4_NAME = "PBSL211102

  • SCHL4_BIS = "PBSL211102

  • SCHL4_VON = "PBSL211102

  • OPTION = "PBSL211102

ANZAHL = MAX_ZAHL "PBSL211102

TABLES "PBSL211102

I_TABELLE = I_TABELLE "PBSL211102

  • SCHL1_IN = "PBSL211102

  • SCHL2_IN = "PBSL211102

  • SCHL3_IN = "PBSL211102

  • SCHL4_IN = "PBSL211102

  • I_BELTAB = "PBSL211102

EXCEPTIONS "PBSL211102

NO_ENTRIES_FOUND = 1 "PBSL211102

TABLE_NOT_ALLOWED = 2 "PBSL211102

WRONG_PARAMETER = 3 "PBSL211102

OTHERS = 4 . "PBSL211102