Non-deductible taxes are taxes that are not allowable when calculating a taxable income. They are taxes that have been paid in the process of generating income or purchasing items, but they are not subtracted from the final taxable income. For example,
VAT 14% non-deductible 50%
100 EUR invoice (account 5080)
7 EUR VAT goes to the VAT account
7 EUR VAT goes back to the Expense account (5080)
Total invoice 107.00
Total VAT 7.00
How to configuration this scenario in SAP?
In Tax code A2, Enter 7% in condition type MWAS and 7% in condition type MWVZ.
Read more…
SAP BAPI – BAPI_MATERIAL_SAVEDATA is the standard API to create/update the material master data. When creating material master data, you must transfer the material number, the material type, and the industry sector to the method. You must also enter a material description and its language. When changing material master data, you need enter only the material number. For detailed information on how to use this API, please refer to the function module documentation.
The business might decide to implement SAP ERP FI module as the company finance system. In this case many finance documents will be posted via external systems. SAP provides many BAPIs to fulfill such requirement.
Below scenario is to create a vendor invoice in SAP via BAPI – BAPI_ACC_DOCUMENT_POST. The business wants to create vendor invoices from incoming file from vendor which contains all the transactions in one week. Below code snip can be used to create a vendor invoice.
Read more…
BAPI – BAPI_SALESORDER_CREATEFROMDAT2 is designed to create sales order from external system. It belongs to object type BUS2032.
Note
If you fill the target_qty field in the item table but the sales order created with the quantity ‘0’. – You need to fill the schedule line table and maintain the req_quantity field as well. Below code snip can be used to create sales order.
Read more…
There are several SAP business objects related to Project System module. These business object provides the standard API to create, change, delete the Project Definition, WBS element, Network.
| Business Object |
Description |
| ProjectDefinition |
The business object Project definition is the framework laid down for all objects created within a project. |
| ProjectDefinitionPI |
Extended Project Definition in Plug-In |
| WBSPI |
Extended WBS in Plug-In |
| Network |
The business object Network is an instruction on how to carry out activities in a specific way, in a specific order and in a specific time period. |
| NetworkPI |
Extended Network in Plug-In |
For example, BAPI BAPI_BUS2054_CREATE_MULTI can be used to create a WBS element. Below is the explanation of this function module.
Read more…
SAP Note 520813 – FAQ: BAPIs for goods movements contains frequently asked questions/answers regarding ‘BAPIs for goods movements’. I just picked out some questions for your reference. For detail information, please visit SAP service marketplace.
Question:
Which function modules must be called after the BAPI is called to complete the posting once the material document has been created successfully? What should I do if there is an error?
Answer:
The BAPI returns a return table for the error handling, that is, if the posting is incorrect, this table contains an entry describing the cause of the error. The ‘caller’ is responsible for evaluating this table and for triggering the update that is dependent on this.
If the posting is correct (return table is initial), a ‘Commit Work’ must be carried out in order to complete the posting. To do this, call BAPI_TRANSACTION_COMMIT.
The Commit or rollback always applies to the current LUW (Logical Unit of Work). Therefore, you must make sure that it is carried out at the correct point in the source code. More information about this is available in the documentation for BAPI_TRANSACTION_COMMIT or …_ROLLBACK.
A detailed description is available in Note 457499.
Read more…
BAPI BAPI_SALESORDER_CHANGE can be used to change or delete sales orders. You can change header, item, schedule line and configuration data.
In general, You must enter the order number in the SALESDOCUMENT structure.You must always enter key fields for changes. You must always specify the update indicator in the ORDER_HEADER_INX.
The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
This BAPI is very easy to use, but it is a little bit tricky when updating the material configuration data. I will record what I have done to explain how to change the configuration data.
Step 1. Use BAPI BAPISDORDER_GETDETAILEDLIST to get the sales document detail information.
Read more…