We required TDS details of vendor deducted billwise as well as
Dear Experts..
My client wanted to get details (WHT- Billwise as well as Vendor wise ).
There is one standared t-code J1INMIS which will give us the report (posting date/Vendor/WHT key wise). If they want to get report in production it will take tomuch of time and some times it's goes dump also due to huge data.
Here my question is : Is there any other T-code which will give us the Billwise and vendorwise WHT line items apart from J1INMIS ???
Thanks for your kind support.
Thanks,
Siva Reddy
Hi,
J1INMIS - Enter the value thro' Posting Period wise (ex: Enter 01.11.2011 to 28.11.2011) and select the First Vendor Code to Last Vendor Code. In Report Selection > select Consolidated Report and execute - It gives the Vendor wise details.
Hope it may useful to you. Please check.
Regards,
GB
Similar Messages
-
Tds details of vendor coming but not business area.
Hi Experts,
I am making a report to display vendor data with its TDS details in accounting documents.
I am getting all the data from other tables rather 1 table BSEG, which is a cluster table. I need to retrieve business are from BSEG i.e. (BSEG-GSBER).
I am using another select query for this, but when i put debugger at loop of business are, it is showing the data, but in alv display it is not showing business area.
Hence i need your help on that.
Please go through the program code given below.
Thanks,
Deepanshu Mathur
TABLES: BSEG,BKPF,WITH_ITEM,T059Z,T059ZT,LFA1.
DATA: BEGIN OF ITAB OCCURS 0,
BELNR LIKE BKPF-BELNR, " Accounting Document Number
GJAHR LIKE BKPF-GJAHR, " Fiscal Year
BUKRS LIKE BKPF-BUKRS, " Company Code
BLDAT LIKE BKPF-BLDAT, " Document Date in Document
BUDAT LIKE BKPF-BUDAT, " Posting Date in the Document
LIFNR LIKE BSEG-LIFNR, " Account Number of Vendor or Creditor
GSBER LIKE BSEG-GSBER, " Business Area
WT_QSSHH LIKE WITH_ITEM-WT_QSSHH, " Withholding tax base amount (local currency)
WT_QBSHH LIKE WITH_ITEM-WT_QBSHH, " Withholding tax amount (in local currency)
WITHT LIKE WITH_ITEM-WITHT, " Indicator for withholding tax type
WT_WITHCD LIKE WITH_ITEM-WT_WITHCD, " Withholding tax code
QSCOD LIKE T059Z-QSCOD, " Official Withholding Tax Key
QSATZ LIKE T059Z-QSATZ, " Withholding tax rate
NAME1 LIKE LFA1-NAME1, " vendor name
LAND1 LIKE LFA1-LAND1, " Country Key
TEXT40 LIKE T059ZT-TEXT40, " Text, 40 Characters Long
WAERS LIKE BKPF-WAERS, " Currency
WT_ACCO LIKE WITH_ITEM-WT_ACCO,
END OF ITAB.
DATA: BEGIN OF LT_BSEG OCCURS 0,
BELNR LIKE BSEG-BELNR, " Accounting Document Number
GJAHR LIKE BSEG-GJAHR, " Fiscal Year
BUKRS LIKE BSEG-BUKRS, " Company Code
LIFNR LIKE BSEG-LIFNR, " Account Number of Vendor or Creditor
GSBER LIKE BSEG-GSBER, " Business Area
END OF LT_BSEG.
SELECTION-SCREEN: BEGIN OF BLOCK FRAME WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: COCO FOR BKPF-BUKRS,
DOC_DATE FOR BKPF-BLDAT,
POST_DAT FOR BKPF-BUDAT,
FIS_YEAR FOR BKPF-GJAHR.
SELECTION-SCREEN: END OF BLOCK FRAME.
TYPE-POOLS:slis.
DATA: body TYPE slis_t_fieldcat_alv,
header TYPE slis_fieldcat_alv,
gd_layout TYPE slis_layout_alv,
gd_repid LIKE sy-repid.
START-OF-SELECTION.
PERFORM FETCH.
END-OF-SELECTION.
*& Form FETCH
* text
* --> p1 text
* <-- p2 text
FORM FETCH .
SELECT
BKPF~BELNR BKPF~GJAHR BKPF~BUKRS BKPF~BLDAT BKPF~BUDAT BKPF~WAERS
WITH_ITEM~BELNR WITH_ITEM~GJAHR WITH_ITEM~BUKRS WITH_ITEM~WT_QSSHH WITH_ITEM~WT_QBSHH WITH_ITEM~WITHT
WITH_ITEM~WT_WITHCD WITH_ITEM~WT_ACCO
LFA1~LIFNR LFA1~NAME1 LFA1~LAND1
T059Z~WITHT T059Z~WT_WITHCD T059Z~QSCOD T059Z~QSATZ
T059ZT~WITHT T059ZT~TEXT40 T059ZT~WT_WITHCD
INTO CORRESPONDING FIELDS OF TABLE ITAB FROM BKPF
JOIN WITH_ITEM ON WITH_ITEM~BELNR = BKPF~BELNR AND
WITH_ITEM~GJAHR = BKPF~GJAHR AND
WITH_ITEM~BUKRS = BKPF~BUKRS AND
WITH_ITEM~WT_QSSHH NE ' ' AND WITH_ITEM~WT_QBSHH NE ' '
JOIN LFA1 ON LFA1~LIFNR = WITH_ITEM~WT_ACCO
JOIN T059Z ON T059Z~WITHT = WITH_ITEM~WITHT AND T059Z~WT_WITHCD = WITH_ITEM~WT_WITHCD
JOIN T059ZT ON T059ZT~WITHT = WITH_ITEM~WITHT AND T059ZT~WT_WITHCD = WITH_ITEM~WT_WITHCD
WHERE
BKPF~BUKRS IN COCO AND
BKPF~BLDAT IN DOC_DATE AND
BKPF~BUDAT IN POST_DAT AND
BKPF~GJAHR IN FIS_YEAR.
SELECT
BELNR GJAHR BUKRS LIFNR GSBER
FROM BSEG
INTO CORRESPONDING FIELDS OF TABLE LT_BSEG
FOR ALL ENTRIES IN ITAB
WHERE BELNR = ITAB-BELNR AND GJAHR = ITAB-GJAHR AND BUKRS = ITAB-BUKRS AND LIFNR NE ' ' .
IF SY-SUBRC EQ 0.
SORT ITAB BY BLDAT BELNR.
LOOP AT LT_BSEG WHERE BELNR = ITAB-BELNR AND GJAHR = ITAB-GJAHR AND BUKRS = ITAB-BUKRS AND LIFNR NE ' '.
IF ( LT_BSEG-BELNR = ITAB-BELNR AND LT_BSEG-GJAHR = ITAB-GJAHR AND LT_BSEG-BUKRS = ITAB-BUKRS AND
LT_BSEG-LIFNR NE ' ').
MOVE LT_BSEG-GSBER TO ITAB-GSBER.
ENDIF.
APPEND ITAB.
ENDLOOP.
PERFORM BUILD_LAYOUT.
PERFORM FIELDCATALOG.
PERFORM ALVDISPLAY.
ELSE.
MESSAGE 'DATA NOT FOUND !' TYPE 'I'.
ENDIF.
ENDFORM.
*& Form BUILD_LAYOUT
* text
* --> p1 text
* <-- p2 text
FORM BUILD_LAYOUT .
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-info_fieldname = 'WS_COLOR'.
gd_LAYOUT-coltab_fieldname = 'CELL_COLOR'.
ENDFORM. " BUILD_LAYOUT
*& Form FIELDCATALOG
* text
* --> p1 text
* <-- p2 text
FORM FIELDCATALOG .
header-col_pos = '1'.
header-tabname = 'ITAB'.
header-fieldname = 'BLDAT'.
header-seltext_l = 'Doc. Date'.
header-just = 'C'.
APPEND header TO body.
CLEAR header.
header-col_pos = '2'.
header-tabname = 'ITAB'.
header-fieldname = 'BUDAT'.
header-seltext_l = 'Posting Date'.
header-just = 'C'.
APPEND header TO body.
CLEAR header.
header-col_pos = '3'.
header-tabname = 'ITAB'.
header-fieldname = 'GJAHR'.
header-seltext_l = 'Fiscal Year'.
header-just = 'C'.
APPEND header TO body.
CLEAR header.
header-col_pos = '4'.
header-tabname = 'ITAB'.
header-fieldname = 'BUKRS'.
header-seltext_l = 'Company Code'.
header-just = 'C'.
APPEND header TO body.
CLEAR header.
header-col_pos = '5'.
header-tabname = 'ITAB'.
header-fieldname = 'GSBER'.
header-ref_tabname = 'BSEG'.
header-ref_fieldname = 'GSBER'.
header-just = 'L'.
APPEND header TO body.
CLEAR header.
header-col_pos = '6'.
header-tabname = 'ITAB'.
header-fieldname = 'BELNR'.
header-seltext_l = 'Doc. No.'.
header-ref_tabname = 'WITH_ITEM'.
header-ref_fieldname = 'BELNR'.
header-just = 'L'.
APPEND header TO body.
CLEAR header.
header-col_pos = '7'.
header-tabname = 'ITAB'.
header-fieldname = 'LIFNR'.
header-seltext_l = 'Vendor'.
header-ref_tabname = 'LFA1'.
header-ref_fieldname = 'LIFNR'.
APPEND header TO body.
CLEAR header.
header-col_pos = '8'.
header-tabname = 'ITAB'.
header-fieldname = 'NAME1'.
header-seltext_l = 'Vendor Name'.
APPEND header TO body.
CLEAR header.
header-col_pos = '9'.
header-tabname = 'ITAB'.
header-fieldname = 'LAND1'.
header-seltext_l = 'Country'.
header-ref_tabname = 'LFA1'.
header-ref_fieldname = 'LAND1'.
header-just = 'C'.
APPEND header TO body.
CLEAR header.
header-col_pos = '10'.
header-tabname = 'ITAB'.
header-fieldname = 'WITHT'.
header-seltext_l = 'Withholding Tax Type'.
header-ref_tabname = 'WITH_ITEM'.
header-ref_fieldname = 'WITHT'.
header-just = 'L'.
APPEND header TO body.
CLEAR header.
header-col_pos = '11'.
header-tabname = 'ITAB'.
header-fieldname = 'WT_WITHCD'.
header-seltext_l = 'Withholding Tax Code'.
header-ref_tabname = 'WITH_ITEM'.
header-ref_fieldname = 'WT_WITHCD'.
header-just = 'L'.
APPEND header TO body.
CLEAR header.
header-col_pos = '12'.
header-tabname = 'ITAB'.
header-fieldname = 'QSCOD'.
header-seltext_l = 'Tax Key'.
header-ref_tabname = 'T059Z'.
header-ref_fieldname = 'QSCOD'.
header-just = 'L'.
APPEND header TO body.
CLEAR header.
header-col_pos = '13'.
header-tabname = 'ITAB'.
header-fieldname = 'TEXT40'.
header-seltext_l = 'Section Code'.
header-ref_tabname = 'T059ZT'.
header-ref_fieldname = 'TEXT40'.
header-just = 'L'.
APPEND header TO body.
CLEAR header.
header-col_pos = '14'.
header-tabname = 'ITAB'.
header-fieldname = 'WAERS'.
header-seltext_l = 'Currency'.
header-just = 'C'.
APPEND header TO body.
CLEAR header.
header-col_pos = '15'.
header-tabname = 'ITAB'.
header-fieldname = 'WT_QSSHH'.
header-seltext_l = 'TDS Base Amount'.
header-ref_tabname = 'WITH_ITEM'.
header-ref_fieldname = 'WT_QSSHH'.
header-do_sum = 'X'.
header-just = 'R'.
APPEND header TO body.
CLEAR header.
header-col_pos = '16'.
header-tabname = 'ITAB'.
header-fieldname = 'QSATZ'.
header-seltext_l = 'TDS Tax Rate'.
header-just = 'R'.
APPEND header TO body.
CLEAR header.
header-col_pos = '17'.
header-tabname = 'ITAB'.
header-fieldname = 'WT_QBSHH'.
header-seltext_l = 'TDS Amount'.
header-ref_tabname = 'WITH_ITEM'.
header-ref_fieldname = 'WT_QBSHH'.
header-do_sum = 'X'.
header-just = 'R'.
APPEND header TO body.
CLEAR header.
ENDFORM. " FIELDCATALOG
*& Form ALVDISPLAY
* text
* --> p1 text
* <-- p2 text
FORM ALVDISPLAY .
gd_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
IS_LAYOUT = gd_layout
IT_FIELDCAT = body
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALVDISPLAY
Form TOP_OF_PAGE.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
* Title
wa_header-typ = 'H'. " H = Header
wa_header-info = 'TDS Report'.
append wa_header to t_header.
clear wa_header.
* Date
wa_header-typ = 'S'. " S = Selection
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
* Total No. of Records Selected
describe table ITAB lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'. " A = Action
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
* i_logo = 'Z_LOGO'.
endform. "top-of-pageHi,
Try Below code.
1) your code is very bad I am not sure whether it will work or not because it has inner join queries on many tables.
2) I made certain changes, please check the data selection part as below
SELECT bkpf~belnr bkpf~gjahr bkpf~bukrs bkpf~bldat bkpf~budat bkpf~waers with_item~belnr
with_item~gjahr with_item~bukrs with_item~wt_qsshh
with_item~wt_qbshh with_item~witht with_item~wt_withcd with_item~wt_acco lfa1~lifnr
lfa1~name1 lfa1~land1 t059z~witht t059z~wt_withcd t059z~qscod
t059z~qsatz t059zt~witht t059zt~text40 t059zt~wt_withcd
INTO CORRESPONDING FIELDS OF TABLE itab
FROM bkpf
INNER JOIN with_item ON with_item~belnr = bkpf~belnr AND with_item~gjahr = bkpf~gjahr
AND with_item~bukrs = bkpf~bukrs AND with_item~wt_qsshh NE ' '
AND with_item~wt_qbshh NE ' '
INNER JOIN lfa1 ON lfa1~lifnr = with_item~wt_acco
INNER JOIN t059z ON t059z~witht =
with_item~witht AND t059z~wt_withcd = with_item~wt_withcd
INNER JOIN t059zt ON t059zt~witht = with_item~witht AND t059zt~wt_withcd = with_item~wt_withcd
WHERE bkpf~bukrs IN coco AND bkpf~bldat IN doc_date
AND bkpf~budat IN post_dat AND bkpf~gjahr IN fis_year.
IF itab[] IS NOT INITIAL.
SELECT belnr gjahr bukrs lifnr gsber FROM bseg
INTO CORRESPONDING FIELDS OF TABLE lt_bseg
FOR ALL ENTRIES IN itab
WHERE belnr = itab-belnr
AND gjahr = itab-gjahr AND bukrs = itab-bukrs
AND lifnr NE ' ' .
IF sy-subrc EQ 0.
SORT itab BY bldat belnr.
* LOOP AT lt_bseg WHERE belnr = itab-belnr AND
* gjahr = itab-gjahr AND bukrs = itab-bukrs AND lifnr NE ' '.
* IF ( lt_bseg-belnr = itab-belnr AND lt_bseg-gjahr = itab-gjahr
* AND lt_bseg-bukrs = itab-bukrs AND lt_bseg-lifnr NE ' ').
* MOVE lt_bseg-gsber TO itab-gsber.
* ENDIF.
* APPEND itab.
* ENDLOOP.
LOOP AT itab.
READ TABLE lt_bseg
WITH KEY belnr = itab-belnr
gjahr = itab-gjahr
bukrs = itab-bukrs.
MOVE lt_bseg-gsber TO itab-gsber.
MODIFY itab.
CLEAR :lt_bseg,itab.
ENDLOOP.
PERFORM build_layout. PERFORM fieldcatalog. PERFORM alvdisplay.
ELSE.
MESSAGE 'DATA NOT FOUND !' TYPE 'I'.
ENDIF.
ENDIF. -
Pls guide me how to enter the TDS related to Vendor master, where i have to enter and what is its Effect??
I have created the new account group for Service vendors.Hi,
In With holding Tax Country you can put the TDS related details for The vendor.
Regards,
Manish Jain -
hi TO ALL,
Can u tell me "regarding TDS" step by step procedure in CIN area?
How can i list out TDS vendor?
Regards
kaviCalculate Tax Deducted at Source
Use
You use this program to calculate withholding tax on vendor invoices.
It you have already posted a down payment for an invoice and withheld tax on it, the system automatically takes the tax already paid into account.
To access the program, from the SAP Easy Access screen, choose Accounting → Financial Accounting → Accounts Payable → Withholding Tax → India → Withholding Tax → Tax Deduction at Source: Classic.
Prerequisites
You have already entered the invoices and the down payments.
Features
Selection
On the selection screen, enter the following data:
�� Run Program in Test Mode
We recommend that you first run the program in test mode, then once you are satisfied with the results, in update mode.
�� Process Invoices Only Select this if you want to post TDS for a specific invoice. It speeds up the response time.
�� TDS Date
This is the posting date that the system enters in the TDS document (update mode only).
Output
The system displays a list of invoices and specifies whether there are any down payments to be cleared against them.
Activities
In the output list, you can clear an invoice against a down payment as follows:
1. Position the cursor on the invoice that you want to clear the down payment against and choose
2. Select the down payment that you want to clear.
3. Save the down payment.
The system:
�� Creates an accounting document to clear the down payment and reduce the vendor liability
�� Recalculates the withholding tax base amount and the withholding tax amount, based on the amount of the down payment against which the invoice was cleared.
You can also clear invoices against down payments by first taking a list of all the invoices listed
above by choosing . You can then clear them by choosing Financial Accounting → Accounts
Payable → Document Entry → Down Payment → Clearing, and then clear each invoice one by one.
By clicking on the document numbers, you can display the document of the TDS posting.
You will have to make a manual FI posting to transfer the amounts from the respective withholding tax accounts (as defined in the withholding tax line items) to the TDS government payable vendor account. To make the payment to the TDS government payable vendor account, from the SAP Easy Access screen, choose Accounting → Financial Accounting → Accounts Payable → Document Entry → Outgoing Payment → Post.
Handling of Credit Memos
Use
This procedure shows you what happens if you post a credit memo against a vendor invoice. If you have already remitted the TDS from the invoice, the credit memo against that invoice is not considered at all for processing. Otherwise, the system calculates TDS for the amount stated on the credit memo and debits it from the TDS payable account.
Procedure
1. You post a credit memo, entering with the invoice number as the reference number.
2. You post the TDS in test mode.
The system displays a message, telling you to run the program in update mode.
3. You post the TDS in update mode.
The system makes the appropriate posting and displays the number of the credit memo along with the TDS posting document.
Making Down Payments on Invoices Where TDS Has Been Calculated
Use
If you have withheld TDS on an invoice but not yet remitted it to the government, and the invoice needs to be
cleared against a down payment, you have to adjust the tax amount accordingly.
Prerequisites
You have posted the invoice and the TDS document has been created.
Procedure
1. Clear the down payment against the invoice using the standard clearing transaction.
2. The next time you run the TDS posting program in update mode, the system makes a posting to correct the TDS, by debiting the G/L account associated with the entered tax code. It also displays the numbers of the down payment clearing document and the TDS document.
Reversing TDS Postings
Use
If you reverse an invoice or down payment that you have already calculated TDS on, you also have to reverse the TDS postings.
Procedure
When you reverse a down payment in the standard, the system automatically reverses the TDS posting. Whenyou reverse an invoice, the system reverses the TDS posting the next time you run the TDS report in update mode.
Remittance Challans
Use
When you have remitted the deducted TDS to the government, you are sent a bank challan confirming that payment has been received. The system allows you to record the number of the challan in the invoices from which the TDS had been deducted and paid. You can also use this function to change the challan number or date later on, if necessary.
Features
To access this report, from the SAP Easy Access screen, choose Accounting → Financial Accounting →
Accounts Payable → Withholding Tax → India → Withholding Tax → Enter Remittance Challans.
Selection
The system displays the transactions on which you have withheld TDS. You select the transactions for which you
have remitted the TDS, enter the challan details. The system then records the challan number in each of the
transactions.
If you need to change a challan number or date, enter the challan number and date that is to be changed.
The actual TDS amount and the surcharge on this TDS amount are shown separately.
To handle cases where the company needs to have many TAN numbers, you can enter the TAN number when you update the challan number. This number will be used subsequently for the certificates.
Print Certificates
Use
You use this program to print TDS certificates for your vendors (individually or in batches). It covers the TDS in all the invoices and down payments that you have posted over a specified period.
To access the program, from the SAP Easy Access screen, choose Accounting → Financial Accounting →
Accounts Payable → Withholding Tax → India → Withholding Tax → Certificates → Print → Vendors.
There is a separate print program for one-time vendors, which you can access from the SAP Easy
Access screen, by choosing Accounting → Financial Accounting → Accounts Payable →
Withholding Tax → India → Withholding Tax → Certificates → Print → One-Time Vendors.
Prerequisites
You have already remitted the TDS to the government and recorded the challan number in the transactions concerned (see Update of Challans). Only transactions with a challan number can be included in certificates.
The certificate printing program uses SAPscript form J_1ITDSCERT. If there are some changes in the certificate format this layout set can be changed accordingly.
If the certificates are to be divided by business area, with a unique number range per business area, you must have maintained the sections as a combination of section and business area, so for business area 0001 and section 194C, you could maintain the section as 194C0001, for example.
Features
Selection
Enter data as required, including:
�� The dates of the transactions that are to be covered in the certificate
�� Withholding tax section
If you enter the business area in combination with the section, it must also be used in all other
transactions involving this certificate, including annual returns.
Output
If you select the preview option, the system displays a certificate without any certificate number. The number will
be assigned only when the certificate is actually printed directly (not from the print preview).
A summary of all the certificates is printed at the end, summarized by certificate and challan number.
Reprint Certificates
Use
You use this program to reprint TDS certificates.
To access the program, from the SAP Easy Access screen, choose Accounting → Financial Accounting →
Accounts Payable → Withholding Tax → India → Withholding Tax → Certificates → Reprint.
Features
Selection
On the selection screen, enter the numbers of the certificates that you want to reprint and the details of the signatory.
Output
The system prints the certificates. Each certificate is marked as a duplicate.
Cancel Certificates
Use
You use this program to cancel TDS certificates.
To access the program, from the SAP Easy Access screen, choose Accounting → Financial Accounting →
Accounts Payable → Withholding Tax → India → Withholding Tax → Certificates → Cancel.
Features
Selection
Enter data as required, including the number of the certificate that you want to cancel.
Output
The system marks the certificate as canceled. It does not delete it from the database.
Archiving of TDS Documents
Use
You use these functions to archive documents for tax deducted at source (TDS). For more information about
archiving, see Introduction to Data Archiving.
Prerequisites
Before you can archive this data, you must have archived the related data form Financial Accounting (FI) and
Material Management (MM).
Features
The TDS documents are archived using archiving object J_1ITDS, which is supplied with Country Version India
(CIN). It is used for archiving the data in tables J_1ITDS and J_1ICERTIF.
Once you have archived the TDS documents, you must delete the originals from the database. Once you have deleted the originals, you can reload them from the archive file. Finally, you can also analyze them.
Archiving TDS Documents
1. From the SAP Easy Access screen, choose Accounting → Financial Accounting → Accounts Payable → Withholding Tax → India → Withholding Tax → Utilities → Archive Documents.
In the Object Name field, the system displays the name of the archiving object, J_1ITDS.
2. Choose Archive.
3. Enter data as follows:
�� Variant
Enter the report variant that you want to use. You can create a variant if you need to.
�� User Name
Enter the name of user who will archive the data.
4. To specify when to start the report, choose Start Date.
5. To enter the print parameters, choose Spool Params.
6. Choose .
Creating an Archive Report Variant
1. Choose Maintain.
2. Enter a variant name of your choice.
3. Choose Create.
4. Specify which certificates you want to archive and enter other data as required:
�� Create
Specifies that the program will run in update mode.
�� Delete in test mode
Select this for test runs.
�� Package
Enter the optimum package size.
�� Comments
Enter any comments for your own reference.
5. Choose Attributes.
6. Enter data as required.
7. Save the variant.
8. Go back to the Archive Management: Create Archive Files screen.
Deleting TDS Documents
1. From the SAP Easy Access screen, choose Accounting → Financial Accounting → Accounts Payable → Withholding Tax → India → Withholding Tax → Utilities → Archive Documents.
In the Object Name field, the system displays the name of the archiving object, J_1ITDS.
2. Choose Delete.
3. In the User Name field, enter the name of user who will delete the documents.
4. Select Test Run if you do not want to run the report in update mode.
This will report any inconsistencies between the table data and the archive file that can be fixed.
5. To specify what archive file you want to delete the documents for, choose Archive selection.
6. To specify when to start the report, choose Start Date.
7. To enter the print parameters, choose Spool Params.
8. Choose .
Reloading TDS Documents
1. From the SAP Easy Access screen, choose Accounting → Financial Accounting → Accounts Payable →
Withholding Tax → India → Withholding Tax → Utilities → Archive Documents.
In the Object Name field, the system displays the name of the archiving object, J_1ITDS.
2. Choose Reload.
3. Enter data as follows:
�� Variant
Enter the report variant that you want to use. You can create a variant if you need to.
�� User Name
Enter the name of user who will reload the data.
4. To specify what archive file you want to reload the documents from, choose Archive Selection.
5. To specify when to start the report, choose Start Date.
6. To enter the print parameters, choose Spool Params.
7. Choose . -
Dear All,
As I need to maintan TDS rate as per requirement of user and requirement is as follows,
Vendor Name CMS Info Systems Pvt Ltd
PAN AAMCS2311K
Vendor Code 5314
Rate: NIL
Certificate No. ITO(TDS)-1(2)/Cer.-108/2009-10
Date to which the same should be exempt 31.03.2010
Can anybody help me out.
Thanks in advance.
Regards
AJIT K SINGHHi
You can maintain these information in vendor master in CIN tab.
CIN tab is activated based on user ID,
If CIN tab is not activated in your ID, then ensure to check in following path and activate it
SPRO - Logistics general - Tax on Goods Movements - India - Master data - Assign users to material master screen sequence for excise duty and then in that screen, select the relevant reference and click on third tab user screen reference and enter your user id. Once it is saved, then you can view the CIN tab in your vendor master and you can maintain the relevant details like TDS number, PAN number etc. in that tab.
Hope this helps. -
How to ensure for material POs, TDS does not get deducted.
Dear Seniors,
Single vendor is supplying material and doing some service also. How do we ensure that for material POs, TDS does not get deducted.
Regards
KVKRHi kkvr,
As i see your requirement is to execute MRRL alongwith the performing a proper TDS deduction and also using single vendor.
There is no Standard SAP solution for this, as a workaround you will have two options for doing the same
Option 1 : Create a different vendor code then you can run mrrl for the vendor code one for service and another for material
The demerits of this solution is duplication of vendor code, which results in not having proper information for the SCM personnel for the purpose of vendor evaluation and vendor reconcilation
Option2:
you need to enahce the Purchase order at line item level with the a custom fields for the WHT tax code to be selected at the time of PO creation. For this you need to do a screen enahcement in PO and also at the time of providing the popup for selection it should only dipslay the wht codes available in the vendor master so that proper control on the tax code selection will happen.
The practical issues here is the po creation person should have the knowledge of the tds code which you need to see whether it is possible or not or you can also suggest that finance controller should be part of po release startegy to check these po's to ensure the correct tds code populated.
Further to this you need to also perform additional enahcement changes for the selected tds codes in the po it should be replaced at the time of mrrl transaction making other tds tax codes base as 0 or removal of tds codes not applicable in the exit.
This exit with the help of the abaper you will be able to find hte standard enhacements available for mrrl and code the same over there so that at the time of posting this will happen.
Further, to this while writing the logic you can also further stream line it as for material po's the tds not to be deducted at all so that user input for the material po's can be avoided and it is required only for service po's this disticntion you can do with the item category.
With this you can perform the enahncement with a minimal changement to achieve your purpose.
Do let me know if you have any quereies,
Regards,
Bharathi -
TDS Amount on Vendor Advance Shows positive value in *QUERY* for TDS Report
Hi Everybody,
I have made a query for List of TDS Report with Vendor informations as required by my client. In which the value of TDS on Vendor Advance Payment appears as positive value instaead of negative value. Please suggest how to rectify.
Thanks,
PaulDear,
If you have cleared the advance in F-54, then this will reverse the tax amount. That could be the reason for tax amount in debit. -
I have installed Crystal reports server 2008 VI on a Windows 2008 64bit OS. I have added SQL server and Oracle reports through CMC. I then installed Oracle 10g client 32bit on the server and created and tested the required DSNs using ODBC 32bit. All the testings are successfull.
Now when I try to run my Oracle report through CMC it prompts for the parameters and when I enter them and click ok, gives me the following error:
Failed to open the connection. Details: [Database Vendor Code: 12154].
I have the same exact setup on a different server which has a 32 bit windows 2008 server OS and could run the same reports through CMC.
Is there away to fix this in the 64 bit OS?
I did a yahoo search and someone had a similar problem with Crystal RAS and Oracle.
And there is mentions that this is an issue with 32 bit ODBC drivers on 64bit wondows OS.The parentheses in the default file location, C:\Program Files (x86), causes problems with the ODBC driver and the workarouns in re-installing Crystal RAS on a different folder.
Full description is at (http://www.tririga.info/)
Is this the case with Crystal report server 2008 VI? I already got users using the InfoView to run SQL reports and doing this will have to put the application offline atlease for a say.
Any help is greatly appreciated.Vasana,
Resolution: Failed to Open the Connection.
First:
If the Crystal Report is using 32-bit version of Microsoft ODBC then the Window 2008 server must also have 32-bit version of Microsoft ODBC. The 32- bit version of Odbcad32.exe is located in the %systemdrive%\Windows\SysWoW64 folder.
On the Windows 2008 server, execute Odbcad32.exe by clicking start and run and entering the following: C:\Window\SysWow64\ODBC32.exe.
Then:
The Windows 2008 server ODBC Data Source Administrator must have the same System Data Source Server and Database Names that is used to run the Crystal Report.
e.g. Crystal Report points to server ABC and database EFG (ABC_efg); then the ODBC connections on the Windows 2008 Server must also point to the same server ABC and database EFG (abc_efg) listed. -
Vendor bank details in vendor master
Dear All,
where do we maintain the bank details of the vendor so that they would appear in payment advise to bank( Developed form). Is it in vendor master details. Then
How do we come to know which bank if the vendor has more than one bank account. How to display the same in the form.
In short the relevance of bank details in vendor master and how to display them in payment advice(when multiple bank accounts are there)
Please help to resolve the issue
SapfridoHello All,
If there are multiple bank accounts specified in the vendor master data, and if it is required to select desired one while making the payment, then the field Bank Type can be used in the vendor master data.
Against each bank of vendor specify a bank type say 0001, 0002 , 0003 etc...
In the invoice, under the payment tab there is field name Partner Bank wherein you can specify the bank type mentioned in the vendor master. This will make sure the payment to this invoice happens through a specified bank.
Regards,
Sameer -
We have gone live for one of our Indian clients recently. At the time of upload of vendor open items,TDS details were not put in vendor master,the balance figures were net of TDS.
After upload of balances,TDS data was filled in the vendor masters.
Now,those uploaded open items are being cleared via payments.On making payments,system is giving error that "Item not activated due to inconsistent withholding tax info".The problem is solved only if we remove the TDS data from the vendor master and carry out the posting.However,this is not feasible since these kind of payments are in large numbers...
Please provide a solution for this..
Regards,I found the answer on some other link. The solution is to run fb02 again with the same document number and press enter twice. This updates the document and then the problem does not reappear.
-
HI,
Is there any report is SAP which gives us the details of vendor number, Fax number, email, alternate payee.
or is it suggestable to have a customized report for this.
Can anybody have anyidea on this.hi,
/n --->accounting --->financial accounting --->account payable -
>infomation -
>reports for a.p accounting -
>master data
s_alr_87012086--vendor list
in that give from vedor account no 2 to ac number
select adress & telecom
assign points if useful
with regards
santosh kumar -
Failed to open the connection. Details: [Database Vendor Code: 53 ]
I'm upgrading one of our applications from Visual Studio 2005 to 2010. In the process I'm also switching our reports to run using Stored Procedures instead of Tables/Views. Everything runs fine on development machines after all the migration work. On the server however, it does not work. And I am getting the error message ""
Server is Windows 2003 Server 32 bit. And yes, I have installed the latest runtimes version 13.0.2000.0 on the server. There have been no other changes on the server other than to switch the target framework on the website in question from .net 2 to .net 4, and then to modify the web.config file to remove references to the older Crystal Reports and replace with references to the newer version.
I've seen many other threads on this "failed to open the connection" errors but none of them are my problem except there is one post that remains unanswered where someone had the same Database Vendor Code 53. I don't know what that error means, spent a considerable amount of time researching that before asking this question.
Lastly, it appears that this error only happens when the report is pulling data from a Stored Procedure rather than Tables/Views. If I re-copy the previous reports, they still work.
The ODBC drivers haven't changed, nor should they. They are fully up to date on that server machine.
I can't think of anything else that would be indicative of anything other than this is a bug. Here is the error text as it shows up in the event log:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/7/2011 3:49:50 PM
Event time (UTC): 12/7/2011 11:49:50 PM
Event ID: 38ce5b5487984e8aa8d2b84493d859a8
Event sequence: 17
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/739252194/Root-1-129677751941252500
Trust level: Full
Application Virtual Path: /
Application Path: D:\Websites\ACE5\Clients\TST\
Machine name: ACE1
Process information:
Process ID: 5436
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: InternalException
Exception message: Failed to open the connection.
Failed to open the connection.
Details: [Database Vendor Code: 53 ]
Failed to open the connection.
Details: [Database Vendor Code: 53 ]
Failed to open the connection.
PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName)
at Distribution_PackingSlips_default.ExportPackingSlips(String CrystalReportPath, Boolean UseStoredProcedure)
at Distribution_PackingSlips_default.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Failed to open the connection.
Failed to open the connection.
Details: [Database Vendor Code: 53 ]
Failed to open the connection.
Details: [Database Vendor Code: 53 ]
Failed to open the connection.
PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)Lots of great info here, except for the database; MS SQL? Oracle? Etc?
Database Vendor Code 53 is an error code that the CR engine simply passes straight from the database it's self. E.g.; look at your database error code and you should be able to find a verbose description of the error.
As a test, what happens if you add the report to your project and run it in the CR design part of the .NET IDE?
- A quick google search of Error 53 (for MS SQL - an assumption) comes up with a number of good hits. E.g.;
http://social.msdn.microsoft.com/Forums/en-AU/sqlgetstarted/thread/27684811-1a59-4273-b7ed-3cc990b4f20a
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
Edited by: Ludek Uher on Dec 8, 2011 6:31 AM -
Failed to open the connection.Details: [Database Vendor Code: 17 ]
We have too many reports designed by Crystal Reports XI Release 2 a time ago reports are old but we are calling them in asp.net 4.0 and connection through ODBC Data Sources (Driver SQL SERVER)
but when we refresh the report we are facing this issue....
Failed to open the connection.
Details: [Database Vendor Code: 17 ] Failed to open the connection.
AP Outstanding Check Run Detailed Ver 2 {CF3B13A2-F259-4B1D-ACC9-BF78F44D4AA5}.rpt
Details: [Database Vendor Code: 17 ]
here is the code to set ReportLoginInfo
CrystalDecisions.Shared.TableLogOnInfo logonInfo = new CrystalDecisions.Shared.TableLogOnInfo();
string myTableLocation;
foreach (CrystalDecisions.CrystalReports.Engine.Table myTable in rptDoc.Database.Tables)
myTableLocation = myTable.Name;
logonInfo = myTable.LogOnInfo;
logonInfo.ConnectionInfo.AllowCustomConnection = true;
logonInfo.ConnectionInfo.ServerName = ServerName; // dnsname
logonInfo.ConnectionInfo.DatabaseName = DatabaseName;
if (!(string.IsNullOrEmpty(UserID) || string.IsNullOrEmpty(Password)))
logonInfo.ConnectionInfo.UserID = UserID;
logonInfo.ConnectionInfo.Password = Password;
logonInfo.ConnectionInfo.IntegratedSecurity = false;
logonInfo.ConnectionInfo.Type = CrystalDecisions.Shared.ConnectionInfoType.SQL;
myTable.ApplyLogOnInfo(logonInfo);
myTable.Location = DatabaseName + ".dbo." + myTableLocation;
bool success = myTable.TestConnectivity();
Edited by: zeshansadiq on Nov 4, 2011 3:49 PMresolved by me itself.
Do the following steps:
1. Open the report in the CR XI designer.
2. Select Database -> Set Datasource Location.
3. Set Datasource Location window will appear and in the replace with section connect to the database and replace these tables with the tables in the current datasource by clicking the update button.
4. After updating close the Set Datasource Location window.
5. Go to 'Database menu' and Click 'Verify Database' and click on u2019OKu2019.
6. Preview the report and the save the report. -
Dear Experts ,
I want to maintain the bank details of a vendor in its masters . Kindly tell me if it is correct to maintain "Vendor Bank account details " in Vendor master: payment Transaction tab ?
Regards ,
anisHello Jurgen ,
We donot have the data migration at our place .
My client wants to maintain the bank details of the vendor along with the MICR code.
This is purely for reporting purpose .
Kindly let me know if Payment transaction is the correct place to still do it ?
Also where do i maintain the MICR code of the bank ?
Regards
Anis -
Dear all
I want to take the following details from vendor master for a bulk of vendor
1.Vendor addresses like street 2 and street 3
2. Email ids
3. Country
4. Under bank details the type of account
Kindly let me know what table i have to use to get the above detailsHi Chandra
Check MKVZ
Or U can get above details by joining table <b>LFA1</b>( except email address contains all details) and <b>ADR6</b>( For email address)
To join table for desired output check following
1)Make a simple query using <b>SQVI</b>,
2)just clik the quick viewer button,
create a new quick viewer, name it,
3)select <b>data souce</b> as table join basis mode.
Then go to edit,insert table LFA1 and ADR6,Join the same(Drag the parameter and drop in another table to establish link and link all the tables)
Press check to check whether your link is correct, then press back
4)You will be able to see the tables and fields on left hand side
Vishal...
Maybe you are looking for
-
Hi All. I have a need to connect a small remote office to two separate other offices. I would like to have 1 vpn on 1 port, 2nd vpn on another port and local access and internet access on the other ports. To equate this another way: a 5505 at home, h
-
How do you use more then one computer for your Ipod??
One of my computers died and I want to still use iTunes to get more music but I don't want to erase what I have on my iPod now. I need to use a different computer with out erasing all the music I have now?? HELP
-
Hello I am currently using the 2.6.30 kernel with the Intel 2.7.1 driver and no KMS. I think I will make the switch to the newest Intel driver and KMS, but first I would like to know if I have to do anything at all to have KMS after upgrading to .31
-
When I go to Iphoto and highlight one picture to export (say golf clubs cause I want to advertise on Craigslist) and try to export it to desktop, it says: unable to create/users/bryanevie/desktop (bryanevie is where I have my documents, etc.) Can
-
Retrieving license codes...
I recently purchased a new Intel Mac. I transferred all my data from my five year old eMac to my new iMac with little trouble. Most everything went fine, but I have hit a few small snags. Firstly my HP PSC1210 AIO printer will not work at all. It is