How to print taxes & condn for given PO
hi friends.
how to print all taxes & condition for given purchase order number in in MM-MODULE, iam from mumbai . i anybody got any program plz email me or mail ur cell no. thanks in advance.
regards,
mahesh
9321043028
Hi
Take the EKKO (po Header) KNUMV field and pass it to KONV-KNUMV and get the condition type based amounts (KWERT) from table KONV
Or search for the Condition tables in which the tax related COnditions are maintained for that Tax COde (like A003 or some other A* table) and take the KNUMH field from it and pass it to the table KONP and take the condition type based all tax amounts from KONP tables.
Reward points if useful
Regards
Anji
Similar Messages
-
Help reqd for finding TAXES & CONDITIONS FOR GIVEN PO IN SAP-SCRIPT
HI ALL,
Currently iam working on SAP-SCRIPT developing PO in that i displayed fields like EMATN TYPE EKPO-EMATN,( material no. )
TXZ01 TYPE EKPO-TXZ01, ( long text )
MEINS TYPE EKPO-MEINS, ( units )
MENGE TYPE EKPO-MENGE (quantity)
now i want to display taxes & conditions for given ematn no.( material no . ) so from which tables i should get the data how to display. plz help me.
thanks in advance.
Regards,
mahesh dudamHi !!
for this please study teh following extract :
All pricing values are maintained in the KONV table for the respective pricing condition . Extract these values from KONV table by passing EKKO-KNUMV values for the Purchase order number from the EKKO purchase order header table .
************************************************************************88
FORM GET_PRICING_DATA USING P_KNUMV.
SELECT * INTO TABLE I_KONV
FROM KONV
WHERE KNUMV = WA_EKKO-KNUMV.
IF SY-SUBRC = 0.
SORT I_KONV.
ENDIF.
ENDFORM. " GET_PRICING_DATA
*& Form get_tax_details
extract Tax item details.
-->P_EBELp for purchase order item.
FORM GET_TAX_DETAILS USING P_EBELP.
DATA : L_OCTROI LIKE KONV-KWERT,
L_BASE LIKE KONV-KWERT,
L_OTHERS LIKE KONV-KWERT,
L_DISCOUNT LIKE KONV-KWERT,
L_PFORWARD LIKE KONV-KWERT,
L_INSU LIKE KONV-KWERT,
L_NUM LIKE I_KONV-KUMZA VALUE 1,
L_DENO LIKE I_KONV-KUMNE VALUE 1,
L_KPEIN LIKE KONV-KPEIN VALUE 1,
L_FRT LIKE KONV-KWERT,
L_CHAR(15).
*-- getting numerator and denominator for base value.
READ TABLE I_KONV WITH KEY KSCHL = 'PBXX'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ELSE.
READ TABLE I_KONV WITH KEY KSCHL = 'PB00'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ELSE.
READ TABLE I_KONV WITH KEY KSCHL = 'P001'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ELSE.
READ TABLE I_KONV WITH KEY KSCHL = 'P000'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
CLEAR : V_OCTROI,V_OTHERS, V_DISCOUNT,V_PFORWARD,V_INSU,V_FTR.
LOOP AT I_KONV WHERE KPOSN = P_EBELP.
*-- Considering the numerator denominator and UOPricing
IF I_KONV-KPEIN = 0 .
I_KONV-KUMZA = 1. " Numerator
I_KONV-KUMNE = 1. " Denominator
I_KONV-KPEIN = 1. " Unit of pricing
ENDIF.
IF NOT I_KONV-KWERT IS INITIAL .
IF I_KONV-KRECH = 'C' AND I_KONV-KSCHL <> 'PB00'
AND I_KONV-KSCHL <> 'PBXX'.
I_KONV-KWERT = ( I_KONV-KWERT * I_KONV-KUMZA )
* L_KPEIN / ( I_KONV-KUMNE * I_KONV-KPEIN ).
ELSEif I_KONV-KRECH = 'C' AND I_KONV-KSCHL = 'PB00'
AND I_KONV-KSCHL = 'PBXX'.
I_KONV-KWERT = ( I_KONV-KWERT * L_NUM * L_KPEIN ).
/ ( L_DENO ).
elseif I_KONV-KRECH = 'A' AND I_KONV-KSCHL = 'PB00'
AND I_KONV-KSCHL = 'PBXX'.
I_KONV-KWERT = ( I_KONV-KWERT * L_NUM * L_KPEIN )
/ ( l_deno ).
ENDIF.
ENDIF.
CASE I_KONV-KSCHL.
*-- For base price
WHEN 'PB00'.
L_BASE = L_BASE + I_KONV-KWERT.
WHEN 'PBXX'.
L_BASE = L_BASE + I_KONV-KWERT.
WHEN 'P000'.
L_BASE = L_BASE + I_KONV-KWERT.
WHEN 'P001'.
L_BASE = L_BASE + I_KONV-KWERT.
*-- For octroi
WHEN 'JOCM'.
L_OCTROI = L_OCTROI + I_KONV-KWERT .
*-- For discount calculation
WHEN 'ZDT%'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT .
WHEN 'ZDN%'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT.
WHEN 'ZDTV'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT .
WHEN 'ZDNV'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT.
*--- For packing forwarding .
WHEN 'ZPNV'.
L_PFORWARD = L_PFORWARD + I_KONV-KWERT.
WHEN 'ZPN%'.
L_PFORWARD = L_PFORWARD + I_KONV-KWERT.
*--- For frieght .
WHEN 'ZFTV'.
L_FRT = L_FRT + I_KONV-KWERT.
WHEN 'ZFT%'.
L_FRT = L_FRT + I_KONV-KWERT.
WHEN 'ZFNQ'.
L_FRT = L_FRT + I_KONV-KWERT.
**-----for others
WHEN 'ZOTV'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZOT%'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZOTP'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZONV'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZON%'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZONP'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
*--- for insurance
WHEN 'ZINV'.
L_INSU = L_INSU + I_KONV-KWERT.
WHEN 'ZIN%'.
L_INSU = L_INSU + I_KONV-KWERT.
WHEN OTHERS.
CONTINUE.
ENDCASE.
CLEAR I_KONV.
ENDLOOP. -
How to print multiple footers for each page in RTF template xml report.
Hi,
How to print multiple footers for each page in RTF template xml report.
i am able to print ( two sets ) ...
up to last page ( one template ) and for last page ( another template).
i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
Thanks in advance.
Regards,
KAP.You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
Just have for-each@section logic.
It would be difficult for me to guess what you have done without looking at your RTF or describing here. -
How to print claim code for envy 5530 without connecting to internet?
how to print claim code for hp envy 5530 without connecting to internet. We do not have wireless internet and we are trying to set up the eprint app for our samsun android phones and ipad. We need to print off the claim code from the printer but it seems we need to have internet for that. is there any way around that?
ThanksHi,
You have to, without connecting to the internet, the claim code (if you can get one) is useless.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How to print vertical lines for line items?
hi experts,
can any one tell me how to print vertical lines for line items in ascript?
ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?
thanks ®ards
narendarhi narendar,
Welcome to SDN.
u can go for box command.
Use the box command with zero width for vertical lines.
Position the line by x position and y postion.
syntax :
BOX <xpos> <ypos>
<width>
<height>
<thickness in twips> twips.
Regards,
Arun.
Reward points if useful. -
How to fine query name for given transaction
how to find query name for given transaction
Check out the related thread
https://forums.sdn.sap.com/click.jspa?searchID=1491773&messageID=959848
Use T/code SQ01 to find query. after this transaction select client specific Query areas via
Menubar>Environment>QueryAreas--> Select Client Specific.
Regards,
Santosh -
Do you know how to import Tax Registrations for Supplier Hub
Hi,
Does anyone know how to import Tax Registrations for Supplier Hub? Which API/Interface can do that? The Oracle table is zx_registrations. We need to import Supplier information, include Tax Detail information.
Anyone can help on this?
Best Regards,
EileenYour English is fine, certainly a lot better than my anything else!
If the lrcat file(s) really is/are gone then yes I'm afraid your edits probably are lost. As you have surmised, the way LR works is to store a database of all the changes you have made to your raw files. If you don't also save these changes to xmp side-cars and you lose the catalog then Lightroom cannot tell what edits you've done to your files.
Check your recycle/trash bin for lrcat files and also, before you do any more work on the computer use some recovery software to look for the possibly deleted lrcat file. Just Google for recovery and you should find many such software out there, some free. They will search for files that have been deleted and it will help if you know part of the file name though you could just look for lrcat, or since deletion often means file name corruption just part of the file name.
How did the lrcat file get lost/deleted? I don't know, by accident? Virus? Each is possible. This really does stress the importance of regularly backing up not just your raw files but also your Lightroom catalog.
I wish you luck. -
How to print double sided for SAP without exporting
Hi Friends,
Could you explain me that how to print double sided for SAP without exporting? Thanx.Hi,
As per your query this is printer facility not to SAP. You have to define your printer in double printing by default and get all the printout both side from any software like SAP,Excel,Word etc.
Anil -
How to populate tax area for IT 207? what is the common practice?
Gurus,
How to populate tax area for IT 207? what is the common practice?
The residential address IT 0006 is a new your address with ZIP code 10001
PA30 for IT 207 displays 4 tax areas for the new york address.
FED Federal 0000-0001 99999-9999
NY State of New York 14999-9999
NY01 New York City 14999-9999
NY02 Yonkers 14999-9999
I thought, each zip code will map to only one tax area.
Thanks,This is the real world ! SAP does not design tax area based on zip codes. In our company, the tax lady calls the tax authorities to check what zip codes fall under that tax authorities.
and BTW, with new BSI upgrade, you will find 12 more tax authorities for NY.
Cheers !!!!
W -
How to print Spool requests for cheque printing sequentially
Dear All,
I am making vendor payments and printing cheques using F-58. It automatically creates a spool requests at the end of the transaction. When i complete all my payments and go to SP01 for viewing spool requests, the last request appears at the top of the list.
If i select 3 consecutive requests and print them at a time, the last request gets printed first on the first cheque number and the first request gets printed on the last cheque number.
This results in anomaly in the cheque number assigned in the system and the printed cheque as the last payment is printed on the first cheque.
I am using dot matrix printer with page format fixed for cheque specifications. The cheques are printed properly as per the format except the order of printing.
Kindly let me know how to print multiple requests sequentially from the spool requests list such that the spool request number printed matches with the serial cheque numbers.
Regards,
SAP_2009Hi,
I understod your issue.
Whenever you posted multiple payment documents, and after that if you want to take cheque printouts sequentially by using more spool requests.........there is a way to sort out this issue.
1) Select all of your spool requests and click on Sort in ascending Order (CtrlShiftF5) and click on Print directly (CtrlShiftF8). By doing this you will get the cheque printouts sequentially according to your payment document sequence.
Hope this will help you
Assign ********, if it solved your problem.
Thanks,
Srinu -
FM to find Tax Category for given Sales Org.
Hi all,
Is there an FM or a BAPI to find the Tax Category for a given Sales Org.? Please Advice.Hi
I hope based on the Jurisdiction code the tax category is decided
check the fun module like RE_GET_TAXCODE_INFORMATION
ask the functional consultant regarding this and take his advise as these taxes vary from country to country
Reward if useful
regards
Anji -
How to print multiple form for tag printing in smartforms
Dear Experts,
I am working on tag printing in smartforms .in tag printing i am showing
1.material no.
2.material descrption.
3.material doc no.
4.Quantity
5.supplier.
my requirement is that for example , if the mat. document no. has a material of 10,000.00 quantity , in tag printing it should come 1,000.00 of each tag and total no of tag should be 10. and it should come one after another .
and the page format size 8 x 6 cm. is it possible .if possible how ! how the system will know how many tag is to be printed . please reply its urgent.Hi Kumar,
Let me know. is the quantity 1000.00 is fixed? if so thn you can achieve the requirement.
For example:
There are A-material with 20000.00 quantity thn u can first divide the quantity with 1000.00
v_ex = 20000.00/1000.00=20.
thn you can repeat the print of the smartform for 20 times by passing the parameter to form fm.
Please reward if useful. -
How can print blank rows for XML output report..
Hi all,
I am working in XML output PO fix format report and in that report there is 3 sections. (1) Header section(2)Line section (3) Footer section. My requirement is like this, header and footer section print in all pages and line section break for next page after printing fix 15 lines in a page. And if any page has less then 15 lines then it generate remaining blank row to maintain footer position.
Please suggest me, how can i generate blank rows and break lines for page if there is more then 15 rows in Line section.
Thanks in Advance!Hi,
<?for-each:ROW?>
<?end for-each?><xsl:variable name="cnt" select="count(//row|//ROW)" />
<?for-each:xdoxslt:foreach_number($_XDOCTX,1,15-count(ROW),1)?> <?end if?>
this will create 15 lines irrespective of you have that much rows of data in xml or not
if you want more help , drop me mail @ [email protected] -
How to print screen & recommendations for clipboard extenders?
How do i print screen on my new iMac & can you recommend clipbaord extenders similar to the PC products Clipmate or SnagIt??
As you can guess I'm a PC convert. Just got my new 24" iMac on the weekend and trying to get back to productivity. LOVE the product generally.
TIA
BarryWelcome to Apple Discussions!
When you say print screen, do you mean screen capture to image, or print the contents of the screen?
For screen capture, you can follow these directions:
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh338.html
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh344.html
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1634.html
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh364.html
A timed capture is avaialble with the Grab Utility found in your Applications folder. For many more screen capture functions, see this utility:
http://www.ambrosiasw.com/utilities/snapzprox/
Note: some content on the screen may be copyright, so be careful only to copy that which you have rights to do so.
To print a Finder window directly to printer, there is this utility:
http://searchwaresolutions.com/products/printwindow/
For clipboard extention, see this utility:
http://inventive.us/iClip/
You may find others on http://www.macupdate.com/ or http://www.versiontracker.com/macosx/ which are more tuned in for your use. -
How to get organisation unit for given date.
Hi Everyone,
I have created a report to display all the hired and left employees
for the given date. I have to display department wise.
CALL FUNCTION 'RH_DIR_ORG_STRUC_GET'
EXPORTING
ACT_ORGUNIT = S1_ORGEH-LOW
ACT_PLVAR = '01'
ACT_DATE = SO_DATE-HIGH
SORT_FLAG = 'X'
ADD_FLAG_PDATA = 'X'
TABLES
ORG_UNITS = IT_ORG_UNITS.
This function module will bring all the active org unit existing
in our system. If an organisation unit is delimited.
This function module is not getting the delimited org unit.
How to get that org unit.
Plz its vry urgent,
thanks in advance,
regards,
stanleydid you try RH_STRUC_GET?
Regards
Raja
close your previous threads
Re: ALV in browser
Maybe you are looking for
-
How to have multiple iPod Touches co-exist in the same house
My five kids and my girlfriend all have iPod touches, as follows; 3 x 4th gen, 2 x 3rd gen, 1 x 2nd gen. Up until my girlfriend got her 4th gen, yesterday, they all used the same Apple ID, which was mine. This wasn't really as issue, as all the kids
-
My iPhone 4 has been disabled and it went to the "Connect to iTunes screen." At first, iTunes told me to unlock the phone before I could use it in iTunes. Until, I turned the phone off, pressed and held home while plugging the USB cord back into my d
-
Lumia 820 Photo Resolution Problem
Hi, Can anyone help me solve why i cannot change the photo resolution on my Lumia 820? When i check them on a PC they always come out at either 800x600 on 4:3 ratio or 800x450 on 16:9 ratio. It's driving me mad there is no option in the photo setting
-
Restart every 24 hours Services Option
Hi, If the "restart services every 24 hours" option is enabled, does that mean that the services are restarted 24 hours from when they were initally started? Strangely It seems like we lose our cluster config right around 12 midnight. And I also see
-
CO error in Shipment cost calculation - VI01
Hi all, We have an issue while creating an shipment cost document for the shipments created with respect to Project/Networks. Scenario: Our client has various project site where construction is going on and material is being sent to these site. A out