Friday, May 8, 2015

SAP ABAP : SMART FORMS

http://sap-interview-questions-and-answers.blogspot.in/2012/07/sap-webdynpro-abap-interview-questions.html


*An SAP R/3 system has 2 clients 800 & 810. You create an SAP Script Z_Script and a Smartform Z_Smartform in client 800. Will both Z_Script and Z_Smartform be available in client 810 as well?
Client 200 will have just the Smartform Z_Smartform and not the SAP Script Z_Script.

SAP-Script is client dependent whereas SMARTFORM is client independent. Many people don't understand what this is all about. The above answer should suffice. However, if you still do not understand this, find an SAP system where you have 2 clients. Create a dummy Smartform / script in one client and check whether they exist in the other client.

*You have created a Smartform in DEV environment. Then you migrated the Smartform to PROD environment. Will the name of the function module be same in DEV and PROD?
Once you transport the Smartform from DEV to PROD environment, a new function module name for the Smartform in generated in the PROD environment. For a particular Smartform , generated function module names are different in different systems.One can get the name of the function module for Smartform by passing the Smartform name to FM SSF_FUNCTION_MODULE_NAME.


===================================================================================
  • SMART FORMS TRANSACTIONS:
    • SMARTFORMS (SE71 for scripts)
      SMARTSTYLES (se72 for scripts)
  • We can copy smartforms directly while in scripts we have to use utilities->copy from client option for this.
  • Smart forms are client independent.
  • smart forms can be created without a main window.
  • utiliteis->migrate-> ... to change SAP Script to a Smart forms.
  • SSF_FUNCTION_MODULE_NAME to get the function module name for smart form.
  • take a thumb rule that always create print program first than the smart form because we know the structure we have to display.
  • we create a print program for a smart form because we want to improve the performance of our application.
  • If we write all logic and data fetch logic in the smart forms itself, it may hamper the performance.
  • in script we use command IT (Item line) to loop data of an internal table and display it.
  • RS_LXE_RECORD_TORDER to transport request with translation from SE63.
  • pdf!
  • background picture
  • bar code
  • graphic
  • alternative
  • Configure your Smartform name to output type using Tcode V/83


  • Finding Test data corresponding to the output type  

Go to transaction SE11 and enter the name of the table as NAST. Input condition type into KSCHL field.
B.    Execute and use value of OBJKEY.  
  
The value of the object key can then be used to look at the actual Purchase order / Sales Order etc. for which the Smartform was being developed.  
=====================================================================================
Windows in SMART FORM 
  • Main Window : 
  • Copy Window:
    • The variable SFSY-COPYCOUNT will give us the count of the copy.






No comments:

Post a Comment