Table that links country tax code and jurisdict.code
Which is the table that links country, tax code and jurisdict.code.
This could be one way of finding what countries are using the tax codes:
1. Determine all the countries where the calculation procedure TAXEUR has been assigned to
2. Execute report "S_ALR_87012365"
3. Enter Country code in the selection screen and hit execute
4. The report will display all the tax codes created for the country
5. Manually check if the tax code exists in the list
An other way to do this which you might already know is to use FTXP and view the tax codes in the drop down list.
I hope this helps.
kiran
Similar Messages
-
Table that links vendor and customer
hi
is there any table that links vendor and customer, for example theres a vendor zz400, he can be a customer as well
do you know in which table we can find that?Hi
Go through the link given below :
Configuration for vendor as well as customer
With Regards
Sandeep -
A table mapping between country code and currency code
Hi experts,
I want to know whether there is a table mapping between country code and currency code.I have found the table T005(Countries).But I don't why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether country code and currency code hasn't direct relation?
Regards,
KelvinDear Kelvin
The said field (WAERS) can be fetched from many tables. To name a few, below are some of the tables in which, you can see the field for currency.
1) BKKI4
2) BKKI5
3) BWPOS
4) KNKA
5) KNVV
6) MSEG
thanks
G. Lakshmipathi -
Looking for table that links a PM Reservation to a MM Purchase Requisition
Looking for table that links a PM Reservation to a MM Purchase Requisition
Hi,
Typically the way most SAP systems are configured, there are two scenarios here:
1. The component reserved in the PM order is item category 'N'. This is a non inventory item and must be directly procured for consumption against the PM order at the point of goods receipt. In this case no reservation is created and instead a requisition is directly created (in table EBAN) and the requisition is account assigned directly to the PM order (in table EBKN - field AUFNR).
2. The component reserved in the PM order is item category 'L'. In this case no requisition is directly created, instead a reservation is created against the item in stock (in table RESB). If there is sufficient stock of the item already then the item is consumed when it is goods issued to the PM order from stock using MIGO and there is no requisition created. In the event that there is not sufficient stock of the item for the reservations that exist, when MRP is run, a requisition will be created to replenish the stock, but this requisition will not be assigned to a specific PM order as it could be replenishing stock of the item for several reservations which are all for different orders. So in this scenario there is no direct link from the reservation generated by the PM order to the requisition. -
Where is link between plant vendor and plant code
Where i can find linke between plant vendor and plant code.
Hi,
Go to XK02,
In Purchasing Data of Vendor Master, in menu Extras > Add. Purchasing Data
It is stored in Table LFA1 and field is WERKS -
Table for link between Accounting document and Billing document
Which is the table for link between Accounting document and Billing document ?
Thanks & RegardsØ Go to SE16N, enter table BSAD
Ø In the Reference Field (VBELN) enter the Billing Document no.
Tips:
Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled. -
Table that links bills with delivery
Hi experts,
I Amb searching a table that links bills with deliverys, can someone help me with this please?
Thanks!
Artur.Hi Arthur,
You can check table VBRP. You will have both the billing doc number (VBELN) and the reference doc number (delivery/order - VGBEL) in this table.
Regards,
Mike -
Hi All,
I need the help of this forum once again.
I am using bapi Bapi_Acc_Document_Post to create KR documents in SAP. The bapi works absolutely fine except for one scenario:
For a particular type of invoice coded to Company "XXXX" with lines having tax code "I0", the bapi returns error message "E 018 : Invalid tax code and company code combination". The tax code "I0" and the company code "XXXX" has been mapped in SAP and if I try to create the invoice manually in SAP using the GUI, the invoice gets created without any issue.
I have tried searching the forum but could not find any post on this topic.
Therefore, requesting the masters to please help me out on this.
Best Regards
Sutirtha RoyHi Gowthami,
how have you solved your problem, because I am facing the similiar issue and trying desperately to post the following combination with BAPI_ACC_POST_DOCUMENT:
001 40 490100 Aufw. aus Marge PP R2 15,92
002 31 10000003 Kreditor R2 15,92-
003 50 175060 Abzugsverfahren USt R2 3,18-
004 40 154060 Abzugsverfahren Vst R2 3,18
THANX!
Regards
Marko -
Table that stores the business role and user id mapping
Hi,
i want to know the table that stores the Business role and the business role and user id mapping in CRM system.
Thanks in Advance.
Regards,
PricyHi Mary,
There is no direct table but there is a way to find it.
HRP1263 is the table where business roles are stored when maintained at org level. These are stored against the Position.
For getting user ID and position linkage refer table HRP1001.
In HRP1001 table use below criteria to get the User and Position.
OTYPE = CP
SCLAS = US
SOBID = User ID
ENDDA = 31.12.9999
Get the OBJID
Query the HRP1001 table again with following
OTYPE = CP
OBJID = OBJID from above Query
ENDDA = 31.12.9999
SCLAS = S
SOBID = Thats Position.
Pass the position to HRP1263 as below.
OTYPE = S
OBJID = POSITION
PROFILE - Thats business role assigned for the given position and user.
Hope this is helpful.
Regards,
Naresh -
Tables that store description of TRFMs and DTPs
Hi Experts,
Kinldy let me know the name of the tables that store description of transformation and DTPs.
The usual ones like RSTRAN, RSTRANT, RSBKDTP etc. are not containing text for all transformations and DTPs.
TIA,
RaviHi,
Pl check following tables
RSBKDTP BW: Data Transfer Process Header Data
RSBKDTPH DTP: Historic Versions
RSBKDTPSTAT Status Information on Data Transfer Process
RSBKDTPT Texts on Data Transfer Processes
RSBKDTPTH Texts on Data Transfer Processes
RSDDSTATDTP Table for WHM Statistics. Details DTP
RSOACUBE_DTP BW: OLTP Direct Access: Directory of Assigned Remote DTPs
RSBKDATAPAKSEL DTP: Data Package Selections
RSBKSELECT Selections for DTP Request (Summary)
RSBKREQUEST DTP Request
RSBKREQUEST_V View of DTP Request
RSBKBP Breakpoints
RSBKDATAINFO Information on DTP Runtime Buffers
RSBKDATAPAKID DTP: Status Table for Data Packages
RSBKSUBSTEP Properties of Substeps in a DTP
For transformation check following thread
SAP BW tables
Thanks and regards -
PO to accept multiple GL codes and cost codes
PO to accept multiple GL codes and cost codes. Since the system POs are not accepting more than one GL code and Cost code, this functionality is not being used for some of the service providers like Car Hire, Air ticket vendors, Stationery vendors, Utility vendors.
Is there anything to releated to field selection ?
is there anyway to upload the excel file in case if I have more than 1 G/L and cost center during PO creation
Thanks in advanceHI
Yes the setting will let you use multiple account assignments.
If you need to upload alot of PO's in this way then the best way is to use the BAPI - BAPI_PO_CREATE1.
This will help you in craeting any number of line items witha nay number of account assignments.
LSMW and BDC will not be able to control the table structures being used.
Please take help of ABAPEer in bulding the program using the BAPI.
Thanks & Regards
kishore -
Importing a journal voucher with GL Codes and BP Codes
Hi Experts,
I'm trying to get a DTW import for Journal Vouchers working on 8.8 PL05. I have a journal voucher template with GL Codes and BP Codes that I need to import as this is part of some integration.
If I leave out the BP Codes it works fine but if I add them into the sheet is gives a DTW error "invalid account code application-defined or object-defined error 65171".
I have tried to add BP code to shortname and add contra account.
Please any help would be appreciated.
Regards
Lou van WykWelcome to SAP forum Lou...
I do not know about 8.8 Journal vouchers, but some time ago we were importing with BP codes and we ran into a somewhat similar situation. I believe we had to format the BP codes to Text in Excel before saving the file to CSV.
Another time I was working with an individual who had not set up two BP Master Data records before doing transactions like it states in SAP's User Guide titled Data Migration and Opening Balances...
Maybe that helps?
Regards,
Zal -
Hi Gurus
Can I dislose the company code and other codes like Business area, sales organisation etc of my previous project to the interviewer?
Thanks gurushi,
infact its better you tell how those things have been configured so that they understand how much you know and how the naming conventions were followed.
Everything can be talked as long as its in the premise of professionalism and work.
Thanks
Sadhu Kishore -
Feching Eccn code and HTS code from GTS to ECC
Hi Gurus,
I am extending a standard delivery idoc (DELVRY05) for some of the header and items fields.
i have tried to pull them throgh the FM /SAPSLL/***_DOCS_SD0C_GET_R3 i have passed the sales order number, item number and VBTYP to this FM to pull the Eccn code and HTS code.but all the tables are containing the zero entries.
Please help me. i have to populate the ECCN code and HTS code at the item level in my EXTENDED (Z)DELVRY05 idoc.
I have the SO number POSNR and material with me in the program.Hi All,
I am now fetching the ECCN code and HTS code as beow:
You need to write an RFC enabled function module in GTS system, and then call this FM from ECC6.0 passing the RFC destination with help of the FM: /SAPSLL/CD_ALE_RECEIVER_GET_R3.
Call the FM as below:
Coding in ECC 6.0.
data: lv_rfc_dest TYPE bdibapi_dest-rfc_dest.
clear : w_so.
w_so-vbeln = w_e1edl24-vgbel." It can be the SO number or the delivery number which will be passed to the RFC ZFM to GTS to fetch the ECCN and HTS code.
append w_so to t_so .
clear: w_so.
CALL FUNCTION '/SAPSLL/CD_ALE_RECEIVER_GET_R3'
IMPORTING
ev_rfc_dest = lv_rfc_dest.
IF lv_rfc_dest IS NOT INITIAL.
CALL FUNCTION 'ZS_HS_ECCN_SCHB_COPY'
DESTINATION lv_rfc_dest
EXPORTING
PRVSY = <fs_lips>-matnr
IMPORTING
ECCN = lv_eccn
HSCODE = lv_stawn
TABLES
REFNO = t_so
EXCEPTIONS
systen_error = 1
connection_failure = 2.
Lv_eccn and Lv_Stawn contains the ECCN and HTS code.
Coding of the ZFM in GTS:
Note: tables parameter of FM RefNo is optional, where as the material number is mandatory parameter for the FM.
FUNCTION ZS_HS_ECCN_SCHB_COPY.
*"*"Local Interface:
*" IMPORTING
*" VALUE(PRVSY) TYPE /SAPSLL/PRVSY
*" EXPORTING
*" VALUE(ECCN) TYPE /SAPSLL/CCNGN
*" VALUE(HSCODE) TYPE /SAPSLL/CCNGN
*" VALUE(SCHB) TYPE /SAPSLL/CCNGN
*" VALUE(RADIO) TYPE /SAPSLL/CCNGN
*" VALUE(RADIO_ECCN) TYPE /SAPSLL/CCNGN
*" VALUE(TEXT) TYPE /SAPSLL/TEXT60
*" TABLES
*" REFNO STRUCTURE /SAPSLL/API6800_DLN_LC_S OPTIONAL
DATA:lv_prtyp TYPE /sapsll/prtyp VALUE '01'.
DATA: lv_rptdt TYPE /sapsll/rptdt.
DATA:lr_datab TYPE /sapsll/rptst_r_t,
lr_datbi TYPE /sapsll/rptet_r_t.
TYPES : BEGIN OF s_pr,
guid_pr TYPE /sapsll/guid_16,
END OF s_pr.
DATA: w_pr TYPE s_pr.
DATA: t_pr TYPE STANDARD TABLE OF s_pr.
TYPES : BEGIN OF s_hscode,
guid_ctsnum TYPE /sapsll/guid_16,
stcts TYPE /sapsll/stcts,
datbi TYPE /sapsll/rptet,
datab TYPE /sapsll/rptst,
END OF s_hscode.
TYPES : BEGIN OF s_corref,
GUID_POBJ TYPE /SAPSLL/CORREF-GUID_POBJ,
REFNO TYPE /SAPSLL/CORREF-REFNO ,
end of s_corref.
TYPES: begin of s_cuit,
GUID_CUHD TYPE /SAPSLL/CUIT-GUID_CUHD,
GUID_PR TYPE /SAPSLL/CUIT-GUID_PR,
CTYDP TYPE /SAPSLL/CUIT-CTYDP,
end of s_cuit.
TYPES : BEGIN OF s_t606g,
LGREG TYPE /SAPSLL/T606G-LGREG,
GGLND TYPE /SAPSLL/T606G-GGLND,
end of s_t606g.
TYPES : BEGIN OF s_TLEGSU ,
LGREG TYPE /SAPSLL/TLEGSU-LGREG ,
CTSEX TYPE /SAPSLL/TLEGSU-CTSEX,
end of s_TLEGSU .
TYPES : BEGIN OF s_ctsnum,
GUID_CTSNUM TYPE /SAPSLL/ctsnum-GUID_CTSNUM ,
STCTS TYPE /SAPSLL/ctsnum-STCTS ,
CCNGN TYPE /SAPSLL/ctsnum-CCNGN ,
END OF s_ctsnum.
DATA: w_hscode TYPE s_hscode.
DATA: t_hscode TYPE STANDARD TABLE OF s_hscode,
t_corref TYPE STANDARD TABLE OF s_corref,
t_cuit TYPE STANDARD TABLE OF s_cuit,
t_t606g TYPE STANDARD TABLE OF s_t606g,
t_tlegsu TYPE STANDARD TABLE OF s_tlegsu,
t_ctsnum TYPE STANDARD TABLE OF s_ctsnum,
w_ctsnum TYPE s_ctsnum,
w_tlegsu TYPE s_tlegsu,
w_cuit TYPE s_cuit,
lv_refno TYPE /sapsll/corref-refno,
t_refno type STANDARD TABLE OF /SAPSLL/API6800_DLN_LC_S,
w_refno TYPE /SAPSLL/API6800_DLN_LC_S.
TYPES : BEGIN OF s_eccn,
ccngn TYPE /sapsll/ccngn,
guid_ctsnum TYPE /sapsll/guid_16,
END OF s_eccn.
DATA: lv_pname TYPE sy-repid,
t_ztuhcd1 type STANDARD TABLE OF ztuhcd1,
w_ztuhcd1 type ztuhcd1.
CONSTANTS: c_eccn TYPE char7 VALUE 'ECCN',
c_HSCODE TYPE char7 value 'HSCODE'.
DATA: w_eccn TYPE s_eccn.
DATA: t_eccn TYPE STANDARD TABLE OF s_eccn.
DATA: w_radio TYPE s_eccn.
DATA: t_radio TYPE STANDARD TABLE OF s_eccn.
DATA:w_text TYPE /sapsll/text60.
REFRESH: t_pr,t_hscode,t_eccn,t_radio,lr_datbi,lr_datab, t_cuit,t_t606g,t_tlegsu,t_ctsnum.
CLEAR: t_pr,t_hscode,t_eccn,w_radio,hscode,eccn,schb,lr_datbi,lr_datab,lv_rptdt,w_ctsnum,w_tlegsu.
GET TIME STAMP FIELD lv_rptdt.
*BREAK-POINT.
CALL FUNCTION '/SAPSLL/VALID_RANGES_PREPARE'
EXPORTING
iv_rptdt = lv_rptdt
iv_option = 'LT'
IMPORTING
er_datab = lr_datab
er_datbi = lr_datbi.
CALL FUNCTION 'CONVERSION_EXIT_SLLPR_INPUT'
EXPORTING
input = prvsy
IMPORTING
output = prvsy.
SELECT guid_pr
INTO TABLE t_pr
FROM /sapsll/pntpr
WHERE grvsy = 'LSG_ECC'
AND prvsy = prvsy
AND prtyp = lv_prtyp.
if refno[] is initial.
IF NOT t_pr[] IS INITIAL.
SELECT guid_ctsnum
stcts
datbi
datab
INTO TABLE t_hscode
FROM /sapsll/prcts
FOR ALL ENTRIES IN t_pr
WHERE guid_pr = t_pr-guid_pr
AND stcts IN ('US_HTS','EARECCN','US_SCHB','NRC_SCHB', 'NRCECCN')
AND datbi IN lr_datbi[]
AND datab IN lr_datab[].
ENDIF.
IF NOT t_hscode[] IS INITIAL.
SELECT ccngn
guid_ctsnum
INTO TABLE t_eccn
FROM /sapsll/ctsnum
FOR ALL ENTRIES IN t_hscode
WHERE guid_ctsnum = t_hscode-guid_ctsnum.
ENDIF.
LOOP AT t_eccn INTO w_eccn.
READ TABLE t_hscode INTO w_hscode WITH KEY guid_ctsnum = w_eccn-guid_ctsnum.
IF sy-subrc = 0.
IF w_hscode-stcts = 'US_HTS'.
hscode = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'EARECCN'.
eccn = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'US_SCHB'.
schb = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'NRC_SCHB'.
radio = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'NRCECCN'.
radio_eccn = w_eccn-ccngn.
ENDIF.
IF NOT radio IS INITIAL OR
NOT radio_eccn IS INITIAL .
SELECT SINGLE text
INTO w_text
FROM /sapsll/ctsnumt
WHERE guid_ctsnum = w_hscode-guid_ctsnum
AND ctstt = 'F'
AND langu = 'EN'.
IF sy-subrc = 0.
text = w_text.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
Else.
IF NOT t_pr[] IS INITIAL.
SELECT guid_ctsnum
stcts
datbi
datab
INTO TABLE t_hscode
FROM /sapsll/prcts
FOR ALL ENTRIES IN t_pr
WHERE guid_pr = t_pr-guid_pr
AND datbi IN lr_datbi[]
AND datab IN lr_datab[].
endif.
read table refno into w_refno index 1.
if sy-subrc eq 0.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = w_refno-refno
IMPORTING
OUTPUT = lv_refno.
endif.
select GUID_POBJ
REFNO
from /sapsll/corref into TABLE t_corref
where REFNO = lv_REFNO.
if t_corref is not initial.
select GUID_CUHD
GUID_PR
CTYDP
from /sapsll/cuit into table t_cuit
for all entries in t_corref
where GUID_CUHD = t_corref-GUID_POBJ.
endif.
if t_cuit is not initial .
select LGREG GGLND from /SAPSLL/T606G
into table t_T606G
for all entries in t_cuit
where GGLND = t_cuit-CTYDP.
endif.
if t_T606G is not initial.
select LGREG
CTSEX from /SAPSLL/TLEGSU
into TABLE t_TLEGSU
FOR ALL ENTRIES IN t_T606G
where LGREG = t_T606G-LGREG.
endif.
if t_hscode[] is not INITIAL.
select GUID_CTSNUM
STCTS
CCNGN
from /SAPSLL/CTSNUM
into TABLE t_CTSNUM FOR ALL ENTRIES IN t_hscode
where GUID_CTSNUM = t_hscode-GUID_CTSNUM .
endif.
REFRESH: t_ztuhcd1.
CLEAR: t_ztuhcd1,w_ztuhcd1.
* loop at t_TLEGSU into w_TLEGSU.
READ TABLE t_cuit INTO w_cuit index 1.
lv_pname = sy-repid.
* To retrive all the hard coded values
w_ztuhcd1-name = c_eccn.
* w_ztuhcd1-field = c_eccn.
w_ztuhcd1-zkey = w_cuit-ctydp.
APPEND w_ztuhcd1 TO t_ztuhcd1.
CLEAR: w_ztuhcd1,lv_pname.
* To retrive all the hard coded values
CALL FUNCTION 'Z_UHARD_CODE_VALUE'
TABLES
t_ztuhcd1 = t_ztuhcd1
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
if sy-subrc eq 0.
loop at t_ztuhcd1 into w_ztuhcd1 .
read table t_CTSNUM into w_CTSNUM with key STCTS = w_ztuhcd1-low.
if sy-subrc eq 0.
eccn = w_CTSNUM-CCNGN.
endif.
endloop.
endif.
REFRESH: t_ztuhcd1.
CLEAR: t_ztuhcd1,w_ztuhcd1.
* lv_pname = sy-repid.
* To retrive all the hard coded values
w_ztuhcd1-name = c_HSCODE.
* w_ztuhcd1-field = c_HSCODE.
w_ztuhcd1-zkey = w_cuit-ctydp.
APPEND w_ztuhcd1 TO t_ztuhcd1.
CLEAR w_ztuhcd1.
* To retrive all the hard coded values
CALL FUNCTION 'Z_UHARD_CODE_VALUE'
TABLES
t_ztuhcd1 = t_ztuhcd1
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
if sy-subrc eq 0.
loop at t_ztuhcd1 into w_ztuhcd1 .
read table t_CTSNUM into w_CTSNUM with key STCTS = w_ztuhcd1-low.
if sy-subrc eq 0.
HSCODE = w_CTSNUM-CCNGN.
endif.
endloop.
endif.
endif.
ENDFUNCTION. -
Case created without business partner, reason code and result code
In our CRM system, some cases was created without business partner, reason code and result code.
We created some customer functions to make these fields as mandatory, it always work for our technique people and process expert, but it didn't work for some users occasionally. We cannot debug it.
Can anyone tell me why and how to solve it?
Please help me !
Regards,
ShirleyHello Shirley,
Well, then I would check the code, which calls your custom function modules.
It may be possible, that you have an IF in the 'Main' program, which makes it possible to skip the custom FM for these users.
The reason I am assuming this, is that normally you need just to change attributes for a field to make it mandatory, or customizing like SHD0 makes this possible. If you use custom FM, you have to call them somewhere and this is the point I would be looking for.
Check the traces for the users and you should find, that the custom FM are not called for them.
My opinion, of course
Award points if this helps.
Regards,
Martin Kuma
Maybe you are looking for
-
How to set a delay on Autocomplete component?
How to set a delay on Autocomplete component so that the completion method will only be invoked when users stop typing for some time. Otherwise, there are too many unnecessary server requests.
-
Making a button appear on a track
I've searched here and in the manual but I'm not sure I'm searching for the right thing. How can I make a button appear within a stream so the user can link back to a menu? puzzled..... Thanks
-
WRT160N Won't Connect With Windows Mobile Device
I had another wireless router for years that connected almost instantly to my Windows Mobile 6.1 handheld device. I switched to the WRT160N and it works great with my wireless laptops. The device does not even show up in my available device lists o
-
My MBP shuts down or sleeps (?) when I close the lid
Hi Forgive me if this is a stupid question, but I haven't been able to solve it on my own by investigating, asking others og reading this forum. My MBP from late 2007 has recently started to shut down/sleep (or maybe even "hibernate" - not sure which
-
How to incorporate one VI into the other VI
HeLLO Everyone I am working on this VI, in which I need to incorporate other VI, have to use the second VI as a part of the first VI. How to work on connector pane, how to connect terminals and so on. thanks srinath