Tax jurisdiction code creates a difference when posting invoice with PO ref
I have added a tax jurisdiction code since the client wants to be able to sort taxes by location. The problem now is that, I have posted a PO with a tax jurisdiction code but upon posting the invoice with reference to this PO, there's an error saying that there still exists a balance even though the balance on the screen is zero. Any ideas on how this can be solved?
Hi ,
Can you please tell us how you resolved? We do facing the same problem.
Thanks
Ganesh
Similar Messages
-
Default due date , payment method when posting invoice with Special G/L
Hi Gurus,
I have a question is when I am posting an invocie to a vendor (FB60), Due On date, payment method are automatically calculated based on the defaulted baseline date and the payment term in the vendor master. But when I am posting the invocie to the same vendor with Special G/L indicator, Due On date, payment method are not automatically calculated and system are expecting me to enter this date manually. Is there a way we can default this Due On date, payment thod based on payment term like it happens when posting to other invoices without Sp GL indicator ?
Thanks
Edited by: Ngoc Hoang on Nov 29, 2011 8:30 AMDear Ngog,
In general, special G/L transactions are used to map special processes
to be stated separately in the balance sheet.So if you use special GL
indicator, the fields relevant to payment terms (including baseline
date) are not displayed. This is not controlled by field status.
To make the fields You need ready for input for posting
with special G/L indicator, the following Customizing setting is
necessary:
Financial Accounting -> Accounts Receivable and Accounts Payable
->Business Transactions -> Outgoing Payments -> Automatic Outgoing
Payment-> Payment Method/Bank Selection -> Configure payment program ->
All company codes -> double-click on corresponding company code -> under
Vendor -> 'Sp. G/L transactions to be paid' you should enter the special
G/L indicator A,B, etc.
As explained in SAP note 4683, the only standard possibility to get the
field payment terms on creating a posting with a special G/L indicator
is by setting in the payment program configuration (trans. FBKP) for
'All company codes' for customers/vendors 'Sp. G/L transaction to be
paid'.
Mauri -
Runtime Error when Posting Invoice with text added (MIRO)
Hi Gurus,
We are getting a shortdump (runtime error) when we post certain invoices in MIRO. This happens when we input some text in the text field or add some text to the NOTE tab.
We are having exception ERROR_DP raised in the program c_textedit_control.
If the text field is blank and nothing is writing in the NOTE tab, the invoice gets posted with no problem.
Has anyone come accross this issue before and how did you solve it please.
Thanks.are u processing thru BADI, then it is very easy there are interfaces and methods for handling texts. u sud not get any error and plz never write commit work in BADI.
May be i cud provide more help if u share more details but let me tell more but let me share one recent development that i did.
In ME59n when we do PR TO PO then texdts sud be copied to header text in PO and get reflected in PO. the coding is like below may be can give some clues wid ur MIRO stuff.
METHOD if_ex_me_process_po_cust~process_header.
* Author : Prasenjit Bist *
* ID : PRBIST *
* Date : 04.08.2011 *
* Changes : New Devlopment *
* Change Request: *
* Description: To copy LSP information in PO *
TYPES:
BEGIN OF ty_text,
auto_pr_po TYPE zman_auto_pr_po,
plant TYPE zman_plant,
vendor TYPE zman_vendor,
lsp_vendor TYPE zman_lsp_name,
contract_no_text TYPE zman_contract_no_text,
END OF ty_text.
TYPES:
BEGIN OF ty_address,
ort01 TYPE ort01_gp, " city
ort02 TYPE ort02_gp, " district
pfach TYPE pfach, " PO Box
pstlz TYPE pstlz, " Postal code
region TYPE regio, "Region (State, Province, County)
telf1 TYPE telf1, "1st telephone number
telf2 TYPE telf2, "2nd telephone number
telfx TYPE telfx, "Fax number
land1 TYPE land1,
END OF ty_address.
DATA:
get the header level details
ls_mepoheader TYPE mepoheader,
lt_purchase_order_items TYPE purchase_order_items,
ls_purchase_order_items LIKE LINE OF lt_purchase_order_items,
get the line item details
lt_mepoitem TYPE STANDARD TABLE OF mepoitem,
ls_mepoitem TYPE mepoitem,
lt_textlines TYPE mmpur_t_textlines,
ls_textlines LIKE LINE OF lt_textlines,
TEXT TYPES
lt_texttypes TYPE mmpur_t_texttypes,
ls_texttypes LIKE LINE OF lt_texttypes.
DATA: l_name TYPE thead-tdname,
ls_header TYPE thead,
lt_lines TYPE STANDARD TABLE OF tline,
ls_lines TYPE tline,
l_tdobject TYPE thead-tdobject,
l_metafield TYPE mmpur_metafield.
DATA: ls_text TYPE ty_text,
l_text(50).
DATA: l_continue(1).
DATA: l_pass_vendor TYPE lifnr,
l_pass_plant TYPE werks,
l_name1(35).
fetch the address
DATA: ls_address TYPE ty_address,
l_landx TYPE landx.
CONSTANTS: lc_id TYPE thead-tdid VALUE 'F01',
lc_langu TYPE thead-tdspras VALUE 'E',
lc_object TYPE thead-tdobject VALUE 'EKKO'.
CONSTANTS: lc_set(1) VALUE 'X',
lc_vendor(11) VALUE 'Vendor: ',
lc_lsp_vendor(11) VALUE 'LSP Vendor:',
lc_contract_no_text(14) VALUE 'Contract Text:'.
CLEAR: l_continue.
IF sy-uname EQ 'PRBIST'.
Read the header data
ls_mepoheader = im_header->get_data( ).
read teh item level data.
break prbist.
lt_purchase_order_items = im_header->get_items( ).
LOOP AT lt_purchase_order_items INTO ls_purchase_order_items.
The item attribute of the structure is reference to line item
ls_mepoitem = ls_purchase_order_items-item->get_data( ).
APPEND ls_mepoitem TO lt_mepoitem.
ENDLOOP.
CHECK VENDOR IS THE ONE WE WANT.
SELECT SINGLE name1 FROM lfa1 INTO l_name1 WHERE lifnr = ls_mepoheader-lifnr.
First read the vebdor name based on LIFNR.
TRANSLATE l_name1 TO UPPER CASE.
IF ( l_name1 EQ 'LSP1' ) OR ( l_name1 EQ 'LSP2' ).
LOOP AT lt_mepoitem INTO ls_mepoitem.
TRANSLATE ls_mepoitem-werks TO UPPER CASE.
IF ls_mepoitem-werks EQ 'FI01'.
l_continue = lc_set.
l_pass_vendor = ls_mepoheader-lifnr.
l_pass_plant = ls_mepoitem-werks.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
IF l_continue EQ lc_set AND sy-tcode EQ 'ME21N'.
Call the POP UP screen to display LPS information.
CALL FUNCTION 'ZMAN_LSP_POP_UP'
EXPORTING
im_vendor = l_pass_vendor
im_plant = l_pass_plant
IMPORTING
ex_text = l_text.
GET Text Object (TTXOB)
im_header->if_longtexts_mm~get_textobject(
IMPORTING ex_tdobject = l_tdobject
ex_metafield = l_metafield ).
GET TEXT IDS
im_header->if_longtexts_mm~get_types(
IMPORTING ex_texttypes = lt_texttypes ).
CHECK TEXT TYPE 'F01' EXISTS.
READ TABLE lt_texttypes INTO ls_texttypes WITH KEY tdid = lc_id.
IF sy-subrc EQ 0.
UPDATING ITEM TEXT.
MOVE: l_tdobject TO ls_textlines-tdobject,
ls_texttypes-tdid TO ls_textlines-tdid,
'*' TO ls_textlines-tdformat.
break prbist.
ls_text = l_text.
CONCATENATE l_text ls_texttypes-tdtext INTO ls_textlines-tdline.
CONCATENATE ls_text-vendor
ls_text-plant
ls_text-lsp_vendor
ls_text-contract_no_text
INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT VENDOR
CLEAR ls_textlines-tdline.
CONCATENATE lc_vendor ls_text-vendor INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT LSP VENDOR
CLEAR ls_textlines-tdline.
CONCATENATE lc_lsp_vendor ls_text-lsp_vendor INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT CONTRACT TEXT.
CLEAR ls_textlines-tdline.
CONCATENATE lc_contract_no_text ls_text-contract_no_text INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT A BLANK LINE.
CLEAR ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
INSERT addreSS CAPTION.
CLEAR ls_textlines-tdline.
MOVE 'Address:' TO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
break prbist.
READ THE ADDRESS
SELECT SINGLE ort01 " city
ort02 " district
pfach " PO Box
pstlz " Postal code
regio "Region (State, Province, County)
telf1 "1st telephone number
telf2 "2nd telephone number
telfx "Fax number
land1 "COUNTRY
FROM lfa1 INTO ls_address WHERE lifnr = ls_mepoheader-lifnr.
GET COUNTRY
SELECT SINGLE landx FROM t005t INTO l_landx WHERE spras = 'E' AND land1 = ls_address-land1.
INSERT ADDRESS DETAILS.
CLEAR ls_textlines-tdline.
CONCATENATE ls_address-ort01 ls_address-ort01 INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT COUNTRY.
CLEAR ls_textlines-tdline.
MOVE l_landx TO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
TELEPHONE DETAILS
CLEAR ls_textlines-tdline.
CONCATENATE 'Tel:' ls_address-telf1 '/' ls_address-telf2 INTO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
FAX DETAILS.
CLEAR ls_textlines-tdline.
CONCATENATE 'Fax:' ls_address-telfx INTO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
SAVE THE HEADER LONG TEXT.
im_header->if_longtexts_mm~set_text(
EXPORTING im_tdid = ls_texttypes-tdid
im_textlines = lt_textlines ).
ENDIF.
ELSEIF l_continue EQ lc_set AND sy-tcode EQ 'ME59N'.
No need to display POPUP simply read the values and show.
if not
ENDIF. "(l_continue = 'X' and transaction code is ME21N or ME59N)
CLEAR l_continue.
ENDIF. "(sy-uname)
ENDMETHOD.
Edited by: Prasenjit Singh Bist on Aug 14, 2011 10:15 AM
Edited by: Prasenjit Singh Bist on Aug 14, 2011 10:21 AM -
Tax jurisdiction code is not entered
Hi,
I am trying to clear vendor open items in F-44 it is showing error "Tax jurisdiction code was not entered" , while posting invoice or post the payment there is no field like Tax Jurisdiction code in the document. I checked in BSEG table there the tax juris code field is blank but it is not appeared in the document and checked the field status of posting key and others also the field is not there and checked in vendor master even entered the tax jurisdiction code also showing the same error.
Please help.
Thanks in advance.I think your document contains Taxes and tax jurisdiction is enabled in your system. Tax jurisdiction key is normally maintained in your tax code if you have enabled Tax Jurisdiction applicability. Check your config. in OBCO and OBCP. Also check if you have given any jurisdiction code in the tax code used.
You can also check if Jurisdiction code is a mandatory field in the address of the vendor or customer you are trying to post. Fill the field if not already filled.
Ravi. -
You are not allowed to enter a tax jurisdiction code for country US
Hi All,
We are having this message popping up "You are not allowed to enter a tax jurisdiction code for country US" when we try to add an item to a shopping cart. SRM 4.0 Classic scenario.
Also when i process the shopping cart and create a PO out of it, our R/3 4.6C dosnot let me release the PO and error message is :"no tax jurisdiction code found"
I have looked at some of the earlier threads but i could not find a definite solution. Has anybody faced similar problems? Please let me know !
Thanks
SundeepHi Sudeep,
How did it work? Do you have to implement any BADI's or SRM or R/3 side? As we are getting same error while creating Shopping Cart in SRM.
I have checked the plant data in R/3 and Jurisdiction code has been maintained there.
Please advise
Thank you
Ritesh -
Tax Jurisdiction code for EDI Incoming invoice
Hi,
We have implemented EDI incoming invoice using INVOIC02. The process code is INVL.The invoice is to be posted against a Purchase Order line item. It is noticed that the EDI invoice is not getting the Tax Jurisdiction code from the Purchase Order line . Instead the Tax Juridiction code is copied from the company code. However when we post the invoice manually using MIRO , then the Tax Juridiction code is copied from the Purchase Order. We understand that the system should take the Tax Jurisdiction code from the Purchase Order even for EDI invoices. Is it compulsory that we have to use the user exit EXIT_SAPLMRMH_014 in order to populate the Tax Jurisdiction code field TXJCD from the Purchase Order line? or is there any config required to enable the transfer of Tax Juridication code from the Purchase Order? In transaction OBCE there is a config to transfer the tax jurisdiction code supplied by the external vendor. If we do not check that box , then system is supposed to get the tax jurisdiction code from the Purchase Order.
Thanks
SukumarThe issue is resolved through OSS Note 506343. In the standard R/3 system, the tax jurisdiction code can't be written to invoice via EDI and only the Ship To Plant's Tax Jurisdiction Code is written to the invoice.
Regards
Sukumar -
Hi Experts,
When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code". As checked, we have configured OBCD and OBCA for the vendor and we are passing the Tax Jurisdiction code in E1EDP04 SAL segment. Can anybody give us some idea to resolve this issue.
Regards,
SameekHi Sameek,
Please refer the below link. Hope it helps.
http://scn.sap.com/thread/1435286
Regards,
Chandan. -
How to Bypass Tax Jurisdiction Code while Posting FI Document
Hello All,
I have a requirement where I can enter Tax code along with Tax Jurisdiction for some of the cases while Posting FI Document using T code s FB01.. etc.
However for one scenario I need to BY pass the Tax Jurisdiction while posting FI Document . How to achieve this.
As per SAP once we define Tax Jurisdiction it is mandatory to enter as Input to Post the document.
But I need to control this Tax Jurisdiction as I dont want to enter while posting FI Document.It should not prompt for Tax Jurisdiction .
How to make an option field in this case (Based on Company code and Tax code combination).
Any BADI / User exit/BTE to Ignore the Error message Enter Tax Jurisdiction code).
Please help me as soon as possible.
Thanks.My Query is , when am posting a document in FB01 Transaction , when I enter Tax code at line item level, Tax jurisdiction is mandatory if we dont enter it give an error saying that ' Please enter a Tax Jurisdiction' .
My requirement is I would like to bypass that error without entering Tax jurisdiction I would like to proceed by providing default Tax Jurisdiction through any userexit/BADI/BTE. so that I will not get that error .
So any USER-EXIT/BTE/BADI is there which will trigger before the error(maintain tax jurisdiction ) at line Item leve ?????
I hope now requirement is clear. -
Error 'No tax code found for difference' in Posting Vendor Invoice IDOC
Hi All,
I am getting error message 'No tax code found for difference' while posting Vendor Invoice IDOC into SAP. IDOC type is INVOIC02. There is no difference in PO price, Invoice price and even Standard price. then why this error message? Other Vendor EDI settings are done ( OBCA, OBCD, OBCE etc). Is there any thing specific to be done in the config for this error?
IDOC has PO as reference document.
I looked into several threads in SDN forum but could not find proper solution
Can any ine help me with this issue?
Thanks in advance
HariHi
You might be missing the tax code for uploding through IDOC
so you can use the t.code we02 and give the doc and find the error
go to the WE19 to edit the tax code
and USE the t.code BD87 to select the doc and process it
thanks
Madhu -
While doing MIRO i am getting an error: Enter a tax jurisdiction code
Hi,
While doing a MIRO, i am getting an error :
Enter a tax jurisdiction code
Message no. M8757
How to Resolve
PratikHi
Try this
1.To enter the tax amounts of the G/L account items, choose Extras ® Tax amounts. The Tax Amounts screen appears.
You can branch to this screen at any point during document entry.
The Tax Amounts screen shows the tax amount, tax code, posting key, tax base amount, and jurisdiction code for all the items already entered. When you call up this screen after entering the G/L account items, it displays the amounts that have already been entered.
2.You can now choose how you want to enter the taxes.
The tax jurisdiction codes represent the different taxing authorities to which you submit payment for taxes EG: the state, county, city etc.
In SAP you can have as many as 4 levels. Configuration is done in 2 steps :
First step :
The tax jurisdiction structure (structure of the tax code) is set up with following menu path :
IMG >Financial accounting> Fi Accounting basic settings> tax on sales/purchases > basic settings > specify structure for tax jurisdiction code.
Alternatively you can use t-code OBCO
This step allows you the enter the character length of your various level of hierarchy within your tax jurisdiction code structure (State 2 char, county 3, city 4, etc...).
Second step:
You configure the tax jurisdiction code using the structure defined earlier, menu path :
IMG >Financial accounting> Fi Accounting basic settings> tax on sales/purchases > basic settings > define tax jurisdiction codes.
Alternatively t-code OBCP
Define your tax jurisdiction codes, EG GA0000000 for Georgia, GA001000 for Georgia, douglas county, GA001001 for georgia, douglas county, city of lithia springs. -
Tax Jurisdiction Code Check as part of a Sales Order Partner Function
Hi,
I have a scenario where we modify partner information directly in the sales order. These partners are simple addresses and are not tax relevant. We have set them up as one-time customers. Every time when we modify the address information, Vertex kicks in and tries to match the address information (street, city and state) with a tax jurisdiction code. In our case the address information is high level (only city and state) which is not enough for Vertex. SAP issues then a blocking error message.
We try to find a way to ignore Vertex for these specific partners. In the documentation we have found a user exit, as well as a BADI, but our developpers were not able to make it work in the sales oder.
The user-exit is the following: EXIT_SAPLFYTX_USER_001
The BADI is the following: IF_EX_ADDRESS_SUBSCREEN
In EXIT_SAPLFYTX_USER_001, I've found a parameter (EXEMP_IND) which could enable to bypass the tax jurisdiction code check and the RFC call to Vertex.
In IF_EX_ADDRESS_SUBSCREEN, I've found a parameter (CHECK_ADDRESS) which could potentially bypass the check as well.
Did any of you already experience this scenario or would you have an idea about how I could make this work?
Thanks
LoicUnfortunately, the sales order is created through an interface (using iDOCs), and the external system feeding the iDOC for the sales order creation does not have any Zip Code information. Besides, even if the Zip Code is entered, it is still not enough for Vertex to choose automatically a Tax Jurisdiction Code, most of the times, it is also requiring a District, which again, will not be passed from the interface.
We went through this analysis already and we came to the conclusion that we need to bypass this check, as this partner function is not tax relevant.
Thanks,
Loic
Edited by: Loic Dominik on Jun 27, 2011 7:39 PM -
T-Code for craring Tax Jurisdiction Code
Hi,
I need to define tax codes in FTXP,before that i need to define Tax Jurisdiction Codes.Kindly advice me where can i create the new Jurisdiction Codes.
Thanks
SupriyaUse T Code OBCP or the following path in SPRO.
Financial Accounting -> Financial Accounting Global Settings -> Tax on Sales/Purchases -> Basic Settings -> Define Tax Jurisdictions.
When you execute the above transaction, system prompts for a "Costing Sheet"!!! Don't get surprised; press F4 or click on the drop-down icon, select an appropriate tax procedure from the drop-down list, and press Enter. Create your jurisdiction codes in the next screen. -
Disable Vertex Tax Jurisdiction Code Validation & RFC Call
We want to disable calling vertex for tax jurisdiction code in some cases based on sales org & division. For a small business unit we are using SAP ECC 5.0 SD module to create customers & sales orders. These orders are placed via a external non-SAP front-end and are entered into SAP via a BAPI/RFC create customer & create sales order call. The front-end calculates all the prices and tax and passes that to SAP via the BAPI call. SAP accepts the prices & tax as-is (due to how we've configured SAP for these types of orders) and does not recalculate price or tax. However, on SAP we have external tax configured to call Vertex Q Series via Translink which we currently use to determine jurisdiction code & sales tax for other business units & for use tax. This external non-SAP front-end does not have any address validation therefore the addresses we receive are not always good (ex. they abbreviate or mis-spell cities, etc...) and therefore when saving customer or order addresses via the BAPI calls we receive errors from SAP indicating that the tax jurisdiction code can not be determined. In these cases we want to NOT call Vertex for automatic tax jurisdiction code check and allow SAP to accept a state level jurisdiction code that we can pass (ex. Minnesota's is 2400000000). How can we turn off the call to Vertex for tax jurisdiction code check? Apparently we can use SAP user exit EXIT_SAPLFYTX_USER_001 include ZXFYTU03 but what is the ABAP code to turn this call off for specific sales org & division?
Regards,
JeffHi,
You can create the custom tables with the same fields on Vertex and maintain those tables with the same values.
You can comment the section of RFC call and add your own validations.
Hope this helps.
Regards,
Kranthi -
INVOIC idoc error 51due to "Enter a tax jurisdiction code"
Hi Expeets
We use INVOIC for automated MIRO for an interco STO.
Th idoc is unsuccessful due to message "Enter a tax jurisdiction code"
The tax jurisdiction code is already there in PO item and it is getting determined in MIRO item when we manually create invoice.
Please guide me to avoid this error with Idoc.
thanks
ramSivaHi ramSiva,
You will need to do a test with the IDoc to see if it is processed correct when you fill the tax jurisdiction code. Then you will now that you need to adjust the code for processing the IDoc.
If it still goes wrong then there is something else incorrect.
I am not a functional consultant, but maybe these are customizing settings where the taks code is made mandatory. Check with your functional consultant, maybe he knows the rules for this field in relation to customizing settings. -
Change Tax Jurisdiction code (TXJCD) in Cost Center Master Data
Hi There,
We have a problem of making change to Tax Jurisdiction Code in Cost Center Master Data. We are on ECC 6.0 with Vertex system as external tax system. When we create Cost center, system automatically derive tax jurisdiction code from vertex) external system). Now Vertex have made changes to Tax Jurisdiction Code for same place based on US Gov directive. these changes are time period base say from 01/01/2008 to 06/30/2009 Tax Jurisdiction Code "TX1000" and from 07/01/2009 to 12/31/999 Tax Jurisdiction Code "TX2000" (example) When we go to change mode in Cost Center, system automatically derive the new Tax Jurisdiction Code and update the cost center with new Tax Jurisdiction Code "TX2000". When we book invoice for cost center, with back date say 06/29/2009, system through the error, that it is not a valid Tax Jurisdiction Code.
My question is; how can we maintain two different Tax Jurisdiction Code in SAP for Cost Center? From configuration stand point of view, we have maintained TXJCD as time dependent field, but still this field is grayed out and sytem populate the Tax Jurisdiction Code from external system, since we have installed vertex system for tax purpose.
Please let me know.
Thanks,
Pawan SharmaPawan,
have you received any response on this or identified any solutions as I have also a similar request.
Thanks,
Maybe you are looking for
-
Invoice Footer printing on every page of invoice instead of first page only
Hi, I am working on an AR invoice report. I have a RTF template (template is 1 page only) and the output is PDF. The invoice has invoice header ( bill to , pay to ) and invoice line details. On the bottom of the first page of every invoice , I need t
-
Disk Permissions changed after connecting mac via firewire on Target Disk Mode.
I have connected 2 macbook pros using firewire in target disk mode and the permissions on the destination macbook pro have changed. Now when I try to start the macbook pro, it stays on the grey screen and the apple sign changes to a prohibitory sign,
-
ANYONE?
-
Does standard SAP has a Adobe Interactive form for Customer Master?
Hello, Pls. let me know whether the standard SAP does have a Adobe form for Customer Master, if so, pls. let me know. Actually, i searched in List of SAP standard Adobe forms: Go to http://service.sap.com/erp (SAP ERP) -> Media Library - SAP ERP Over
-
please help me !!