Sap Abap Real Time Questions on Smartform and Sapscript

March 19, 2018 | Author: Saandip Dasguupta | Category: Subroutine, Portable Document Format, Software, Computer Programming, Areas Of Computer Science


Comments



Description

why sapscripts are client dependent and smartforms are cliet independent,plz give me a brief explanation,thanku. 0 Answer By design sap script is a word #1 processing tool which Jayshree displays data on the form with the help of text elements where the logic of those is written in the print program and Forms were designed to be driven from print program, hence are often termed as client dependent. Smart forms are client independent. Bcoz it doesn’t use any text elements. it will be executed through a function module. When a print program calls a Smart Form, the form itself takes over to produce output, without any further direction from print program. Is This Answer Correct ? 10 Yes 0 No Re: why sapscripts are client dependent and smartforms are cliet independent,plz give me a brief explanation,thank u. 0 Vijay Answer smartforms generates a function #2 module, in general fm r client independent, so smart forms are client independent. Is This Answer Correct ? 6 Yes 0 No Re: why sapscripts are client dependent and smartforms are cliet independent,plz give me a brief explanation,thank u. Answer sap scripts are by default store in #3 the form of text format, so any thing store in text format that is client dependent. smartforms: when we active a smartform , the smartform data can be stored in the form of function module, so function modules are client . 3>. you can read the data from this function module and store it in tdline that is in the export of the function module . 3>... 2>...... Answer goto-->tcode SO10 #3 Crete a text ... so smartforms also client independent.. say Z_text with the required data and goto script(se71)--->insert--->standard text---> /: include Z_text object texx id ST hence we can get any amount of data ... Is This Answer Correct ? 2 Yes 3 No Re: How to write long-text in SAP scripts? EX: I want to write text like below: * Terms and Conditions: 1>.. 3>. 2>. HOW CAN YOU CALL A PAGE EXPLICITLY IN SMART FORMS? HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM? How to write long-text in SAP scripts? EX: I want to write text like below: * Terms and Conditions: 1>.... #1 this is used to display the data from Rakesh Mishra long text . 0 Vivek Answer using this statement in SAPSCRIPT #2 INCLUDE &REGUD-TXTUN& OBJECT TEXT ID ADRS Is This Answer Correct ? 3 Yes 1 No Re: How to write long-text in SAP scripts? EX: I want to write text like below: * Terms and Conditions: 1>.... 0 Answer use the function module read_text .......independent . 2>.. right cluck on it then select flow logic then u can find command select that and write there new-page.then one event on sort end node will be displayes just right click on this node & select command option . Is This Answer Correct ? 9 Yes 1 No Re: How to put page-breaks in smartforms? Answer Logical databases are special ABAP #2 programs that retrieve 0 Upen data and make it available to application programs. then in command select go to new page checkbox & give new page name . #3 select a window . goto menu utilities -> # 1 Printing test b)no Clinet dependent . Dear Experts pls answer the folowing qs that i have faced in the recent intvws: a) Can we execute the script individually? If yes How? Else what we need to do so? b) Are Layout sets Client independent? c) How do you assign a print program to a script? d) Can we call a subroutine in a script? If so. how? e) What are the steps to print SAP script form? 0 Chandrababu Answer a)yes its possible.How to put page-breaks in smartforms? Answer in smartfoms under loop statement in #1 data tab select event 0 Nitin on sort end checkbox . The most common use of logical databases is still to read data from database tables and linking them to executable ABAP programs while setting the program contents Is This Answer Correct ? 2 Yes 12 No Re: How to put page-breaks in smartforms? Answer to put page-breaks in smartforms . For tht goto se38 and from thr use function modules OPEN_FORM. Is This Answer Correct ? 40 Yes 1 No . for # 2 that goto utilities --> printing test. Pass the Text elements in the function module WRITE_FORM. WRITE_FORM. CLOSE_FORM. Table is dynamic #2 and Template 1 Nsp is static.c)we can assign print program andscript in NACE T-code in the output type c)yes. by using Perform statement in scripts Is This Answer Correct ? 4 Yes 0 No Re: Dear Experts pls answer the folowing qs that i have faced in the recent intvws: a) Can we execute the script individually? If yes How? Else what we need to do so? b) Are Layout sets Client independent? c) How do you assign a print program to a script? d) Can we call a subroutine in a script? If so. u can see the output. but the text in Main windows can be seen only when u run a driver program. By doing so u can view the texts placed in ur variable windows . how? e) What are the steps to print SAP script form? Answer U can execute ur script individually. and execute it. what is the differance b/w template and table in Smartforms? Answer Simply saying that Table is Static and #1 Template is Dynamic Is This Answer Correct ? 0 Surendra Reddy 1 Yes 31 No Re: what is the differance b/w template and table in Smartforms? Answer I think it is the other way. Chennai Desig.S/W Native . They are used in secondary windows. #5 Template is fixed in size.Re: what is the differance b/w template and table in Smartforms? Answer Templates are meant for Static data and Tables #3 are used in 2 Shweta case of Dynamic data. page. 0 Mishra Templates are static in nature. We can say Template is for static data and Table is for dynamic data.Mumbai Then for proper allighnment we can create a .Krishna Company. table.Output of a table containing application data and these are the Possible direct successors-as with template node Template is used for proper allignment of data which table is used for displaying multiple data. Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:Name. Is This Answer Correct ? 6 Yes 0 No Re: what is the differance b/w template and table in Smartforms? Answer Table exteds dynamically. template is Output of a table containing static data these are the Possible direct successors-All except window. Is This Answer Correct ? 12 Yes 0 No Re: what is the differance b/w template and table in Smartforms? Answer Tables are the dynamic in nature.WIPRO Location. and template nodes Table . #4 Tables are used in main window. se71. Table has 3 sections . In Smartforms or ADOBE Forms Can we get text from standard table in verticle form? if yes. How? what is sap scriptview ? . HEADER. ITEM .FOOTER The header secntion will be executed once and it will loop at the item level. When we include a template inside a loop it gives the same property as a table. how to copy client to client in scripts? Answer Check Out the SAP Standard program: #1 RSTXCPY Is This Answer Correct ? 0 Kubera 2 Yes 2 No Re: how to copy client to client in scripts? Answer If it is to copy script between #2 clients then. When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output. utilities-copy frm client. at the end footer will be executed. How to debug smartforms? Answer the function module which is generated when you #1 execute a smartform. goto menu utilities -> printing # 1 test to find versions of the script goto menu utilities -> vesions Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading? I wrote one script program.Now i want to transfer this program from development to production system so that output is displayed correct in production.so if u want to #2 transfer script program then firstly u need to make a copy of ur script form from development server to production server with T-code SCC1 then your script program will run properly. The main Guest problem I faced is logical destination (Printer's name in SAP). then click on display . system. Attach the same printer name which user is going to use & again allign at Dev.How to test a script?how to find versions in scripts? Answer To test a script.In development showing correct output but whereas in production somewhat difference. then transfer the request on Production.Now i want to transfer this program from development to production system so that output is displayed correct in production.In development showing correct output but whereas in production somewhat difference.So what is the problem? Answer script is client dependent.please give me the steps. but not in Production. copy that function module 0 Vinit name and paste it in se37.please give me the steps.So what is the problem? 0 Answer If the 'Script program' has proper display in #1 Dev. Is This Answer Correct ? 2 Yes 0 No Re: I wrote one script program. break-point. So whenever you call the smartforms.bandi facility not aviable so we going to define nodes for creating the windows Is This Answer Correct ? 1 Yes 7 No Re: what are nodes in smart forms? Answer There are diff nodes avilable in SF like: #2 -window -Graphic -Address -Text -Table -Template -FlowLogic -Folder...and set breakpoints to debug ur smartform. it will stop at this breakpoint and you can debug onwards... insert a "Program Line" just above the node you want to debug and this program line write a normal abap reakpoint. what are nodes in smart forms? Answer In script we have to create the new windows # 1 but where as in smart forms that kind of 0 Venkatesh. Is This Answer Correct ? 9 Yes 1 No Re: How to debug smartforms? Answer 1) One way to debug smartform is to debug the #2 Function Module of that smartforms.. etc. If you want to debug particular smartform node that the solution would be. 2) SFTRACE can be used for debugging SMARTFORMS. . hope it is clear by now. Converting a SAPscript style 1.How can i do that? Answer In se71. 2. Can we create internal table in smart forms or scripts?if yes where and how? how to migrate standard text in sap script to smart form? 0 Answer You can migrate a SAPscript form into a Smart Saifur #1 Rahaman Form and convert a SAPscript style into a Smart Style. Go to the Smart Styles inital screen (transaction SMARTSTYLES ). 6.etc) of that according to the new alignment place.i want to change alighnment of windows in scripts.sapscriptname-change. Choose Smart Styles ® Convert SAPscript style. Enter the name of the SAPscript style you want to convert and Press Enter.To activate the Smart Style choose Activate. 4. In the Style name field enter the name of the Smart Style you want to create. . the system converts all paragraph and character formats with all their properties and attributes without any changes. Thus you can use the converted Smart Style without making any adaptations. Is This Answer Correct ? 0 Mishra 1 Yes 1 No Re: i want to change alighnment of windows in scripts.How can i do that? Answer if u have window which is already created. #1 In administrative screen. #2 select that page window and change the measurements(width.UTILITIES-OPTIONS. You can now change the Smart Style Change).height. 5. 3. Choose Back. When converting a SAPscript style into a Smart Style. Alist of the converted styles appears. Type the SAPscript Name for which we have find the Driver Program in the field FONAM and execute(F8) PGNAM field of the result display contains the Driver Program Name for our SAPscript Is This Answer Correct ? 4 Yes 3 No Re: how to find the driver program of a script without touching its print program? Answer Go to the SE71 and enter the u r script name #3 and press display and go to the form menu and 0 Sabitha . called FB_MIGRATE_FORM. You can also do this one-by-one in transaction SMARTFORMS. Get the Contents of the 0 Saifur Rahaman Table(CNTRL+SHIFT+F10) 3. On the Table Content Selection Screen. under Utilities -> Migrate SAPscript form. how to find the driver program of a script without touching its print program? 0 Answer Go to tnapr table and give the script name and #1 output type u will get the driver program name. Is This Answer Correct ? Nar 4 Yes 7 No Re: how to find the driver program of a script without touching its print program? Answer 1. This is basically a function module. Go to the Table TNAPR using SE11 #2 2.Is This Answer Correct ? 2 Yes 2 No Re: how to migrate standard text in sap script to smart form? Answer SAP provides a conversion for SAPscript #2 documents to SMARTforms. etc. Copy the from MEDRUCK into a Zname form. The possible way to do it :: . you can find in tcode NACE. Is This Answer Correct ? 6 Yes 4 No Re: how to find the driver program of a script without touching its print program? Answer IN NACE transaction code u can find all #4 standard print programs Did u create the script or u have only modified?how did u modified Medruck?did u came across any errors while modifying?after adding the logo wer did u store that? Answer Generally. There are structures used in Scripts which hold the data entered by the user. You don't create a PO using MEDRUCK. we modify existing sap scripts #1 provided by SAP rather than creating one. MEDRUCK is the form for PO.. after making modificatons in it you need to execute zmedruck ie instead of medruck zmedruck should be executed. There might be some requirment like you have to copy medruck as zmedruck. 0 Saifur Rahaman Unless you have to do something new for your client like Labels or Packaging card. using Std text for Terms and Conditions. get xtra data if client is asking for somethign more. there is an option in Utilities as COPY ffrom Source client (000). MEDRUCK is the form used to print a PO that has been created. These structures are used to get data from Database.select the check then u can get the Print program name. alignment of windows as per client requirement. The common changes wud b inserting a logo. Look at MEDRUCK form and it would have a print program. Goto SE71. for configuration Go to NACE Transaction.. Is This Answer Correct ? 5 Yes 0 No Re: Did u create the script or u have only modified?how did u modified Medruck?did u came across any errors while modifying?after adding the logo wer did u store that? Answer If u want to create new script go to SE71 #2 create it. how can you display data say "your name"in smart forms & sapscript without print program or driver program ? Smartform output in PDF at your screen. Copy the standard one means go to Utilities->Select(copy from client)give the client number->Target script name(eg: Zmedruck). 4) Change to change mode For short text 'Print Output' Change form name freom 'MEDRUCK' to 'ZMEDRUCK'. 3) In Output types select 'NEU' tab now dounble click on processing routines. Then the script copied. 5) Now save and go back.1) Go to T-code 'NACE' 2) click on Application 'EV' click on push button 'output types'. . 6) now whenever u execute 'ME23N' The form ZMEDRUCK will be displayed insted of MEDRUCK. How to make smartform output into PDF?what r the step and requirments? Answer You Can get smart form output in PDF format by writing # 1 a executable program with HTML Viewver. Data diclaration for HTML Container: data:g_html_container type ref to cl_gui_custom_container. 3. Call Function Module 'CONVERT_OTF' and pass "l_job_output_info-otfdata". g_html_control type ref to cl_giu_htm_viewer. 2. Fill ur data in internal table and call your smart form. DATA : ls_control_param TYPE ssfctrlop. Pass Values to Smartform CALL FUNCTION '/1BCDWB/SF00000166' EXPORTING control_parameters = ls_control_param e_tpseg_start_date = lv_e_tpseg_start_date e_tpseg_end_date = lv_e_tpseg_end_date IMPORTING job_output_info = l_job_output_info TABLES et_trip = lt_trip EXCEPTIONS formatting_error = 1 internal_error = 2 send_error = 3 user_canceled = 4 OTHERS = 5. . Steps: 1. DATA : l_job_output_info TYPE ssfcrescl. 3. You will Get data into OTF Format in "l_job_output_info". lv_url type char(255). Create a Screen '100' for your program and create a Custom Control with name PDF. You have to convert Data in PDF Format so. . 4 . CALL SCREEN 100.CALL FUNCTION 'CONVERT_OTF' EXPORTING format IMPORTING bin_filesize bin_file report_pdf TABLES otf lines EXCEPTIONS err_max_linewidth err_format err_conv_not_possible OTHERS = 'PDF' = pdf_fsize = p_c_ztr_reports= l_job_output_info-otfdata = lt_pdf = = = = 1 2 3 4. You Will Get converted data into a internal table "lt_data". * Convert xstring to binary table to pass to the LOAD_DATA *method CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = p_c_ztr_reports-report_pdf TABLES binary_tab = lt_data. You can use c_ztr_reports-report_pdf to load PDF Data into HTML Control by converting Xstring to binary table by function module 'SCMS_XSTRING_TO_BINARY'. 5. Call Your Screen '100'. 6. 7. Create object for HTML Container Create Object g_html_container exporting Container_name = 'PDF' " Name You have mentioned for Control Conatiner Screen. In PBO Module of 100 Screen. 9.8. call method g_html_control->show_url( url = lv_url in_place ='X'). 10. Pass you defined html container to HTMl Control Create OBJECT g_htnl_contol exporting parent = g_html_container. * Load the HTML CALL METHOD g_html_control->load_data( EXPORTING type = 'application' subtype = 'pdf' IMPORTING assigned_url = lv_url CHANGING data_table = lt_data EXCEPTIONS dp_invalid_parameter = 1 dp_error_general = 2 cntl_error = 3 OTHERS = 4 ). . From this Method u will get URL in lv_url. call method to show ur url at Your Screen. call intance method load data and pass your converted table into this method.
Copyright © 2024 DOKUMEN.SITE Inc.