Wrong pricing in PO print preview
Hi,
I have one scenario where sales tax/VAT needs to be calculated on gross price before discount. The calculation schema has been created properly and in PO in the tab page 'conditions' it is being calculated properly. We have a Z-condn type for calculation of discount after sales tax. But in PO print preview discount is being calculated before sales tax, so the final price is coming incorrect.
Can you tell me how to correct the print preview. Any changes need to be done in PO script?
We are using a modified form of ZMEDRUCK
Regds
Amitava
Hi
IF you are using a customized form then obviously you need to modify your form accordingly and capture the costs. Please check your logic fo deterning the tax previously and how you ahve changed it now... just add that logic, the problem will be resolved
Thanks & Regards
Kishore
Similar Messages
-
Pricing conditions are not picked in print preview of purchase order.
Dear experts
Purchase order was created for imports vendor.
there is difference of amount in purchase order and purchase order print preview.
In purchase order print preview the system is not picking the values of custom value and custom clearing charges.
Import pricing procedure is assigned to vendor.
what else more be checked since the print preview is not picking the conditions , custom value and custom clearing charges.
Any solutions.
Thanks & Regards.
Erfan.Hi,
Purchase order was created for imports vendor & must have separate documement type for Import Purchase order or new PO output type for import.
Check FORM or PDF/SmartForm Form used for your Import PO out put type for application EF in NACE t.code. Check SmartForm in t.code: SMARTFORMS and see condition types of custom value and custom clearing charges is there or not. Just consultant with ABAP consultant about condition types of custom value and custom clearing charges inclusion in SmartForm.
Regards,
Biju K -
Wrong print preview and printed color from Lightroom 1.3
I am running Vista Ultimate and i just installed the driver for my Canon PIXMA Pro9000.
When i try to print from Lightroom 1.3 the colors are very muted, even when i do print preview the colors are wrong in the print preview screen.
No matter what i do i cant seem to get lightroom to Print Preview AND print with the right colors.
The image on this link http://www.pbase.com/charld/image/94711330
(on the left) is what i see and get when i do a print preview and print and my monitor image is on the right.
If i use Canon DPP the colors are not that bad, its a bit dark but that was easily fixed and i can get it quite close to what i see on the screen. My monitor is not calibrated..The images were all shot in RAW and converted to DNG...Do i need to re-install Lightroom as i don't think print preview has anything to do with the printer i have attached....
ThanksI got the solution from another forum:
http://www.lightroomforums.net/showthread.php?t=1613
1. in the Print module, clicking on the Print Settings button ...
2. Choose your media type
3. Under Print Quality choose High
4. Under Color Intensity choose Manual. In the subsequent dialogue box choose None.
5. In the Print right hand panel under Color Management choose your print media - PR1 for Photo Paper Pro, SG1 for semi-gloss &c
6. Rendering intent Perceptual.
7. Hit Print and OK.
this resolved my issue!! -
when printing from file, print or print preview, must set page size @ 40% to get correct printing. IE is ok only wrong on firefox! edit
What happens when you select a scale higher than 40%?
-
i have developed one website and provied print fuctionality to print entire web from , but it is not printing the web page correctly, even in print preview it is showing wrong out put...
Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum.
Make sure you provide the URL for the problematic page, so they can see the problem for themselves. -
Having seleted some text on a web page which is the only information I would like to print, I seem to be unable to preview what the printed page will look like using the "Selection" option in the Print Range section of the "Print" Menu from the Print Preview window. The radio button for "Selection" is not selectable!
I am able to do this using Internet Explorer, which is probably my main reason for using that browser but would like to use a similar feature in FirefoxThat connection is supported for tethering....
Barry -
Print Preview opens wrong application
Used to be when I clicked on Print Preview in the Print Dialog, it opened Adobe Reader 5. I recently dragged that app to the trash (I have Reader 7), and now the button opens... Quicktime Player!!
Anyone know where you go to tell the Print Preview what to use to render the pdf?Thanks but that's not the problem here. This is about what the PRINT dialog uses to preview ANY file before printing. If only there was such a thing as a Get Info for Print Preview ... :>
-
In print preview 1 page, how 2 page print is there( 1 correct & 1 wrong)
Hi Expert,
In vf02 print preview is correct, that is only 1 page. but when we take the print out original invoice comes in second page and in first page some thing is coming, like
clint -
receiver -
department -
spool request -
request no-
data base-
owner-
device type-
format type-
priority -
count-
output requet-
- created
- from
-printed
-host
-device-
like all those detailis coming infirst page.and in second page actual invoice is coming that is correct.how the first page is coming with all details i dont know where as in print preview only actual invoice is there that is there insecond page
i dont know how first page is coming
thanks for your quick responseHi,
Check
In you output type communication method
SAP cover page - Do not print
Kapil -
How can I select paper size while in print preview ?
I have a printer with four different paper trays, and each one is loaded with different size of paper: A3, A4, Legal, envelopes. When I use IE 11, I can easy go to print preview, click on page setup (little gear icon), select paper size , margins, etc.. there, and when i hit OK, the page is adjusted to the settings I selected and its ready to print, and printer selects the proper size of the paper automatically
In Firefox v32, I can almost do this same, but I'm stuck with printing only on A4 style paper, as I don't see where to select the paper I want to print on !
I tried to select A3 and legal paper in the printer driver, but then firefox used the selected paper, but printout on the paper came out as set to A4 size, and rest of the page was empty ! Also I was not able to see the page preview of the selected paper either. How do I then print on other size papers than a4 ?
I found only one workaround which does not suits my needs but works: First: Go to printer driver and select legal or A3 paper as default, and then open firefox. If I do that i can print on any paper I select, but thats a horrible workaround, because then I often forget to change the default paper size back inside the printer driver, and i print my documents on wrong paper, wasting paper, ink and time...
Please let me know if there is a way to fix this printing feature somehow.
Thanks.MichalB,
Sorry, IMO there is no real "fix" for what you are experiencing. Printer prefs set or changed in the operating system won't affect Firefox printing ''[IMO, either ancient code in Firefox or a "cross-browser thing".]'' Firefox has its' own settings for prefs and it defaults to the "last used" for all printer preference setting. And there is no way to set a pref as "use now and return to my defaults after this print job is completed".
As you have found out, there is no way of changing paper size from the Print Preview screen. Other prefs - Margins & Header/Footer can be changed via Page Setup and you can see changes in the Preview window, but not for paper size. As ''CoryMH'' mentioned, '''paper size''' is selected thru what called the "native print dialog" box using the '''Properties''' button which shows a window provided by your printer software for the Printer which is selected in the "native print dialog" window, and accessed after you hit the Print button in the Print Preview screen.
Problem is that you can't '''"preview"''' what is going to be printed when you change paper size. If you go back to Print Preview without printing from the "native print dialog" the change for Paper Size isn't saved for viewing in Print Preview!
IMO, it would be nice if Firefox recognized each "tray" as a separate printer, so that a user could set Margins & Header/Footer prefs AND paper size per tray. IOW, a feature sort of writing a completely new print module that would reflect "today's" environment with multiple tray printers; rather than to continue using the print module that was built by Netscape back in '94 - '95, which we are stuck with almost 20 years later.
''As I sit here shaking my head after composing this reply, wondering why the issues I had back in 2002 with printing from Firefox / Firebird / Phoenix haven't been corrected in the last 14 years.''
''I do like "old stuff", and have a vehicle sitting my driveway that rolled out of the showroom 30 years ago come October 1 - a 35th birthday present I purchased for myself. [85 Corolla GTS TwinCam coupe - aka Sprinter in GTA] But as far as computer software, I prefer it to be compatible with hardware made in this century.'' -
Problem in alv grid display (it is not filtering the data in print preview)
Hi Every One,
Its very urgent for me to deliver this report ....
I applied sort criteria on my final internal table which is pupulated and then i passed to the function module...
when i execute the program it is showing me the perfect output..when i take a print preview it is not filtering the data instead it is showing me the normal uotput i.e..,without sort criteria...
here is the code plz go thru it and tell me were i am doing wrong...
i thank u one and all ...and plz debub the code on the system and let me know....
REPORT tracking-quotation NO STANDARD PAGE HEADING MESSAGE-ID zrv_message LINE-COUNT 65 LINE-SIZE 110.
Includes
This include contains declarations
INCLUDE ZMM_TRACKING_QUOTATION_T.
This include contains code for the performs
INCLUDE ZMM_TRACKING_QUOTATION_F.
AT SELECTION SCREEN *
AT SELECTION-SCREEN.
This perform will validate the fields
PERFORM f_validate_sel_screen.
Start-Of-Selection
START-OF-SELECTION.
This perform will read the values from the database.
PERFORM selection.
This perform will build the field catalogue
PERFORM f_build_catalogue.
This perform will build the sort
PERFORM f_event_sort.
This perform will build the layout
PERFORM f_build_layout.
This perform will build the event
PERFORM f_event_build.
This perform will build the comment
PERFORM f_comment_build.
This perform will display the list
PERFORM f_list_display.
End-Of-Selection
END-OF-SELECTION.
*& Include ZMM_TRACKING_QUOTATION_T *
T a b l e s D e c l a r a t i o n s *
TABLES: eban,
ebkn,
ekko,
eket,
lfa1,
ekpo.
Selection Screen Declaration
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-100.
SELECT-OPTIONS: bednr FOR eban-bednr,
ps_psp FOR ebkn-ps_psp_pnr,
kostl FOR ebkn-kostl,
erdat FOR ebkn-erdat.
SELECTION-SCREEN END OF BLOCK b1.
Type Pools D e c l a r a t i o n s *
TYPE-POOLS: slis.
V a r i a b l e s *
DATA : rt_fieldcat TYPE slis_t_fieldcat_alv,
i_layout TYPE slis_layout_alv,
i_event TYPE slis_t_event,
i_listheader TYPE slis_t_listheader,
l_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
I n t e r n a l T a b l e s *
DATA: BEGIN OF i_final_tab OCCURS 0,
name1 LIKE lfa1-name1,
banfn LIKE eban-banfn,
badat LIKE eban-badat,
bnfpo LIKE eban-bnfpo,
txz01 LIKE eban-txz01,
menge LIKE eban-menge,
bednr LIKE eban-bednr,
frgdt LIKE eban-frgdt,
lfdat LIKE eban-lfdat,
ps_psp_pnr LIKE ebkn-ps_psp_pnr,
bwbdt LIKE ekko-bwbdt,
aedat LIKE ekko-aedat,
lifnr LIKE ekko-lifnr,
ihran LIKE ekko-ihran,
ebeln LIKE ekpo-ebeln,
ebelp LIKE ekpo-ebelp,
plifz LIKE ekpo-plifz,
eindt LIKE eket-eindt,
END OF i_final_tab.
DATA: BEGIN OF itab OCCURS 0,
name1 LIKE lfa1-name1,
banfn LIKE eban-banfn,
badat LIKE eban-badat,
bnfpo LIKE eban-bnfpo,
txz01 LIKE eban-txz01,
menge(17),
bednr LIKE eban-bednr,
frgdt LIKE eban-frgdt,
lfdat LIKE eban-lfdat,
ps_psp_pnr LIKE ebkn-ps_psp_pnr,
bwbdt LIKE ekko-bwbdt,
aedat LIKE ekko-aedat,
lifnr LIKE ekko-lifnr,
ihran LIKE ekko-ihran,
ebeln LIKE ekpo-ebeln,
ebelp LIKE ekpo-ebelp,
plifz LIKE ekpo-plifz,
eindt LIKE eket-eindt,
END OF itab.
*& Include ZMM_TRACKING_QUOTATION_F *
**& Form FIELDCAT_INIT
text
-->P_GT_FIELDCAT[] text
FORM f_build_catalogue.
DATA : ls_fieldcat TYPE slis_fieldcat_alv.
CLEAR ls_fieldcat.
ls_fieldcat-fieldname = 'BANFN'.
ls_fieldcat-tabname = 'itab'.
ls_fieldcat-seltext_m = 'PR Number'.
ls_fieldcat-ref_tabname = 'EBAN'.
ls_fieldcat-fix_column = ''.
ls_fieldcat-emphasize = ''.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'BNFPO'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'BADAT'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'TXZ01'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'MENGE'.
ls_fieldcat-ref_tabname = 'ITAB'.
ls_fieldcat-seltext_l = 'Quantity'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'PS_PSP_PNR'.
ls_fieldcat-ref_tabname = 'EBKN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'BEDNR'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'FRGDT'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'LFDAT'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'EBELN'.
ls_fieldcat-ref_tabname = 'EKPO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'EBELP'.
ls_fieldcat-ref_tabname = 'EKPO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'AEDAT'.
ls_fieldcat-ref_tabname = 'EKKO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'LIFNR'.
ls_fieldcat-ref_tabname = 'EKKO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'NAME1'.
ls_fieldcat-ref_tabname = 'LFA1'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'IHRAN'.
ls_fieldcat-ref_tabname = 'EKKO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'EINDT'.
ls_fieldcat-ref_tabname = 'EKET'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'PLIFZ'.
ls_fieldcat-ref_tabname = 'EKPO'.
APPEND ls_fieldcat TO rt_fieldcat.
ENDFORM. " FIELDCAT_INIT
*& Form selection
text
--> p1 text
<-- p2 text
FORM selection .
SELECT
lfa1~name1
eban~banfn
eban~badat
eban~bnfpo
eban~txz01
eban~menge
eban~bednr
eban~frgdt
eban~lfdat
ebkn~ps_psp_pnr
ekko~bwbdt
ekko~aedat
ekko~lifnr
ekko~ihran
ekpo~ebeln
ekpo~ebelp
ekpo~plifz
eket~eindt
FROM lfa1 INNER JOIN ekko ON ( lfa1lifnr = ekkolifnr )
INNER JOIN ekpo ON ( ekkoebeln = ekpoebeln )
INNER JOIN eket ON ( ekpoebeln = eketebeln
AND
ekpoebelp = eketebelp )
INNER JOIN eban ON ( ebanbanfn = eketbanfn
AND
ebanbnfpo = eketbnfpo )
INNER JOIN ebkn ON ( ebanbanfn = ebknbanfn
AND
ebanbnfpo = ebknbnfpo )
INTO TABLE i_final_tab WHERE eban~bednr IN bednr AND
ebkn~ps_psp_pnr IN ps_psp AND
ebkn~kostl IN kostl AND
ebkn~erdat IN erdat AND
ekko~bstyp <> 'F'.
LOOP AT i_final_tab.
itab-name1 = i_final_tab-name1.
itab-banfn = i_final_tab-banfn.
itab-badat = i_final_tab-badat.
itab-bnfpo = i_final_tab-bnfpo.
itab-txz01 = i_final_tab-txz01.
itab-menge = i_final_tab-menge.
itab-bednr = i_final_tab-bednr.
itab-frgdt = i_final_tab-frgdt.
itab-lfdat = i_final_tab-lfdat.
itab-ps_psp_pnr = i_final_tab-ps_psp_pnr.
itab-aedat = i_final_tab-aedat.
itab-lifnr = i_final_tab-lifnr.
itab-ihran = i_final_tab-ihran.
itab-ebeln = i_final_tab-ebeln.
itab-ebelp = i_final_tab-ebelp.
itab-plifz = i_final_tab-plifz.
itab-eindt = i_final_tab-eindt.
APPEND itab.
CLEAR itab.
ENDLOOP.
ENDFORM. " selection
*& Form f_event_build
text
--> p1 text
<-- p2 text
FORM f_event_build .
DATA wa_event TYPE slis_alv_event.
CLEAR: wa_event,
i_event.
*read event top-of-page
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = i_event.
IF sy-subrc <> 0.
ENDIF.
*Prepare event table
READ TABLE i_event WITH KEY name = 'TOP_OF_PAGE' INTO wa_event.
IF sy-subrc EQ 0.
MOVE 'TOP_OF_PAGE' TO wa_event-form.
APPEND wa_event TO i_event.
ENDIF.
ENDFORM. " f_event_build
*& Form f_comment_build
text
--> p1 text
<-- p2 text
FORM f_comment_build .
DATA: wa_listheader TYPE slis_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'H'.
wa_listheader-info = 'Tracking Of Quotation For Purchase Requisition'.
APPEND wa_listheader TO i_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info = 'SMS-DEMAG Pvt. Ltd.'.
APPEND wa_listheader TO i_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info = 'R1- Nehru Enclave'.
APPEND wa_listheader TO i_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info = 'New Delhi - '.
APPEND wa_listheader TO i_listheader.
ENDFORM. " f_comment_build
*& Form f_build_layout
text
--> p1 text
<-- p2 text
FORM f_build_layout .
CLEAR i_layout.
i_layout-colwidth_optimize = 'X'.
i_layout-zebra = 'X'.
i_layout-totals_text = 'Total'.
ENDFORM. " f_build_layout
*& Form f_list_display
text
--> p1 text
<-- p2 text
FORM f_list_display .
*sort itab by name1
banfn
badat
bnfpo
txz01
menge
bednr
frgdt
lfdat
ps_psp_pnr
bwbdt
aedat
lifnr
ihran
ebeln
ebelp
plifz
eindt.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = i_layout
it_fieldcat = rt_fieldcat
it_events = i_event
it_sort = l_sort
TABLES
t_outtab = itab.
IF sy-subrc <> 0.
ENDIF.
ENDFORM. " f_list_display
*& Form TOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_listheader
i_logo = 'ENJOYSAP_LOGO'.
ENDFORM. "TOP_OF_PAGE
*& Form f_event_sort
text
--> p1 text
<-- p2 text
FORM f_event_sort .
wa_sort-spos = 1.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BANFN'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
CLEAR WA_SORT.
wa_sort-spos = 5.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'MENGE'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 2.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BNFPO'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 3.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BADAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 4.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'TXZ01'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 7.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BEDNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 6.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'PS_PSP_PNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 8.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'FRGDT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 9.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'LFDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 10.
wa_sort-fieldname = 'EBELN'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 11.
wa_sort-fieldname = 'EBELP'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 12.
wa_sort-fieldname = 'AEDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 13.
wa_sort-fieldname = 'LIFNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 14.
wa_sort-fieldname = 'NAME1'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 15.
wa_sort-fieldname = 'IHRAN'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 16.
wa_sort-fieldname = 'EINDT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
*sort l_sort by spos.
CLEAR wa_sort.
wa_sort-spos = 1.
wa_sort-fieldname = 'BANFN'.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
wa_sort-spos = 5.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'MENGE'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-spos = 2.
wa_sort-fieldname = 'BNFPO'.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
wa_sort-spos = 3.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'BADAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 4.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'TXZ01'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 7.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'BEDNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 6.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'PS_PSP_PNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 8.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'FRGDT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 9.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'LFDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 10.
wa_sort-fieldname = 'EBELN'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 11.
wa_sort-fieldname = 'EBELP'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 12.
wa_sort-fieldname = 'AEDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 13.
wa_sort-fieldname = 'LIFNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 14.
wa_sort-fieldname = 'NAME1'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 15.
wa_sort-fieldname = 'IHRAN'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-spos = 16.
wa_sort-fieldname = 'EINDT'.
wa_sort-tabname = 'itab'.
wa_sort-down = 'X'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
*sort l_sort by spos.
ENDFORM. " f_event_sort
*& Form f_validate_sel_screen
text
--> p1 text
<-- p2 text
FORM f_validate_sel_screen .
*Tracking number
SELECT SINGLE * FROM eban WHERE bednr IN bednr.
IF sy-subrc NE 0.
MESSAGE e013.
ENDIF.
*Wbs Element
SELECT SINGLE * FROM ebkn WHERE ps_psp_pnr IN ps_psp.
IF sy-subrc NE 0.
MESSAGE e014.
ENDIF.
*Cost center
SELECT SINGLE * FROM ebkn WHERE kostl IN kostl.
IF sy-subrc NE 0.
MESSAGE e015.
ENDIF.
*Date
SELECT SINGLE * FROM ebkn WHERE erdat IN erdat.
IF sy-subrc NE 0.
MESSAGE e012.
ENDIF.
ENDFORM. " f_validate_sel_screenHey Ravi,
As you said it is urgent to deliver the report, i will suggest you temporary solution while i debug the program.
In the FM "REUSE_ALV_GRID_DISPLAY", use layout to generate your sorted report for now as shown following:
<b>DATA: G_VARIANT LIKE DISVARIANT.</b>
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = RT_FIELDCAT
IT_EVENTS = I_EVENT
IT_SORT = L_SORT
<b>is_variant = g_variant</b>
TABLES
T_OUTTAB = ITAB.
IF SY-SUBRC <> 0.
ENDIF.
Where g_variant is your custom layout which you will make as default for output.
Hope this helps and let me know if you need more details.
In the mean time, i will look in to the program.
Regards,
Vicky
PS: Award points if helpful -
Error while displaying print preview of smartform in VL03n
Hi all,
i created one smartform & print program . i assigned this in NACE tcode for ZD05 output type.
Then i am trying to see the print preview in VL03n while doing issue delivery output.
But i am getting error like ' Output could not be issued'. Please suggest where i am doing mistake. Thanks.
Regards
sumitraHi,
Follow below Steps:
1) Double Check your program and smartform names where you are attached in nace transaction.
2)check your templates and tables having formatting issues.
3)Finally create dummy of your smartform. then delete one by one window in smartform check it and trace out in which window error is existing.
even i faced same problem.
in my case i gave wrong line and column numbers under the template node texts. it won't show the error in smart form but while executing transaction out put could not issued.
Thanks,
Satheesh. -
Hi Friends
PO created on in Apr 2008 (before Apr excise duty was 16%)
In invoice tab of PO Excise duty is calculating by 14% correctly
But in Print preview of PO excise duty is showing as per 16%
I checked in J1ID excise duty rate is 14% (TAXINJ Procedure)
Pl guide
Regards
AnilHi,
Normally tax % values we will not print in Purchase order and in standard PO smartform also its not available.
In like Pricing procedure you dont hve any control to print the condition type values. So abaper has to modify the PO form.
May be your abaper hard coded the tax % value as 16%.
reg
Durga
*Assign points if the info is useful -
Purchase Order Quantity appear as 1 instead of 0.222 in PO print preview
Hello MM Enthusiasts,
I have a PO with acct assgt – P (Network) where Purchase order quantity updated as 0.222 but if I click on PO print preview the quantity appear as 1 instead of 0.222.
Please let me know what has gone wrong in my case.
PS: When I look at my Output type by click on message in ME23N the traffic light was green and no issues observed here.
Cheers,
Kumar SHello ALL,
Thanks for the response.
This is a REAL issue.
The purchase order has been created manually by user with reference to purchase requisition.
When I look at Purchase requisition in transaction ME53N it has been created for 0.222 quantity. Further to inform you that Purchase requisition has been created via network which is having the same quantity – 0.222.This I can verify it by executing transaction CJ20N.
In this case Purchase order which has been created user manually and initially quantity has been entered as 0,224 later on date - 23.03.2014 another user has changed it to 0.222 which is as similar to Purchase requisition quantity.
Please let us know via transaction OLME what needs to be checked.
Hope now issue is clear and expecting your valuable input to proceed further.
Cheers,
Kumar.S -
No Cond. are appearing in Print Preview of P.O ?
Dear All Guru's ,
Kindly help as in print Preview only JMOP= 14% is appearing while the other condition which are maintained in FV11 are not displaying ( JEC1 & JSEP ) .Pl help what setting are to be done to display these conditions.
regards
sap11Hi,
The CIN conditions cannot be printed in PO, this is limited functionality. Read the note:
Note 952287 - CIN: Limited Functionalities in Country Version India
1. Printing of taxes in Purchase order
Please note that printing of taxes in PO is not supported by country version India. If you need to print the taxes then you need to bring them into the MM procedure using condition types. You may use the condition type JEXS to bring the total taxes into the pricing procedure. Assigning a print flag in tax procedure will not help you in printing taxes.
What you have to do is tell the ABAP programmer to get the calculation done is smartform program.
This is the way you can show the break up in printing.
I think some programme logic is given in some threads in Forum-ABAP General.
This can only be acheived by programming in smart form.
Regards
Rajesh -
Signature not shown in print preview
hi ,
I have uploaded a signature in sap script as .tiff image through se78 and i am trying to see the print preview of the same.
It is not shown in print preview ,
I have embedded the image like this in editor.
/: BITMAP &ZFI_TP_SIGNATURE& OBJECT GRAPHICS ID BMAP TYPE BMON DPI 500
can any one tell me if there is anything wrong in this..?
Thanks,
KamalaHi Kamala,
1 Try to Print it and see whether it is printing or not , sometimes images will be overlapped with other windows so if u can print and see ,then we can know whats the issue , if its the printer or dimensions ..
2 also try to Print the Signature from SE78 and see whether it is printing..
surya
Maybe you are looking for
-
How to call database view in report
Hi i have a small problem in report the problem is like this i had created a database view in which i got all the values displayed but can any one of you tell me how to declare this database view in report with example i had created a database view n
-
I have an iphone 5 with ATT and sometimes (very randomly) when making a call, it does not make a ringing sound (like it is not connecting), but it has connected and the other person can hear me but I can't hear them at all. When I do try and say "he
-
Escaping full-screen mode in iTunes
I'm not able to find the icon in the menu bar that takes me back to normal view. Any other ways to do this?
-
Restoring old data onto new iPhone 4S
I had an iPhone 4 and just got the 4S, but when I plugged the 4S into my mac it registered as a new phone and didn't ask to restore it from my old one. How do I get my old data on this new phone?
-
Hello, since we're building a multi-language portal, I was wondering how one could go about doing such a thing. Is there some documentation describing such a situation? (except for the manuals :( ) First there is a anonymous authentication. Can I sep