Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>AcctngSenderActivity



Index

AcctngSenderActivity

AcctngSenderActivity


The business object Accounting Sender Activities is an object
that is responsible for the consistent updating of sender activities.



Integration



This object gives you the opportunity to initiate consistency checks as well as a corresponding posting.


11-Dec-2005


Methods

Available Methods


  • Check : FI/CO: Check indirect/nonallocatable activities [ BAPI_ACC_SENDER_ACTIVITY_CHECK ]
  • Post : FI/CO: Post indirect and nonallocatable activities [ BAPI_ACC_SENDER_ACTIVITY_POST ]

11-Dec-2005


Check

Check


This method checks a document with sender activities.

The DOC_HEADER structure contains the document header data. The CO_AREAfield must contain the controlling area in which you are to post. Foran external number range, the DOC_NO field is specified for the document number.


The fields DOCDATE (document date) and POSTGDATE (posting date) areoptional. For empty fields, the system enters the current date. The OBJ_KEY enables you to specify the number and organization of areference document (each with 10 characters ). The OBJ_TYPE type field
is defined for the object type of the reference document of the sending system.

You should only fill the LOGSYSTEM field if this document belongs to anexternal system. You can enter a document header text in the DOC_HDR_TXfield. If a suitable screen variant exists, you can archive it in the
VARIANT field. It only makes sense to fill the VERSION field if you areposting to a business process. This is because if Activity-BasedCosting is active as a parallel accounting system, you must specify adelta version. Otherwise you may only post in version 0, which is also set as the default.

The USERNAME field is a required field.

The document item data is transferred to the DOC_ITEMS table. This consists of:

Field name Description Optional

----------------------------------------------------------------


SEND_CCTR Sending cost center

ACTVTYTYPE Activity type

SENBUSPROC Sending business process

ACTVTY_QTY Activity quantity

ACT_UNIT Activity unit X

ACT_UNIT_ISO Activity unit in ISO code X


PRICE Price for the activity X

POS_OUTQTY Posted output quantity X

POSTOUTUN Posted output unit X

POSTOUTUN_ISO Posted output unit in ISO Code X


PERS_NO Personnel number X

SEG_TEXT Segment text X

You must specify at least one sender object. Alternatively, you canenter the units of measure or currency in ISO code in the *_ISO fields.


The system displays the collected messages in the MESSAGES structure.With a successful posting, the system archives the document number in the DOC_NO parameter.


11-Dec-2005


Post

Post


This method posts a document with sender activities.

The DOC_HEADER structure contains the document header data. The CO_AREAfield must contain the controlling area in which you want to post. Foran external number range, the DOC_NO field is intended for the document
number. The filling of the DOCDATE (document date) and POSTGDATE(posting date) fields is optional. For empty fields, the current dateis added. The OBJ_KEY field allows you to enter the number and organization of a reference document (10 characters).

The OBJ_TYPE field is for the object type of the sending system. You
should only fill the LOGSYSTEM field if this document belongs to anon-SAP system. You can enter a document header text in the DOC_HDR_TXfield. If you know a suitable screen variant, you can store it in theVARIANT field. Filling the VERSION field is only advisable if you are
posting on a business process, because if Activity-Based Costing isactive as a parallel accounting system, you must enter a 0 deltaversion. Otherwise you can post only in version 0, which you can also set as the default.
The USERNAME field is a required field.

The document item data is transferred to the DOC_ITEMS table. This consists of:

Field name Description Optional

----------------------------------------------------------------

SEND_CCTR Sending cost center


ACTVTYTYPE Activity type

SENBUSPROC Sending business process

ACTVTY_QTY Activity quantity

ACT_UNIT Activity unit of measure X

ACT_UNIT_ISO Unit of measure in ISO code X


PRICE Activity price for the activity X

POS_OUTQTY Posted output quantity X

POSTOUTUN Posted output unit of measure X

POSTOUTUN_ISO Posted output UofM in ISO code X


PERS_NO Personnel number X

SEG_TEXT Segment text X

You must enter at least one sender object. Alternatively, you can enterthe unit of measure or currency in ISO code in the *_ISO fields.


The collected messages are contained in the MESSAGES structure. Whenthe posting has been successfully completed, the document number is stored in the DOC_NO parameter.


11-Dec-2005