Header text in Print inspection report
Dear gurus
I wish to enter the header text in u201CPrint inspection reportu201D after complition of the result (like Name of the client)
What settings I have to do?
Kindly help
MK
Happy New Year and fruitful postings to all SDN Family members!!
MK
Hi
I this can be achieved by the ,
make a copy of QM_INSP_RESULT : Form .std sap uses this form In program RQGAAM31.
You can customzed your own form and attach here.take help of ABAPER
Regards
Sujit
Similar Messages
-
Text item print in report???
Hi all
I have a problem in Report 6i
I created a report there is many field and text item
there is any possibility that if any field is empty related text item not print just like field.
suppose:
Text item data
Name........:- abc
Father Name.:-
any possibility if field father name empty, text "Father Name.:-" doesnt print in report.Duplicate of the thread :
text item print in report??? -
SAP SCRIPT: Header text not printing - Custom Purchase Order.
Hello Experts,
I have used the standard MEDRUCK and copied to ZMEDRUCK. I want the PO header text to print in my form.
I have used subroutine-pool and called it in the form.
Here is my subroutine
FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
TABLES EKKO.
DATA: BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
DATA HTEXT LIKE EKKO-EBELN.
* HTEXT = EKKO-EBELN.
READ TABLE in_tab WITH KEY EKKO-EBELN.
if sy-subrc = 0.
TNAME = in_tab-value.
ENDIF.
TNAME = EKKO-EBELN.
*CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
*MOVE v_head_text to HNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = 'F01'
language = 'E'
name = TNAME
object = 'EKKO'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER = TNAME
tables
lines = li_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CLEAR out_tab.
out_tab-VALUE = TNAME.
CONDENSE out_tab-VALUE.
MODIFY out_tab TRANSPORTING VALUE WHERE NAME = 'TNAME'.
ENDFORM.
And my script in the form is
PERFORM FETCH_TABLE_DATA IN PROGRAM ZMEDRUCK_SUBP2
USING &EKKO-EBELN&
CHANGING &TNAME&
ENDPERFORMpar RECEIVED FROM M/S &TNAME&
The header text is still not flowing in my form.
What mistake i'm I doing here ?
How can I resolve this ?
Pls help !Hi,
Data is li_lines internal table. 1st you have to read the text form the internal table line by sy-tabix.
At last you have to concatenate these variable into the out tab value.
you can use the following code
ORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
TABLES EKKO.
DATA: BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
DATA HTEXT LIKE EKKO-EBELN.
READ TABLE in_tab WITH KEY EKKO-EBELN.
if sy-subrc = 0.
TNAME = in_tab-value.
ENDIF.
ALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'F01'
language = 'E'
name = TNAME
object = 'EKKO'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = li_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data : f_lines TYPE i,
DESCRIBE TABLE li_lines LINES f_lines.
data: lstr type String,
lstr1 type string,
lstr2 type string,
lstr3 type string,
lstr4 type string.
read table li_lines index 1.
lstr = li_lines
condense lstr.
clear li_lines
read table li_lines index 2.
lstr1 = li_lines
condense lstr.
clear li_lines
read table li_lines index 3.
lstr2 = li_lines
condense lstr.
clear li_lines
if f_lines GT 3.
ead table li_lines index 4.
lstr3 = li_lines
condense lstr.
clear li_lines
ead table li_lines index 5.
lstr4 = li_lines
condense lstr.
clear li_lines
endif.
data : v_text type text.
concatenate lstr1 lstr2 lstr3 lstr4 into v_text separate by ' '.
CLEAR out_tab.
READ TABLE out_tab WITH KEY name = 'TNAME'.
out_tab-value = v_text
MODIFY out_tab INDEX sy-tabix.
Regards
Nayan Kumar -
QA32 - Print Inspection Report
Hi,
We created a user for QM, and we assinged him the
permission for QA32, QA02 & QA11.
When we excecute QA32, we are not able to view the Print Inspection Report button.
How can we get the same?
Regards,hi karn
Welcome to SDN forum.
i think you have to give the authorisation for <b>QGA3</b>,
if not after executing trx <b>QA32</b> immd. enter trx <b>/nSU53</b>
it will display the missing authorisation so that u can
give that authorisation.
Hope it helps.
Reward with points if it is helpful.
Regards
Alfred -
Header text not printed for scheduling agreement
Hi All,
I have issue with header text print out for scheduling agreement (SA).
In SA when I am manually writing some note and then taking print out, system is giving me correct output with maual note.
I have one standard text (ST) which I need to be printed in evry SA, so in SPRO I created new head text for vendor and in copying rule for text for SA, I created linkage of SA header text with Vendor head text.
In vendor master, I inserted ST in newly created vendor header text.
So now when ever I create new SA for vendor system will determin header text from vendor master.
Now after creating SA when I check the SA, I am able to my ST in SA, but at the time of print out this ST in not printing.
Please let me know what could be the reson.
Regards,
SameerI dont understand about what you mean by expand.
When you a print PO, PO text (header or item) it will check to the configuration setting.
The system didnt care if its adopted from vendor master or info record, or whatever you make in the copying rule.
In your case : you create a standard text then it get copied into PO , then you set the standard text to the PO for print out, example the standard text : word is
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Then in the PO the text appear will be like below(the same, because it get copied)
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
If you configure it in define text for SA, then it the print out it will also (the same)
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
So what text need to expand? -
PO header text in the PO report
Hi,
I try to develop a PO report & want to include the field PO header text.
Is it possible to extract the header text in a report.
If possible, can any body so kind to give me the technical specification of the PO header text.
Thanks in advance.
Regards,
sp sahuSahu,
there are n number of threads with sample coding in the forum for your question, pl just do a search..you could retrieve the po header/item texts using the fm READ_TEXT
if helpful, reward
Sathish. R -
Column heading change in print ALV report
Hi,
when i see ALV report output that time column heading is correct. but when i see print preview it's give another column heading.
like
column heading - Delivery Challan no it's come in print preview only delivery.
Thanks in Advance.
regards.
Sam.Hi,
thanks.
I have already use this in report.
like.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = POS.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-REF_TABNAME = 'LIPS'.
WA_FIELDCAT-SELTEXT_M = 'DELIVERY CHALLAN NO'.
WA_FIELDCAT-OUTPUTLEN = 20.
APPEND WA_FIELDCAT TO T_FIELDCAT.
Regard
Sam -
Displaying Header Text in ALV report.
HI Gurus,
I have one sales order which has header Text.
I am displaying that Header Text in my ALV report.
But while displaying in the ALV grid, the text is not coming full.
I have taken the datatype of the column of the ALV grid is string, Still the Header text is not come full.
Please help me.
Thanks in advance.Hi,
If the header text is morethan 60 characters, you can't print with REUSE_ALV_COMMENTARY_WRITE. To overcome above limit we can use dynamic document, which can be implemented through the class CL_DD_DOCUMENT. As dynamic documents use HTML viewer control so instead of triggering the TOP_OF_PAGE event we should trigger event of HTML TOP_OF_PAGE.
First create a subroutine for top of page in HTML format and send that name in I_CALLBACK_HTML_TOP_OF_PAGE parameter of ALV function module. The input parameter for this subroutine will be a variable of class CL_DD_DOCUMENT.
* FORM html_top_of_page *
FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
data: l_text(255) type c.
l_text = '*******************************Hellooooooooooooooooooo************************'.
CALL METHOD top->add_text EXPORTING text = 'Hello world '
sap_style = 'heading' .
CALL METHOD top->add_gap EXPORTING width = 200.
CALL METHOD top->add_picture EXPORTING picture_id = 'ENJOYSAP_LOGO'.
CALL METHOD top->NEW_LINE( ).
CALL METHOD top->add_text EXPORTING
text = l_text.
ENDFORM.
* Display ALV grid
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' " Use this event
i_callback_program = g_repid
i_structure_name = 'STRUCTURE'
TABLES
t_outtab = gt_outtab.
Regards
Bala Krishna -
Report painter header text with customize variable
Hi All,
Can we have a customize variable/ logic based on the selection parameter in the header text(not in the report's columns) in report painter? understand the standard sap provides a few standard options, gen, variables, sel. parameters, spec. variables and characteristics but non meet the requirement.
Requirement:
get the selection parameter fiscal year variable, display the value with a logic where if the posting period = 9 the fiscal year +1
all idea welcome. Thanks
Regards,
JohnHi Sarma tadikonda,
Thanks for the reply, but the offset provides the output control format? and it only take in numeric.
Regards,
John -
Report painter - Choosing column heading text
Hi SDN
I'm having a specific problem with getting the right column heading text into my G/L report painter report created in FGI2/FGI5. In the report painter form I have created the three texts for my column (short, medium and long text). In order for the heading to be meaningful I need the report to show the medium or long text. This is also the case when I run the report as object type Object list. Here the medium text is displayed. However, when I run the report as a Classic drilldown report or a Graphical report output the short column heading text is shown.
Now, I know from running the standard report 0SAPBLNCE-01 in FGI0 that it is possible to have the long column header text shown in the report, so I'm not willing to give up. But can any of you guys help me on how to make the report show the correct text?
Kind rgds
Steen KoefoedHi Anna and thanks for your suggestion. I have tried changing the header text length in the form as you suggested, but it does not seem to affect the display in neither of the three output types of the report. I assume that there must be a way to control the text header length specifically for each of the three output types. But how....
-
Print Bar code for inspection report
Dear all,
I have a requirement for printing bar code in the inspection report. Normally, we use QGA3 print inspection report which based on the script form. Now as I would like to add bar code, as I know, I have to use smart form to realize. but it can just enter Form in the standard way. So could anyone give me some useful suggestion to realize this requirement?
Thanks a lot.
Best regards,
Benny.Hi,
Identify corresponding form.In the character format we have to define the bar code and assign that one infornt of which we need the bar code.
eg:
SE71 screen if you go the character
there below you will get the bar code
specify one character for that bar code and
in place of which u want to print place it.
for eg u have character specified as bb,
and in place of Inspection lot (w_lot) you want to have bar code
the just type.
<bb>w_lot</>, this will print the bar code for instead of inspection lot
Regards,
Krishna Mohan
Edited by: Krishna Mohan N on Jan 22, 2008 7:26 AM -
Hi,
How can I print the header text language on the report that exist for a given sales order no.
e.g. for a given 0005500001 sales oder , header text exists in which of the languages. how can I print it on a report. How can I get that languages field informantion.
please do the needdful
thanks.
HemantHi,
u can do that using read_text fumction module...
by paasing the following
data: v_text_id like thead-tdid value 'ST' , "ID LIKE THEAD-TDID
v_text_name like thead-tdname,"NAME LIKE THEAD-TDNAME
v_text_object like thead-tdobject 'TEXT', "OBJECT LIKE THEAD-TDOBJECT
v_language like thead-tdspras.
pass ur vblen to v_text_name.
refresh: p_text_tab.
call function 'READ_TEXT'
exporting
id = v_text_id
language = v_language
name = v_text_name
object = v_text_object
tables
lines = p_text_tab
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
Madhavi -
Inspection report Form QM_INSP_RESULT -result printout Error ( 626109 / 201
in QA32 Transaction when we are printing Inspection report in English
langauge Form QM_INSP_RESULT -result printout there is an error
"Text element does not exist" and it is giving ABAP dump
I have Test all below steps - Log on SAP in DE - works fine in DE
Did anybody faced similar issue?Hi All,
You can implement the exit QSS10001 and call your Z smartform from there and then just set
e_exit_activ = 'X' at the end(This will stop standard script ). This will work. Please let me know your further queries regarding this.
Thank you.
Message was edited by: Craig S -
I have a link in a report that calls another report. The link information being passed to the report is :ename, :emp_id. I would like to print these values on the report header text.
Emp Name: bob Emp ID: 10000
field1 field2 field3
1
2
3Hi,
You can do it in the additional plsql code section.
Say department is being passed to the report. Here is a sample code to print the deparment being passed.
for i in 1..p_arg_names.count
loop
if p_arg_names(i) = 'department' then
htp.p('Department :'||p_arg_values(i));
end if;
end loop;
Thanks,
Sharmila -
Conditional Header and Footer description print in Report
Hello,
Is it possible to print different header or footer of a report depend on condition.
My requirement to change the header and footer description on a fly depend upon the parameter passed to the report.
Any soultion ...
Samhello samar
of course this is possible. paint your first desidered header/footer, place it in frame and add format trigger on this frame to display it when you want it, otherswise return false. the same is for other possible headers/footers. then place all those frames on same position. look at conditions to display only one header/footer at a time :)
or seccond (in case of simplier structure) is to place in header/footer only one bolierplate text with value f.e. &p_footer and then send value you want to see in footer n parameter p_footer ...
hth
Petr Valouch, Brainbench MVP for Oracle Programming, http://www.brainbench.com
Maybe you are looking for
-
Having alot of trouble in file reading in java
i dont know. but i feel really bad that Java is a very good OOP language and i suck big time (not very bad but got frustrated) in reading and writing files. some of the time i have accomplish my task with the help of forums. anyways first i would lik
-
Wat phone do u think its d best
i rilly need 2 know
-
My Mac Book Pro is getting very slow (2009) I want to replace 250 optical drive foe a 256 SSD Samsung850 pro drive. What is the best way to proceed. I am running Yosemite now. Have the SSD drive formatted and a back up made of my old drive. Do I hav
-
Where do I find iPad Air backup extractor for iOS 7.0
Where do I find the backup extractor to download for my iPad Air iOS 7 to recover deleted photos?
-
Is it normal for it to heat up?
Hi, I just got and set up an airport express so that it would be ready when my iPad arrives today but I did have a question. It heats up. Is that normal? Thanks, Martha