SAP Reports / Programs | Sales and Distribution | Sales(SD-SLS) SAP SD

RVOBJ004 SAP ABAP Report - Program for Object Type VBAK_G : Contract







RVOBJ004 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

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


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 RVOBJ004. "Basic submit
SUBMIT RVOBJ004 AND RETURN. "Return to original report after report execution complete
SUBMIT RVOBJ004 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for Object Type VBAK_G : Contract


INCLUDES used within this REPORT RVOBJ004

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:

SD_DOCUMENT_COPY_ONE_STEP CALL FUNCTION 'SD_DOCUMENT_COPY_ONE_STEP' EXPORTING I_AUARN = AUARN I_VBELN = VBELN.

SD_GROUPCONTRACT_PUSHDATA_WF CALL FUNCTION 'SD_GROUPCONTRACT_PUSHDATA_WF' EXPORTING I_VBELN = OBJECT-KEY-SALESDOCUMENT TABLES T_GRULI = GRULI EXCEPTIONS TEMPORARY_ERROR = 1 APPLICATION_ERROR = 2 OTHERS = 3.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = SY-MSGID MSGNR = SY-MSGNO MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 MSGV3 = SY-MSGV3 MSGV4 = SY-MSGV4 IMPORTING MESSAGE_TEXT_OUTPUT = ERROR_TEXT.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = SY-MSGID MSGNR = SY-MSGNO MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 MSGV3 = SY-MSGV3 MSGV4 = SY-MSGV4 IMPORTING MESSAGE_TEXT_OUTPUT = ERROR_TEXT.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING OBJTYPE = 'BUS2034' OBJKEY = OBJKEY EVENT = 'ChangeFailed' TABLES EVENT_CONTAINER = EVENT_CONTAINER EXCEPTIONS OBJTYPE_NOT_FOUND = 1 OTHERS = 2.

BAPI_CONTRACT_CREATEFROMDATA CALL FUNCTION 'BAPI_CONTRACT_CREATEFROMDATA' EXPORTING CONVERT = CONVERT TESTRUN = TESTRUN LOGIC_SWITCH = LOGICSWITCH BEHAVE_WHEN_ERROR = BEHAVEWHENERROR INT_NUMBER_ASSIGNMENT = INTNUMBERASSIGNMENT BINARY_RELATIONSHIPTYPE = BINARYRELATIONSHIPTYPE SENDER = SENDER CONTRACT_HEADER_INX = CONTRACTHEADERINX CONTRACT_HEADER_IN = CONTRACTHEADERIN SALESDOCUMENTIN = SALESDOCUMENTIN IMPORTING SALESDOCUMENT = OBJECT-KEY-SALESDOCUMENT TABLES CONTRACT_CFGS_BLOB = CONTRACTCFGSBLOB CONTRACT_CFGS_VK = CONTRACTCFGSVK CONTRACT_CFGS_REFINST = CONTRACTCFGSREFINST CONTRACT_DATA_IN = CONTRACTDATAIN CONTRACT_DATA_INX = CONTRACTDATAINX CONTRACT_TEXT = CONTRACTTEXT CONTRACT_KEYS = CONTRACTKEYS EXTENSIONIN = EXTENSIONIN PARTNERADDRESSES = PARTNERADDRESSES CONTRACT_CFGS_VALUE = CONTRACTCFGSVALUE CONTRACT_CFGS_PART_OF = CONTRACTCFGSPARTOF CONTRACT_CFGS_INST = CONTRACTCFGSINST CONTRACT_CFGS_REF = CONTRACTCFGSREF CONTRACT_CONDITIONS_INX = CONTRACTCONDITIONSINX CONTRACT_CONDITIONS_IN = CONTRACTCONDITIONSIN CONTRACT_PARTNERS = CONTRACTPARTNERS CONTRACT_ITEMS_INX = CONTRACTITEMSINX CONTRACT_ITEMS_IN = CONTRACTITEMSIN RETURN = RETURN EXCEPTIONS OTHERS = 01.

BAPI_CUSTOMERCONTRACT_CHANGE CALL FUNCTION 'BAPI_CUSTOMERCONTRACT_CHANGE' EXPORTING NO_STATUS_BUF_INIT = NOSTATUSBUFINIT LOGIC_SWITCH = LOGICSWITCH INT_NUMBER_ASSIGNMENT = INTNUMBERASSIGNMENT BEHAVE_WHEN_ERROR = BEHAVEWHENERROR SIMULATION = SIMULATION CONTRACT_HEADER_INX = CONTRACTHEADERINX CONTRACT_HEADER_IN = CONTRACTHEADERIN SALESDOCUMENT = OBJECT-KEY-SALESDOCUMENT TABLES CONTRACT_CFGS_PART_OF = CONTRACTCFGSPARTOF CONTRACT_CFGS_VALUE = CONTRACTCFGSVALUE CONTRACT_CFGS_BLOB = CONTRACTCFGSBLOB CONTRACT_CFGS_VK = CONTRACTCFGSVK CONTRACT_CFGS_REFINST = CONTRACTCFGSREFINST CONTRACT_TEXT = CONTRACTTEXT CONTRACT_DATA_IN = CONTRACTDATAIN CONTRACT_DATA_INX = CONTRACTDATAINX CONTRACT_KEYS = CONTRACTKEYS EXTENSIONIN = EXTENSIONIN CONTRACT_CFGS_INST = CONTRACTCFGSINST CONTRACT_CFGS_REF = CONTRACTCFGSREF CONDITIONS_INX = CONDITIONSINX CONDITIONS_IN = CONDITIONSIN PARTNERADDRESSES = PARTNERADDRESSES PARTNERCHANGES = PARTNERCHANGES PARTNERS = PARTNERS CONTRACT_ITEM_INX = CONTRACTITEMINX CONTRACT_ITEM_IN = CONTRACTITEMIN RETURN = RETURN EXCEPTIONS OTHERS = 01.



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 RVOBJ004 or its description.