SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

VBELN_SET_GENERATE SAP ABAP Report - Generate Sales Order Set







VBELN_SET_GENERATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Creating Sets for Sales Order Numbers When archiving using the archiving object CO_ITEM "CO line items" you can enter a see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter VBELN_SET_GENERATE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VBELN_SET_GENERATE - Generate Sales Order Set


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT VBELN_SET_GENERATE. "Basic submit
SUBMIT VBELN_SET_GENERATE AND RETURN. "Return to original report after report execution complete
SUBMIT VBELN_SET_GENERATE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_SETNAM = D Set ID
Selection Text: P_TITLE = D Description
Selection Text: S_VBELN = D Sales document
Title: Generate Sales Order Set
Text Symbol: 001 = Select sales documents


INCLUDES used within this REPORT VBELN_SET_GENERATE

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING SET_HEADER = SET_HEADER TABLES SET_LINES_BASIC = SET_LINES_BASIC.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = GSETC_FISL_SETCLASS SHORTNAME = v_SETNAME IMPORTING SETID = r_SETID.

G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING NO_SET_TITLE = 'X' "Omit description of set SETNAME = r_SETID IMPORTING INFO = l_INFO EXCEPTIONS SET_NOT_FOUND = 1.

G_SET_CHECK_NAME CALL FUNCTION 'G_SET_CHECK_NAME' EXPORTING SETNAME = v_SETNAME "External name NO_NAME_CONVENTION_CHECK = 'X'.

G_OBJECT_NAME_CHECK CALL FUNCTION 'G_OBJECT_NAME_CHECK' EXPORTING MAINMODE = MAINMODE_CREATE OBJECT_NAME = v_SETNAME.

G_SET_PROTECT_HIERARCHY CALL FUNCTION 'G_SET_PROTECT_HIERARCHY' EXPORTING SETNAME = r_SETID EXCEPTIONS SET_IN_STANDARD_HIERARCHY = 1.

G_OBJECT_NAME_CHECK CALL FUNCTION 'G_OBJECT_NAME_CHECK' EXPORTING MAINMODE = MAINMODE_MODIFY OBJECT_NAME = v_SETNAME.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name VBELN_SET_GENERATE or its description.