Quantcast
Channel: SCN : All Content - SAP ERP SD Billing
Viewing all 2278 articles
Browse latest View live

how to set billing block field in VA03 to default using badi?

$
0
0

Hi experts,

 

I am new to SD area, My SD consultant asked me to create a report.

 

In that he needs the field "billing block"  to be set to value "space"(i.e the value should be null) in vA03 tcode. Such that once it takes the default value space, it should go and update the same value in table "fplt" for the field faksp. plz see attached screenshot. I tried a sample coding but still its not getting updated.

 

Should I use   'BAPI_SALESORDER_CHANGE' to change a Sale order then use 'BILLING_SCHEDULE_SAVE' to update the

Billing plan of the changed Sale order.

 

Tell me if i need to use any user-exits?

this is urgent, plz help me out in this....





Pricing re-determination when posting into accounting

$
0
0

Hello

Our invoice type has got posting block (TVFK-RFBFK). In this way invoices are created but they are not posted into accounting. We need to post into accounting later for legal reasons (the invoice has to be approved by government).

The issue we have is that while the invoice hasnt been posted, the customer's master data may change (typically KNAT table on the first day of the month when new updates are uploaded).

So when the invoice is posted into accounting, a price determination occurs and takes into account the changes of KNAT table (as per standard routines on pricing procedure). This causes that the taxes change values and the information that is posted into accounting differ from the one that has been approved by government and printed.

 

Is there a way to control pricing when posting?

In our case it is ok that pricing gets re-determined when creating the invoice but not during posting

 

Thank you

regards

flogor

Only output tax is allowed for account XXXXXX PT01, A1 is not allowed Message no. FS215

$
0
0

Hello All,

 

We are facing an issue while posting the billing document to accounting with error.

 

Only output tax is allowed for account XXXXXX PT01, A1 is not allowed

Message no. FS215

 

Scenario

1. Standard sales order is created for a customer in Portugal (ABC) through Portugal Sales Area (PT10-01-10) belonging to Portugal company code (PT01)

2. The delivering plant (DE10) in the sales order belongs to German company code (DE01).

3. Delivery is created. PGI completed successfully.

3. Intercompany invoice (IV) is created successfully.

4. Customer invoice (F2) is created but not getting released to accounting with above error.

 

Observations:

1. In the customer invoice (F2), the tax condition is MWAI. The company code is PT10, destination country PT, Sales area PT10-01-10. Deliverying plant in item DE10.

2. The system is picking up condition record from either of the following access sequences.

     2.1 Departure country (DE) - Destination country (PT)

      2.2 Domestic taxes - Country (DE) - Tax Classification Customer (1) - Tax Classification Material (1)

3. Since the condition record is picking up (VK11) with DE as a country, it is maintained with A1 (19% output tax) tax code from tax procedure TAXD which is for Germany.

4. From the error it seems that the system is trying to link A1 output tax code with Portugal company code PT01.

5. A1 is not an output tax code in Portugal tax procedure TAXPT. It is an input tax code.

6. L0, L1, L2 are output tax codes for Portugal which we can not maintain in VK11 because the system is picking up DE as the country.

 

Please advise how can we post this customer invoice to accounting?

 

Thank you.

CHANGE IN CONDITION VALUE IN SALES ORDER

$
0
0

i have created contract and created sales order but i want to change the value in condition so i have chaged the value in contract but i am unable to

 

change condition value in sales order in va02.

Direct Printout issue

$
0
0

Hi Gurus

I am not really sure to post this question in SD or ABAPer forum!!

in our SD side we create an sales order --> Delivery -->PGI --> Invoice. once saved invoice, the printout should comes out without going into spool, all was well untill we moved into cluster environment. Now we have 2 servers, one Application is on and other runs Database.

 

Now in times (not always) invoice printouts goes to spool and invoicing Clark had to goto spool and take printout. my question is

1.     is spool part of database or application (which server it resides)?

2.     how to direct prints to printer without going into spool and wasting time?

 

 

Thanking you in advance

Regards

Raj

 


problem while Update pricing in billing document

$
0
0

Dear All,

As I Copied one pricing procedure which is working fine for one doc.pricing.same i am using for different doc.pricing.When I am going to genrate the Billing document all line item prizes are as per requirement but when I update the prize one Item condition base value is disappearing. and message is like;

 

Quantity could not be converted from NOS to

Message no. V1297

 

Diagnosis

You have tried to carry out a quantity conversion from NOS to  for weight determination, because a different sales unit is defined for the gross weight in the material master record.

This was not possible.

 

System response

The system uses the net weight 0 for calculation.

 

Procedure

Maintain the conversion factors of the weight units in the system.

 

 

Checked all possible configuration.How do i resolve the issue waiting for the reply.

 

SPT

Closing invoice not going to FICO (downpayment has alreaydy been cleared)

$
0
0

HI

 

We have sales cases, where down payment request is already done and cleared.

When closing invoice is made it's not going into FICO and gives message "Downpayment is alreaydy cleared and cannot be used in offsetting). Reseting clearing document in FBRA seems not to be an option here because clearing document has been used to clear other customer sales also. Do you know any other way to get closing invoice done and posted to FICO?

Down payment Line Item Does Not Appear in Invoice for Offset Purpose

$
0
0

Hi All,

 

I am currently configuring for a down payment scenario. I encoutered error whereby after I created a down payment request and posted down payment via F-29. Then, I start to bill invoice (F2) for partial billing but the down payment amount doesn't seemed to appear. Thus, I only have one line item which is the partial billing amount instead of two lines including the down payment amount. I have checked my configuration steps many times and am still not sure went wrong. Appreciare if you all can advise me on this.

 

Thank you!

 

Regards,

Yvonne


Sold-to-party account without company master record

$
0
0

Hello,

 

I'd like some feedback on the following issue:

 

1 - I'm creating sales processes in which the Sold-to-Party partner is never the same account as the Payer;

2 - Assuming that all the data needed for the accounting comes from the company master record of the Payer, I decided not to maintain the company master data for the Sold-to-Party;

3 - When trying to release the invoice to accounting I get the following error message:

 

Customer 1030100012 is not defined in company code 1000

Message no. F5102

 

Diagnosis

No master record was created in company code "1000" for customer number "1030100012".

 

System Response

System error.

 

Procedure

Maintain the customer master record "1030100012" in company code "1000" or correct the account number.

 

My questions are:

 

A - Why does SAP need to fetch the company master record from the Sold-to-Party in this case?

B - Is there any chance of reaching a solution in which the company master record does not have to be maintained for the Sold-to-Party?

 

Regards,

 

João

Billing Posted in Next month accounting document in Current Date

$
0
0

Hi Friends,

 

 

I am facing problem while creating invoice, it  is getting posted in next month and accounting posting date is posted in current date. This problem happens rarely between 1000s of invoices and in last week of months.  Always i get a single case in each month end. If i tried again that with cancel billing and create again the scenario is not getting replicated.

 

 

For Ex. After PGI in date 27.08.2013 i created invoice the invoice is getting posted on 01.09.2013 and accounting document posted in current date 27.08.2013.

 

 

I am also not able to get same scenario. Please provide your valuable inputs on this scenario.

 

 

Thanks

Deependra

List of outbound and inbound deliveries

$
0
0

I want  the Tcode to list out the  outbound and inbound deliveries please reply to the query

BSTNK_VF not appearing in VBRK

$
0
0

Hi

 

My issue is that Customer PO field is filled in Credit memo line item. But the PO number is visible in some case but not visible in some other cases in VBRK field. The G2 document is created with reference to CR. I checked VTFA settings. It has A maintained in Reference number and B in Assignment number.But still the PO number is not appearing in some cases.

Error while releasing to accounting"Delivered/invoiced quantities cannot be updated in CO

$
0
0

Dear SAP mates,

 

Whenever I assigned same WBS element with different materials with different UOM i am getting below error.

My Billing document having materials with AU and DAY as base units. I have seen one SAP note they suggested translate the units, how we should convert these two units.

 

Delivered/invoiced quantities cannot be updated in CO

Message no. KI137

Diagnosis

For account assignment object WBS P-0009-001-1100-90000, the delivered or billed quantity is to be updated in the unit of measure EA for material number 20000107.

The system has found a totals record (COSL) that already exists for the account assignment object WBS P-0009-001-1100-90000 with unit of measure D. However, you cannot convert the quantity from EA to D.

System Response

The quantity cannot be updated in the totals record, which means that the quantity is missing for the receiver after the settlement of WBS P-0009-001-1100-90000 (for example in CO-PA). Only the posted quantity is saved in the CO line item (COEPL table).

Procedure

Change the material D and define D in the master data record as an additional unit of measure.

If you can have the quantity in EA in the COSL totals record without it causing any problems, you can deactivate this error message  in customizing, or change it to a warning or information message.
To do this, see the implementation guide (IMG) for "General Controlling" under the following activity: Change Message Control (work area KI, message no. 137).

If you have any questions, contact your CO consultant.

 

Regards,

Reddy

SD Revenue Recognition - Time-Based Recognition

$
0
0

SAP time-based revenue recognition divides the total amount across the periods using a straightline method.  Can the values in table VBREVE be altered to accommodate an amortization schedule?

unable to do invoice periodic billing contract

$
0
0

Dear sir,

 

i have a periodic rental contract . Upto last 31/07/2013 billing has been done. But while going to VF04 , this contract is not coming in the billing due list only for the period 31/08/2013.Through VF01 also i am  not able to creat the invoie. KInldy help. what could be error.


Debugging tips: Error message F5A 190: Enter a business place under "Basic data"

$
0
0

This error message F5A 190 is quite exotic. It occurs in country specific customizing, most popular components are  XX-CSC-KR (Korea), followed by XX-CSC-TW (Taiwan) and XX-CSC-TH (Thailand).

 

 

 

Background

Here as for many error message in SD-Billing area, the problem occurs, when in transaction VF02 the "release to accounting" function is executed:

F5A_190_error_message.png

 

Analysis procedure

1. Check where the error message is raised

As usual, the first step when analysing error messages, is to find the place in the coding, where the error message is raised. Here in this particular case, the coding place can not be found via transaction SE91, since it is called dynamically, and in the shown example it is a special development introduced by note 582784. With a watchpoint on variables sy-msgid and sy-msgno it is found here:

CHECK_BUPLA.png

As can be seen, the error is issued because the business place (field ACCIT_FI-BUPLA) is missing for this account type D (tax).

 

2. Root cause - why is the message raised?

Looking up before the message is issued, it is evident, that the root cause of the error is the fact that the business place functionality is activated in table IDBUPLA_ACTIVE for this country KZ (Kazakhstan) and the business place is not present in the invoice (field VBRK-BUPLA is empty) and furthermore it is not maintained in the customizing of the plant (field T001-J_1BBRANCH empty). Then the field ACCIT_FI-BUPLA can not be filled:

IDBUPLA_ACTIVE.png

In effect this leads later in the same FORM to the issueing of the error message.

 

Solutions

Usually the business place (VBRK-BUPLA) is filled country specific, when the invoice is created:

VBRK-BUPLA.png

Therefore the business place must be maintained for the plant (Field T001W-J_1BBRANCH).

 

Or it has to be checked, if the country should be really activated for this business place functionality. Then table IDBUPLA_ACTIVE will have to be changed accordingly

Debugging tips: Error message FF793 - "SYST: Tax jurisdiction code at lowest level not transferred"

$
0
0
This error message FF793 is related to tax conditions with tax jurisdiction active. The error message is raised when in VF02 the invoice should be released to accounting:
FF793.gif
 

Analysis procedure

1. Check where the error message is raised
Here the error is raised in the FI area, in Include LTAX2F01, FORM CHECK_BSEG_BSET which is called in function module FI_TAX_CALCULATION. Therefore with breakpoints we start here:
FF793_Include.gif
The cause of this error can be seen in this coding. Tax jurisdiction is active for the company code (lv_isactive= X) and for the tax condition ZGST the field TXJDP ("Tax Jurisdiction Code - Jurisdiction for Lowest Level Tax" , here:<ls_bset>-txjdp) is not filled. Then the error is raised.
The call stack looks like this:
Call_stack.gif

2. Find the root cause

To find out what causes the error, we have to go back to function modules RV_ACCOUNTING_DOCUMENT_CREATE and AC_DOCUMENT_CREATE, to check the tax conditions.
AC.gif
The two shown tables XACCIT and XACCCR contain the data that is transferred to FI, the link between the two tables is POSNR:
XACCIT.gif
Here it can be seen that ZGST is  a tax condition and TXJDP is not filled.
In the other table the values can be found:
XACCCR.gif
Responsible for the error is the empty field TXJDP for tax condition ZGST.
To find out why the field had not been filled, we have to check the Include LV60BF00, FORM ACCOUNTING_TAX_LINE, because in the standard coding here the filling should be done:
Taxline.gif
Taxjurisdiction is active, the first step is to fill xaccit-txjcd according to the condition category (XKOMV-KNTYP). For taxjurisdiction tax conditions the categories 1 - 4 are used (V/06 field T685A-KNTYP):
1  = Tax JurDic level 1 (with license check KNVL)
2  = Tax JurDic level 2
3  = Tax JurDic level 3
4  = Tax JurDic level 4
In the example with customer own tax condition ZGST, the field was empty.
After that the decision which tax jurisdiction level is used, the next step is to fill the field XACCIT-TXJLV, according to the XKOMV-KNTYP:
TXJDP.gif
And finally filling of TXJDP is done.
As the tax condition ZGST was not customized as a taxjurisdiction condition the field could not be filled, and remained empty, leading to the error FF793 afterwards.
3. Solution
The tax conditions have to be configured as taxjurisdiction conditions. To avoid the error the customizing of the condition type (V/06) and pricing procedure (V/08) would have to be adjusted.
The standard procedure with taxjurisdiction conditions UTXD and UTXE is for US RVAXUD with tax conditions XR1...XR6.

Transfer SD pricing condition in group currency LC3 only in accounting document

$
0
0

In this blog I would like to describe some techniques that can be useful if you have specific requirements when transferring values from SD billing into FI. Besides configuration steps, customer-exit EXIT_SAPLV60B_008 (belonging to enhancement SDVFX008)  is to be implemented.

 

The integration between SD and FI happening through account determination is flexible and most of the requirements can be implemented through SD customizing using 2 core areas: pricing and financial account determination. Both are behaving as source of data which prepares necessary values to be sent to FI module.

· The price is determined through a condition technique which is defined in the pricing procedure and in pricing condition type setup (transactions: V/06 – condition type definition; V/07 – access sequence definition; V/08 – pricing procedure definition)

· GL account determination for pricing conditions which are relevant for FI postings (transaction VKOA to assign GL accounts)

 

The purpose of the article is not to go through IMG steps to setup pricing procedure and condition type and respective GL account determination, this will stay beyond. Instead, we will look into implementation of development exits which can be a solution for requirements that can not be customized through IMG.

 

I will use an example requirement when condition value should be posted only in group currency 3 (LC3), i.e. postings in LC1, LC2 should stay zero, while LC3 should keep the actual value. This is happening for estimated costs conditions (KW00, VPRS) in standard, but if you have a regular price or freight or discount condition that you should post in such way – then pricing/account determination customizing is not enough, because your condition will be carrying postings in all currencies. However, the exit implementation that will be used can be

 

So, we have a requirement to have condition in SD pricing procedure maintained in billing and transferred into accounting, but postings should be only done in LC3 group currency (LC1, LC2 – are zeroes). Additionally, value should not affect net value in SD billing, and should appear only in FI.

Looking at this requirement from FI prospective, it makes sense to investigate substitution rules (transaction GGB1) as a possible solution. However, as we are receiving the values from SD module, let’s imply the interface between SD and FI to control this.

The solution will consist of 3 pars:

· SD customizing

· FI customizing

· Development: implementation of SD customer-exit

 

 

 

 

SD customizing

1.  Pricing condition type configuration (tcode V/06)

Create a new pricing condition type that we will use in pricing calculation in SD (in my case – ZJTC created as discount with fixed base). Condition type configuration depends on background of your requirements and refers to standard approach in pricing customizing in SD.

The specific maintenance here is the condition category (field T685A-KNTYP). Using custom category we can make solution more flexible and scalable: if in future you would need to apply same logic to other pricing condition type, you can combine them under  same Condition type. This would avoid listing conditions that should be processed specifically in custom tables, etc. Instead, you will know that Customer reserve category is responsible for this.

If needed – create access sequence (tcode V/07) and maintain it in pricing condition type.

 

 

1.png

 

 

2. Pricing procedure configuration (tcode V/08)

Update pricing procedure with new condition type (in my case -  ZVABRI). Important note: condition should be marked as statistical. In this case it will not change net value and will not be posted into CO-PA as normal sales pricing condition.

 

2.png

 

3. Pricing procedure determination (tcode OVKK)

Based on sales area, document and  customer pricing procedure keys, maintain the necessary record in customizing table in tcode OVKK to setup pricing procedure determination:

.

3.png

 

 

4. Revenue G/L account determination (tcode VKOA)

Maintain records in tcode VKOA to specify what G/L account should be determined with the respect to sequence you are using. As we configured condition type as non-accruals, we do not need to maintain provision account. Only G/L account is required in this step.

 

 

4.png

 

 

 

 

 

FI customizing

 

 

Assignment of SD conditions to CO-PA values (tcode KE4I)

 

To make a link between SD pricing conditions and CO-PA fields, add a record in tcode KE4I and specify new pricing condition type we created in SD part and link it to appropriate value field in CO document:

 

 

5.png

 

 

 

Development

 

Interface transferring SD values into FI in logistics billings customization is complete. At this moment, we made configuration of pricing conditions that are calculated in the billing and the G/L accounts which will be updated based on account determination logic. However, with current setup new condition will not book any value in FI because it is marked as statistical in the pricing procedure. In this case SAP skips it and does not transfer its value into accounting.

 

To change this, customer-exit  EXIT_SAPLV60B_008 (enhancement SDVFX008)  would be needed. Here 2  transfer structures XACCIT and  XACCCR should be changed as they actually keep figures that will be posted into FI document (table BSEG). Originally in standard logic ACCIT and ACCCR are populated in form ACCOUNTING_ITEM_LINE of program LV60BF00, but we can change the figures in this customer-exit.

 

In the exit, following parts of the logic should be implemented:

1.      1. Check what pricing conditions are having customer reserve condition category (field XACCIT- KNTYP)

2.      2. For those conditions which match search criteria in XACCIT – add new line in table XACCIT to include it into accounting document (original line stays as is: it is statistical condition, thus it will not be posted).

3.      3. For those lines which were added into XACCIT – add respective records into table XACCCR to show what exact figures should be posted into accounting document.

 

Reading table XACCIT by condition type (field KNTYP) to determine needed lines with customer reserve type is not so complex. In my case, I will get only one record standing for condition ZJTC. Changing XACCIT and XACCR may be tricky; therefore, here is more detailed explanation on how to perform these steps.

 

 

 

Updating table XACCIT

 

To add record in XACCIT properly it will be very convenient if you already have KW00 or VPRS condition also transferred into accounting. You can check how these lines are populated by standard SAP logic and build a new line to be added for your custom condition in similar manner. At this moment, a new line should be appended to XACCIT incrementing position number (XACCIT-POSNR). In my example item with position # 0000001025 (on the snapshot)  stands for pricing condition type KW00 (which has most similar logic in terms of posting group currencies that we need to capture)

 

Item with position # 0000001026 stands for new pricing condition ZJTC that we configure.

 

6.png

 

Here I added one more line which in final solution should get value from POSNR# 0000001026. New line ID is 27, copy of line 25. POSNR is the next coming in counter, 0000001027. Important note: New line should not be added in very end of the table, as last line should be always 0000000001.

 

7.png

 

 

When inserting new line in XACCIT, you can actually copy it from ZJTC line and change following fields:

XACCIT-POSNR – get last position number in the table (not counting last 0000001) and increment to next ID number

XACCIT-KSTAT - should be blank

XACCIT-HKONT – G/L account determined from customizing. If needed – you can change it here with custom logic, otherwise keep it as it arrived from ZJTC configuration

XACCIT-PRCTR – profit center. Again, can be changed at this moment if custom logic should be applied.

XACCIT-KNTYP – should be changed to ‘b’ . In  case LC3 should be the only to update, this works great.

 

Other fields of the line can be changed, if needed, but as they arrive from customizing in pricing and GL account determination, they should be better changed through customizing.

 

 

 

Updating table XACCCR

 

In this table group currency figures are stored. If you check it now, you will find line 26 (stands for condition KW00) and line 27 (stands for new condition ZJTC). Line 27 will not be posted into FI because it is marked as statistical (flag is in XACCIT-KSTAT).

 

8.png

 

 

You can add new record in this table manner as in XACCIT, line ID is 28. Be careful here, you would also need to change POSNR because it should refer be same as referenced XACCIT-POSNR (0000001027 in my case). Here following fields are critical to check:

XACCCR-WRBTR – the value to be posted into accounting

XACCR- CURTP – group currency key. If you check other sales conditions, you will see 4 lines per condition: one for each group currency key. That’s why in accounting document regular sales conditions are posted in all group currencies. When adding new record, specify group currency in which posting should be done and keep only it. I add record for LC3 posting, thus I skip group keys 00, 10, 30 (standing for Document currency, LC1, LC2) and only add group currency 31 (for LC3)

 

 

 

9.png

 

I extracted both tables content in the files so that you could check them to see exactly how lines where populated (find them in attached text files). Please refer to position IDs I was mentioning in the text to find them.

 

Once done, here is the accounting document generated. New line added into ACCIT and ACCCR is highlighted. Calculation of variance adjustment is also correct, we do not need to run it explicitly in the exit.

10.png

 

 

 

SUMMARY

 

To fulfill the requirement – get pricing condition, which is maintained in billing and is posted only in group currency LC3 – we proceed with standard customizing of pricing procedure and GL account determination. Condition category in pricing condition type is changed to Customer reserved, as we are attaching further development logic to this category and make solution easily scalable.

 

To change the values transferred from SD to FI, customer-exit EXIT_SAPLV60B_008 is to be used where with custom logic we add entries in tables XACCIT and XACCCR to transfer additional lines into accounting document. Once reading XACCIT to find records with customer reserved condition category, we then add records into tables XACCIT and XACCCR to add them into posting.

RRB

$
0
0

Dear Gurus,


Is it possible that i can bill the cost from order to billing, without utilizing the DIP functionality, just simply creating the cost condition and bill it, assign the wbs at sales order level.


Becasue i just have an overview of DIP and its functionality, its seems that it is not required or cant feasible in my process..


At my client, they have two rigs, and they chage the rig rent in the following ways, 1. stand by rent per day 2. operational rent per day

3. maintenance rent per day.

please also suggest that should i create three material of the above 3 points or create one rig material and create three condition type accordingly for stand by rent, operational rent and maintenence rent..


Looking for the gurus response.


Regards,

SD Billing - VAT determination not on bill to, sold to, ship to, payer

$
0
0

Hi Guys,

 

we're facing a problem on VAT determination. Let me explain:

in sales order entry, we register a SO for a sold to, ship to payer & bill to in European Union, AND departure country = destination country.

 

However, the goods finally will be shipped outside the EU. Purpose in VAT is that VAT follows the goods, so no VAT is to be charged as the goods are exported.

E.g. plant & Sorg are in Germany, ship to party as well in Germany, but the goods will be exported towards e.g. Dubai.

 

I have tried to change in Sales order "tax destination ctry (VBAK-STCEG_L)" but during invoicing the manual setting is overruled by SAP and thus IS germany deduced and I get "domestic VAT" charged.

 

Does anyone of you know how to setup this in a clean way?

 

KR,

Ward

Viewing all 2278 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>