SAP Certification
SAP Download
SAP Companies India
SAP Books
SAP JOBS
SAP jobs in India
SAP ABAP jobs in India
SAP BASIS jobs in India
SAP BI jobs in India
SAP CRM jobs in India
SAP FICO jobs in India
SAP Fresher jobs in India
SAP HR jobs in India
SAP MM jobs in India
SAP PM jobs in India
SAP PP jobs in India
SAP SD jobs in India
SAP XI jobs in India
|
BAPI_CASHJOURNALDOC_CREATE function module introduction & syntax details
Show Full Details
Functionality
Using the BAPI BAPI_CASHJOURNALDOC_CREATE,
you can ensure that during a run, a document in the FI cash journal is
saved in the same way as when you enter it via the interface
transaction. If the field TESTRUN is set, then the system only carries
out the checks and not the actual save process with update to the
database. If you want to save a cash journal document, the program that
calls the BAPI must run COMMIT WORK in order for the document to be
updated. A document can have several split items. For each document,
you can post either expenses or receipts; this means that in all line
items, either the field ITEMS- P_PAYMENTS or ITEMS-P_RECEIPTS must be
filled. If the document has several line items or entries in the tax
table, any net or tax base amounts that you enter are deleted. The
calling application must enter the item number (ITEMS-POSITION_NUMBER)
for either all line items or none. If the calling application specifies
one-time account data, the item numbers (CPD_ITEMS-POSITION_NUMBER)
must correspond to the relevant line items (ITEMS-POSITION_NUMBER).
This item number must only be used in one one-time account item. If
extended withholding tax is active in the company code being used, you
can only enter one line item for vendors and customers relevant for
withholding tax, and no split documents. The vendor must be filled for
all withholding tax information items specified (table WTAX_ITEMS). If
withholding tax information is to be specified, the indicator for the
withholding tax type (WTAX_ITEMS-WTAXTYPE) must have a value that is
defined in the vendor master. This same indicator for the withholding
tax type must only be specified in one line of the table WTAX_ITEMS.
The external item number for withholding tax information is not taken
into account. In table TAX_ITEMS, the same tax code must only be
specified in one line. If there are entries in the table TAX_ITEMS,
each tax code or jurisdiction code of this table must be specified in
at least one line of the table ITEMS, or must be derivable from the
Customizing for the business transaction. If accounts and tax codes for
interface transactions are designated as not ready for input in
Customizing, the BAPI derives values that are transferred in table
CJ_ITEMS again and overwrites them if necessary. The system recognizes
a check because the field HEADER-CHECK_NUMBER is filled when the BAPI
is called. A document cannot be saved in a cash journal using this BAPI
if this cash journal is locked by another user or another BAPI calling
application at the same time. When you run the BAPI, a lock is set for
other users. Using the table EXTENSIONIN, the application calling the
BAPI can transfer additional field values and process them further in a
BAdI that is called in the subprogram customer_function. You cannot
change saved documents or present checks.
Pattern:CALL FUNCTION 'BAPI_CASHJOURNALDOC_CREATE' EXPORTING HEADER = " TESTRUN = " IMPORTING " COMPANY_CODE = " CASH_JOURNAL_NUMBER = " FISCAL_YEAR = " CASH_JOURNAL_DOC_NO = TABLES ITEMS = " TAX_ITEMS = " CPD_ITEMS = " WTAX_ITEMS = " EXTENSION_IN = RETURN = .
Show Most Readed SAP Tutorials
Most readed SAP Tutorials
Show Latest Added SAP Tutorials
Latest Added SAP documents
|
"Site covers most of the SAP technical and functional tutorials, articles, interview questions and PDF study materials . List and details of SAP transaction codes ( tcodes ), Tables, report names, Bapi, ABAP programming syntax and keywords are also available in the site.
Information on SAP Certification and training, latest SAP jobs in India, ABAP interview questions are useful for SAP professionals seeking for a career in SAP as a fresher or experienced.ABAP tutorial downloads on BDC, LSMW, BAPI, ALE, IDOC, Smartforms, Sapscripts etc etc are also added.Now you can read from this page about BAPI_CASHJOURNALDOC_CREATE ( BAPI function module )" |