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

Invoice: Split Due to different Header Data

$
0
0

Dear All,

1.Client Created single delivery with respect to 2 different scheduling agreement (with 2 diff Materials)

2. single Delivery and PGI done successfully.

3.While Doing invoice; Invoice is splitting due to different Header Data

 

----Here i have checked both Scheduling Agreement header data it is similar.

 

Please do advise..

 

Thanks

YRHSP


Contract issue

$
0
0

Hello,

 

 

Contract showing open. Though already invoiced.

few line items showing as Not referenced. screen shot attached.

Please give the solution.

 

 

Regards

SAP Learner.

How to create differential rebate provision?

$
0
0

Hi,

Is it possible to create a differential rebate provision?

That means that once the total sales to a certain customer with a rebate agreement exceed a certain level, the rebate is increased but at the same time the automatic provision is increased respectively

 

For exmaple:

 

FromToRebateProvision
0 $1,000,000 $2 %2%
1,000,0012,000,000 $3 %3%
2,000,0013,000,000 $4 %4%
3,000,001and above...5 %5%

 

Thanks,

Ron

Billing document does not exit

$
0
0

Hi Experts,

 

We have created Billing document for sale order and released it to accounting. The accounting document gets generated. But now we could not see the billing document in VF03 or VF07 even though the accounting entries are still live and we could see through FB03.

Kindly help.

 

Thanks and Regards,

G.Sethuraman

group billing quantity for batch split items

$
0
0

Hi  guys

 

We have batch split items in our delivery notes. When we process billing, we dont want have several splitted lines for the same material no. Instead, we want only one line shows up for each material(which sums up the quantity and price and cost for those splitted lines.).  Could any one go through with me about how to manage this issue? thanks in advance.

 

Best Regards

T.P

2014-2-20 21-01-10.png

General Information About SD-FI Interface

$
0
0

The following blog post is focusing on the generation of the accounting document.

The main purpose is to presentate the most important programs and tables involved during the process.

 

General information

 

 

During release of a billing document to accounting, the relevant fields of the SD invoice (fields of VBRK, VBRP, VBPA, KONV tables)  are transfered to the interface tables XACCHD, XACCIT, XACCCR.

 

On FI side these interface tables are used to transfer the data to the necessary modules in FI/CO.

On accounting side the most important tables being filled are BKPF, BSEG and BSET.

 

As a result the customer line item on FI side is created, that equals to the value that has to be payed by the customer. Furthermore revenue and tax lines are created. A summarization takes place if possible or if there is a special customizing setting for it (see SAP Note 36353).


Function module that starts the SD-FI Interface

 

 

The most important modules are the function module RV_ACCOUNTING_DOCUMENT_CREATE for creating accounting documents for individual documents, the function moduleRV_ACCOUNTING_DOCULIST_CREATE for creating accounting documents for invoice lists and the Include LV60BF00 that contains the most important subprograms.

 

 

 

 

RV_ACCOUNTING_DOCUMENT_CREATE (LV60BU01)

 

 

Triggered by:

 

TransactionButton
VF01Save
VF02Release to accounting  (if posting block is set in billing type customizing VOFA)
VFX3Release to accounting  (if posting block is set in billing type customizing VOFA)
VF11Save

 

 

 

RV_ACCOUNTING_DOCUMENT_CREATE converts the billing document into the interface structures ACCIT, ACCCR and ACCHD and the internalinterface tables XACCIT, XACCCR, XACCHD are filled. These are then converted in Function AC_DOCUMENT_CREATE into the accounting document tables BSEG (accounting segment), BSET (taxes) and BKPF (document header). An ACCHD line is created for each and every billing document.

 

ACCHD:

 

The structure ACCHD contains the header information for the accounting document. It includes, for example, the time of entry, the name of the person entering the data and the transaction which was used to create the document.


ACCIT:

 

The structure ACCIT contains basic posting information including the currency information. You can see the billing item to which an ACCIT line belongs in the field ACCIT-POSNR_SD.


ACCCR:

 

The sturcture ACCCR contains the rate and currency information for customer, tax and G/L account lines. At least one ACCCR is created for each condition, customer or tax line. The ACCIT line belonging to an ACCR line can be identified using the field POSNR (ACCIT-POSNR) .

 

 

 

 

RV_ACCOUNTING_DOCULIST_CREATE (LV60BU02)

 

 

Triggered by:

 

TransactionButton
VF21Save
VF22Release to accounting  (if posting block is set in billing type customizing VOFA)
VFX3Release to accounting  (if posting block is set in billing type customizing VOFA)
VF26Save

 

 

 

 

SUBPROGRAMS (LV60BF00)

 

 

Form   ACCOUNTING_HEAD_LINE

Form   ACCOUNTING_ITEM_LINE.
Form   ACCOUNTING_TAX_LINE.
Form   READ_FI_PERIODE_INVOICEDATE.
Form   TXJCD_AUFBEREITEN.
Form   FREE_OF_CHARGE_LINE.
Form   XACCIT_XNEGP_SET.
Form   XACCIT_XVALGS_ZFBDT_SET.
Form   CURRENCY_CONVERSION
Form   FILL_ACCIT_DEB

 

 

 

 

 

Important tables and fields

 

 

TableField

Functionality

XACCHD

TCODE

 

AWREF

Transaction that released the invoice to accounting. For batch jobs the TCODE is space

 

Invoice number that will be transfered to BKPF-AWREF

 

 

XACCIT

POSNR_SD

 

POSNR

 

KSCHL

 

HKONT

 

MWSK1

 

BSCHL

 

TAXIT

Item number of the SD invoice

 

Item number of the interface table

 

Condition type

 

Account number

 

Tax code

 

Posting key

 

Indicator for the tax line

 

 

XACCCR

POSNR

 

WRBTR

 

FWBAS

Item number of the interface table (link to the corresponding line in XACCIT)

 

Value that will be posted to FI)

 

Tax base (filled only in the tax line)

 

.

Nfe (Nota fiscal document) stuck in 102 status unable to cancel

$
0
0

Hi All

 

Does any one give his expert advice.

 

I have one nota fiscal document with Sefaz (brasil govt server) status code 102 ( approved number voidance) but user unable to cancel that.

I served and found below comment on one of SAP portal but not sure how to perform those. also I anyone faced the similar issue, kindly share his experience.

 

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

To clarify the SEFAZ status (102) you must set the
ERP/NFE status manually. Choose finish skipping in the details view of the
skipped NFE and a popup will appear with input fields for the data from the
SEFAZ web site:

 

Protocol number

 

 

Date/time of
authorization

 

 

The protocol number proves that the skipping was
successful at SEFAZ. Further, the following entry about the skipping is
archived:

 

The protocol data (skip NF-e) was entered manually
by the user due to communication problems with SEFAZ.

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

Exclude Condition Type

$
0
0

Dear Gurus,

 

I have the following pricing mechanism

 

step 10. PROO

step 20. ZLOD (mark statistical)

step 30. ZDIS

Sub total   10-30,

 

i want that statistical condition type value cant be add in the subtotal, what routine i should assign on it.

 

as hte rest of the mechanism of the above pricing procedure is very complex thats why i cant place the step 30 (ZDIS) on step 20 (ZOLD), to get the right calculations.

 

 

please reply.


Printing multiple documents in single paper

$
0
0

Hi,

 

Is there a way to print more than one SD Billing document in a paper printout ?

 

scenerio like below:

 

Doc. Flow:

 

Standard Order - Outbond Delivery - Invoice - Debit Memo

 

SD Printout config:

 

NACE - V3 - Z*Output type - Z*Smartform

 

may have the item details of  debit memodocument 1 + d.m. doc. 2 + d.m. doc. 3 + etc on the paper

 

regards

emre

Posting date on current fiscal period, Billing date and Document date on previous fiscal period

$
0
0

Dear Experts,

 

When releasing accounting document for billing document under sales and distribution process, business user requested that document date on accounting document was copies from billing date of billing document and posting date on accounting document was picked the current date.

 

For examples, billing date on billing document is Jan 13, 2014. I released the billing document to accounting on Feb 14, 2014. Business users require is that accounting document was posted to FI on Feb 14, 2014 and document date of accounting document was on Jan 13, 2014.

 

How do we achieve and satisfy for the requirement?


Thanks.

General Information About SD-FI Interface

$
0
0

The following post is focusing on the generation of the accounting document.

The main purpose is to presentate the most important programs and tables involved during the process.

 

 

General information

 

 

During release of a billing document to accounting, the relevant fields of the SD invoice (fields of VBRK, VBRP, VBPA, KONV tables)  are transfered to the interface tables XACCHD, XACCIT, XACCCR.

 

On FI side these interface tables are used to transfer the data to the necessary modules in FI/CO.

On accounting side the most important tables being filled are BKPF, BSEG and BSET.

 

As a result the customer line item on FI side is created, that equals to the value that has to be payed by the customer. Furthermore revenue and tax lines are created. A summarization takes place if possible or if there is a special customizing setting for it (see SAP Note 36353).

 

 

 

Function module that starts the SD-FI Interface

 

 

The most important modules are the function module RV_ACCOUNTING_DOCUMENT_CREATE for creating accounting documents for individual documents, the function moduleRV_ACCOUNTING_DOCULIST_CREATE for creating accounting documents for invoice lists and the Include LV60BF00 that contains the most important subprograms.

 

 

 

 

RV_ACCOUNTING_DOCUMENT_CREATE (LV60BU01)

 

 

triggered by:

 

 

TransactionButton
VF01Save
VF02Release to accounting  (if posting block is set in billing type customizing VOFA)
VFX3Release to accounting  (if posting block is set in billing type customizing VOFA)
VF11

Save

 

 

 

 

RV_ACCOUNTING_DOCUMENT_CREATE converts the billing document into the interface structures ACCIT, ACCCR and ACCHD and the internalinterface tables XACCIT, XACCCR, XACCHD are filled. These are then converted in Function AC_DOCUMENT_CREATE into the accounting document tables BSEG (accounting segment), BSET (taxes) and BKPF (document header). An ACCHD line is created for each and every billing document.

 

ACCHD:

 

The structure ACCHD contains the header information for the accounting document. It includes, for example, the time of entry, the name of the person entering the data and the transaction which was used to create the document.


ACCIT:

 

The structure ACCIT contains basic posting information including the currency information. You can see the billing item to which an ACCIT line belongs in the field ACCIT-POSNR_SD.


ACCCR:

 

The sturcture ACCCR contains the rate and currency information for customer, tax and G/L account lines. At least one ACCCR is created for each condition, customer or tax line. The ACCIT line belonging to an ACCR line can be identified using the field POSNR (ACCIT-POSNR) .

 

 

 

 

 

RV_ACCOUNTING_DOCULIST_CREATE (LV60BU02)

 

 

triggered by:

 

 

TransactionButton
VF21Save
VF22Release to accounting  (if posting block is set in billing type customizing VOFA)
VFX3Release to accounting  (if posting block is set in billing type customizing VOFA)
VF26Save

 

 

 

 

 

SUBPROGRAMS (LV60BF00)

 

 

 

Form   ACCOUNTING_HEAD_LINE

Form   ACCOUNTING_ITEM_LINE.
Form   ACCOUNTING_TAX_LINE.
Form   READ_FI_PERIODE_INVOICEDATE.
Form   TXJCD_AUFBEREITEN.
Form   FREE_OF_CHARGE_LINE.
Form   XACCIT_XNEGP_SET.
Form   XACCIT_XVALGS_ZFBDT_SET.
Form   CURRENCY_CONVERSION
Form   FILL_ACCIT_DEB

 

 

 

Important tables and fields

 

 

 

 

TableField

Functionality

XACCHD

TCODE

 

AWREF

Transaction that released the invoice to accounting. For batch jobs the TCODE is space

 

Invoice number that will be transfered to BKPF-AWREF

 

 

 

XACCIT

POSNR_SD

 

POSNR

 

KSCHL

 

HKONT

 

MWSK1

 

BSCHL

 

TAXIT

Item number of the SD invoice

 

Item number of the interface table

 

Condition type

 

Account number

 

Tax code

 

Posting key

 

Indicator for the tax line

 

 

 

XACCCR

POSNR

 

WRBTR

 

FWBAS

Item number of the interface table (link to the corresponding line in XACCIT)

 

Value that will be posted to FI)

 

Tax base (filled only in the tax line)

 

 

 

Possibility of modification

 

 

 

Of course it is possible to influence the release of billing documents to accounting by using user exits. Just to mention some of the relevant programs:

 

 

EXIT_SAPLV60B_001Change of header data in structure ACCHD
EXIT_SAPLV60B_002 Change of the ACCIT customer line
EXIT_SAPLV60B_004Change of the ACCIT G/L account line
EXIT_SAPLV60B_006Change of the ACCIT tax line
EXIT_SAPLV60B_008Change of transfer structures ACCCR and ACCIT

 

You can find more information in the following SAP Note:

 

301077 - User exits for the interface for accounting

 

.

Send EDI Invoices based on Partner and IDOC segment

$
0
0

Very new to this area, so please bear with me.

 

We have a requirement to send EDI invoices to a customer. This was all working fine (in VV32 we filtered on a custom partner that is related to all the customers of that group - similar to PY).

 

However, we have just discovered that the customer does not want EDI invoice for all their stores, just a set list. Rather that add each store to VV32, is there a way we can make this selection based on the partner already established in VV32 AND a criteria that matches a pattern in the INVOICE IDOC segment?

Consignment Fill-up included in VF04 Billing Due List

$
0
0

Dear all,

 

We have created another order type ZKB and delivery type for consignment fill-up by copying from the standard KB.

However the new deliveries will appear in the billing due list, which is not correct.

I have checked the item category using is the same as standard KB, it is KBN and the Billing Relevance is "J".

 

How to exclude this kind of no billing orders from VF04?

 

Thank you very much.

Consumption Tax in Japan

$
0
0

Hi Gurus,

 

I have to configure Japanese consumption tax for accounts receivables in SAP and it's pretty straightforward, the rules are-

 

Goods or services provided to a domestic client in Japan is subject to 5% consumption tax on invoice

Goods or services provided to a international client outside of Japan is exempt of consumption tax on invoice

 

Now both the above rules are pretty straightforward and can be configured easily, however there is an exception to these rules-

 

Consider that our client (in Japan) is providing goods or services to IBM US then as per the second rule the invoice should not have any taxes, however if IBM US has a subsidiary in Japan then this invoice to IBM US should be treated as domestic client and is subject to 5% consumption tax.

 

How do we configure above scenarios, any pointers on this are helpful.

 

regards

 

Anmol   

output determination of mass billing documents

$
0
0

Hello All,

 

my problem is, i have a custom output type ZRD0 and it has a output determination requirement routine 910 associated with it.

 

when output determination is carried out for 1 billing document, it is OK

but when output determination is carried out in BULK though batch job, even if the requirement 910 fails, the output type gets determined.

 

Since the problem is only when many documents are processed through batch job,

I am not able to debug the routine to see what is happening.

 

Could you please tell me a way to debug the requirement routine 910 kobed_910 when mass billing documents are being processed ?


sap sd create billing documents

$
0
0

HI:everybody!

 

I  have used the function  BILLING_SCHEDULE_SAVE to create the billing plan in sales orders.But when I use VF01 to create billing documents, the systems messages

'No billing documents were generated. See log'

then I see the log ,

it says

"The item has been fully invoiced already

Date 000001 has already been billed (billing plan)"

 

the bill type is L2 Debit Memo

 

But if I use va02 to create the billing plan ,the vf01 operation is sucessful,

then I dubgger the vf01,I find it call the function named 'RV_INVOICE_CREATE',

if the bill plan is created by 'BILLING_SCHEDULE_SAVE' function, the function 'RV_INVOICE_CREATE' can not create billing documents sucessfully,

but if the bill plan is created by 'VA02',it sucessed.

 

the parameter is Exactly the same!

Why these happen? Can anyone tell me why?thank you !!!

 

this is my program:

FORM F_CJ_KPJH.

 

 

 

REFRESH it_data2.

 

APPEND LINES OF it_data to it_data2.

 

DELETE ADJACENT DUPLICATES FROM it_data COMPARING vbeln posnr.

LOOP AT it_data INTO wa_data.

       CALL FUNCTION 'SD_SALES_DOCUMENT_READ'

         EXPORTING

           document_number = wa_data-vbeln.

 

REFRESH e_fplt.

  CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'

         EXPORTING

           i_vbeln                = wa_data-vbeln

           i_posnr                = wa_data-posnr

         IMPORTING

           e_fpla                 = e_fpla

         TABLES

           e_fplt                 = e_fplt

         EXCEPTIONS

           no_billingplan_allowed = 1

           no_billingplan_found   = 2

           OTHERS                 = 3.

 

       IF sy-subrc NE 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

       ENDIF.

 

       CALL FUNCTION 'BILLING_SCHEDULE_READ'

       EXPORTING

       fplnr = e_fpla-fplnr

* I_VFKDAT =

* I_BFKDAT =

       TABLES

       zfpla = zfpla

       zfplt = zfplt.

 

    REFRESH it_data3.

   LOOP AT it_data2 INTO wa_data2 WHERE vbeln = wa_data-vbeln

                                 AND posnr = wa_data-posnr.

     APPEND wa_data2 to it_data3.

   CLEAR wa_data2.

 

 

   ENDLOOP.

 

DATA l_h TYPE i.

CLEAR l_h.

DESCRIBE TABLE zfplt LINES l_h.

REFRESH zfplt2.

DATA l_ft TYPE i.

 

READ TABLE it_data3 INTO wa_data INDEX 1.

if sy-SUBRC = 0.

   l_ft = wa_data-BILL_PLANi - 1.

   ENDIF.

  "l_ft = 1.

 

  DATA l_row TYPE i VALUE 0.

  CLEAR l_row.

LOOP at it_data3 INTO wa_data2.

   l_row = l_row + 1.

   l_ft = l_ft + 1.

   zfplt2-fplnr = e_fpla-fplnr.

   zfplt2-fpltr = l_ft.

   zfplt2-afdat = wa_data2-afdat.

   zfplt2-tetxt = wa_data2-tetxt.

   zfplt2-FAKWR = wa_data2-FAKWR.

   zfplt2-FPROZ = wa_data2-FPROZ.

   zfplt2-FAREG = wa_data2-FAREG.

   zfplt2-FKSAF = wa_data2-FKSAF.

   zfplt2-fpttp = '01'.

   zfplt2-FPFIX = '1'.

if l_row <= l_h.

    zfplt2-updkz = 'U'."修改第一行

    ELSE.

  zfplt2-updkz = 'I'."插入新数据

ENDIF.

   APPEND zfplt2.

 

ENDLOOP.

 

REFRESH zfpla2.

LOOP at zfpla.

   MOVE-CORRESPONDING zfpla TO zfpla2.

 

   APPEND zfpla2.

   MODIFY ZFPLA.

endloop.

 

     CALL FUNCTION 'BILLING_SCHEDULE_SAVE'

       TABLES

         fpla_new = zfpla2

         fpla_old = zfpla

         fplt_new = zfplt2 " --> NEW

         fplt_old = zfplt.

 

 

 

CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'

      EXCEPTIONS

           ERROR_MESSAGE = 01.

IF SY-SUBRC NE 0.

   PERFORM MESSAGE_100 USING wa_data-VBELN.

   EXIT.

   ELSE.

      MESSAGE '数据更新成功' TYPE 'S'.

ENDIF.

 

 

     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

       EXPORTING

         wait = 'X'.

 

ENDLOOP.

Contract issue

$
0
0

Hello,

 

 

Contract showing open. Though already invoiced.

few line items showing as Not referenced. screen shot attached.

Please give the solution.

 

 

Regards

SAP Learner.

VF06 - FI Document without TCODE in BKPF table

$
0
0

Hi,

I'm trying to use the VF06 to implement an automatic billing process, but when I started the job, the system creates all billing documents normally, so when I check the associated FI documents, the TCODE field is blank in BKPF table.

 

I have 2 problens here:

 

1 - For SOX audit compliance I must have all FI documents with TCODE filled (for example VF01, VF02, etc..)

2 - I have some validation/sustituion rules, that track billing process by transaction and VF06 don't pass by them.

 

Can anyone, could you help me in a possible solution?

 

Tks.

 

Leonardo

Rebates activation of Extended Rebates Solution (Impact on Old Solution)

$
0
0

Hello,

 

We are currently considering of activating the Extended Rebates Solution.

 

However, current SAP implementation has active the old rebate solution already in use for several sales organizations of our company.

 

Can anyone help me on the possible impacts of activating the extended rebate solution?

 

I have searched in SAP help and notes but couldnt find anywhere a clear impact list.

 

Ie. : what will happen with the old rebate agreements?

Will there be any conflict from activating the new structures?

Is it recommended to activate extended rebates while you use the old rebate solution?

 

The need for activating the extended solution comes from the requirement to report the cost of rebates on actual SKU(material) level and not dummy settlement materials.

 

Thanks for any support/help.

RELATIN BETWEEN VTKP AND VBKD

$
0
0

Hi,

 

Please tell the logic based on shipping cost document no how to find the incoterms?

Viewing all 2278 articles
Browse latest View live


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