Create section node in smartforms
Hi,
How to create section node in smartforms.
It is very urgent pls guide me.
Thanks in advance.
Ramakrishnaiah Y
Hello there,
The complex section unites the attributes of different nodes. Before the new node types for tables, templates, and loops were introduced, you used complex sections to deal with these contructions.
Older forms still use this node; but for new forms you should prefer the new node types.
SAP Strongly recommends to use Folder, Template, Table, and Loop instead of complex section. We dont even have the option of creating section in ECC 6.
REWARD POINTS IF U FIND IT USEFUL.
RACH.
Similar Messages
-
How to create Event Node in smartform
Hi Experts,
could you please tell me how to create event node in smartform
Thanks in Advance,
Thanks&Regards
GeethaHI,
plz explain your problem in deeply.
And as per me you first create page and righ click on it
Then create window as per your requirement.
if you want to put condition ot events true or false Righ click on your window
then goto flow logic -> Altenative
You can found 2 events in Condition.
So you can assign this events.If you want to put condition or event on test then goto Text here in General Attributes in bottom side you can find even on page.
Try it. -
What is the use of FOLDER NODE in SMARTFORMS?
what is the use of FOLDER NODE in SMARTFORMS?
please explain.Hi,
By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Reward all helpfull answers
Regards
Omkar -
How to create one node for multiple cards?
I want a single minor device node to act as the interface to all instances of my pci-cards.
I have the same pci-cards(pcixxx, xxx).You may want to create minor nodes on the fly
using cloning or makedevice() interface.
WDD has an example on it in xx_open() section,
I believe
Regards,
Cyril
I want a single minor device node to act as the
interface to all instances of my pci-cards.
I have the same pci-cards(pcixxx, xxx). -
How to create paragraph format in smartforms
Hi All,
Let me know how to create paragraph format in smartforms?
Thanks&Regards
MaheshHi
When we create a smartform we can see in <b>global settings</b> , <b>form attributes</b>.
In <b>form attributes</b> we set the over all style of the smartform. Goto <b>form attributes</b> and open the tab <b>output options</b>. Here you can see the <b>Style box</b>. In this style box we enter the smartstyle created in transaction code <b>smartstyles</b>.
Open transaction <b>smartstyles</b>.
Create a new style.
Upon creating a new style you will see 3 folder structures under style name.
1. Header data
2. Paragraph format
3. Character format
To create paragraph format right click on the paragraph format node and click Create Node. Give it name. Now you will get a screen with 4 tabs.
Indents and spacing
Fonts
Tabs
Numbering and outline
Here you can provide the look you want.
Now add this smartstyle in your smartform's form attribute.
You can also provide individual smartstyles to each text element you create by giving the name of smartstyle in its output options tab. Each text element has a individual output option tab here you can give any smartstyle.
Click on the general attribute tab of any text element and give the paragraph format directly or by going to SAPScript editor mode.
Any more questions you can ask me directly mailing me.
Please do reward points if satisfied. -
How to create a Node variable without fetching in Char Restriction.
Hi Expert - I got the refrence from this thread - [Hierarchy variables in webi / Universe;
to create a node variable for hierarchies.
Requirement - the characteristic on which you want to create a node variable must not be in Default section and in Free Characteristics Restriction
But - if we fetch any characteristic in free characteristic then it will appear in Default value section. I donu2019t want that , I donu2019t want that in Default Value section. how can i get this ?
Also I need to create a node variable on profit center characteristic it without fetching it into Free Characteristics Restriction, Can I do this? How ?Hi Ingo - Thanks for your valuable input.
After putting much efforts - here is result. I fixed my hierarchy , means now there is no hierarchy variable , And i just create a node variable by putting it into Bex characterstic restriction. - But it looks like this in Universe.
LovHierNodeL00 G/L Account
LovHierNodeL00 G/L AccountBase
LovHierNodeL01 G/L Account
LovHierNodeL01 G/L AccountBase
LovHierNodeL02 G/L Account
LovHierNodeL02 G/L AccountBase
LovHierNodeL03 G/L Account
LovHierNodeL03 G/L AccountBase
LovHierNodeL04 G/L Account
LovHierNodeL04 G/L AccountBase
Is this correct- ?
What i feel is correct - it should look like this -
LovG/L Account Node Variable
LovG/L Account Node VariableBase -
What is process to create a label in smartforms?
hi experts,
what is process to create a label in smartforms?
pzz help me
thankshi,
you create window
for secondary window :
right click on window ->create template--> go template tab
under template create TEXT node in that label is hard code
For main window:
right click on window ->create table line-->table tab
under template create TEXT node in that label is hard code
regards,
bhupal.
Edited by: bhupal reddy on Aug 6, 2008 8:19 AM -
How create a Paragraph in Smartform?
Hi,
How do U create a Paragraph in Smartforms?
Thanks,
KishanHi,
First GOTO SMARTSTYLE,
1.In change mode of the Smart Style, select the node
Paragraph Format and choose Create.
2.In the Paragraph Format field enter a two-character
paragraph key.
3.Select the desired attributes on the individual tabs.
4.Choose Activate.
Also Check this link,
http://help.sap.com/saphelp_erp2004/helpdata/en/8a/8c8a49def411d3969600a0c930660b/frameset.htm
Hope it helps u.
Thanks&Regards,
Ruthra.R -
Hello,
While doing page protection for several lines it is mentioned to create a file node. Could anyone tell me what is meant by a file node in smartforms?
Thanks,
DishantHi,
Folder node is what used to apply page protection for a definite number of lines in smartforms.
Regards,
Ram -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
Create Value node instance from structure at runtime
Hi,
I have a requirement where an internal table is given with some details.
Now I need to add each row of this internal table as one entity into a collection.
For this I need to create value node instance for each entry of the table and then
lr_collection->if_bol_bo_col~add( lr_entity ).
this to add to the collection.
Please tell me how to convert this one row of this table into entity.
Regards,
poojaTry it like this:
DATA: lt_data type table of ty_line.
DATA: ls_data type ty_line.
For the value nodes we need an data object
DATA: lr_line_ref type ref to ty_line.
The value node which should be added
DATA: lr_value_node type ref to cl_bsp_wd_value_node.
First create the reference structure
CREATE DATA lr_line_ref.
*Loop over you itab
LOOP AT lt_data into ls_data.
Create the value node based on the ref line
CREATE OBJECT lr_value_node
EXPORTING iv_data_ref = lr_line_ref.
Now set the data from the internal table
lr_value_node->set_properties( ls_data ).
Now add the created value node to the collection
lr_collection->if_bol_bo_col~add( lr_value_node ).
ENDLOOP. -
How to create Dynamic Window in Smartforms
Hi all,
Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
Thanks in Advance.
Vinay.hi,
Hi,
1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
company -code = '2201'.
2.Then that window can trigger ofr that condition.
3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
reward me if helpful. -
How to Create a Table in SmartForms...?
Hi,
I want to create a table in smartforms. can u tell me the procedure....?You can create a table type in the abap dictionary and then use it as type for the table in the global interface of the smartform.
-
When in a hierarchy, a user right clicks on a node to crate a new node, he has two options
-Child
-Sibling
Is it possible to restrict the user from creating a sibling and allow him to ONLY create child nodes?
Business cases:
1. different level nodes need to have different prefixes.
- Thus, the default prefix property definition uses the level number to assign a prefix
- Also, a validation, to ensure the correct prefix, uses the level number
But if the user can create a child and a sibling then the default prefix will only be right for a single case and not both.
ThanksIf the images are exactly the same size then make sure the layer with the mask
is the active layer and in the other documents go to Select>Load Selection and choose
your document with the layer mask under Source document and under channel choose the layer mask.
After the selection loads press the layer mask icon at the bottom of the layers panel.
MTSTUNER -
How to create a node in an interface in SFP transaction
Dear All
I am designing an Adobe forms template for which I am creating an interface.
To pass the values I need to create a main node which contains both subnodes and attributes.
How can we create a node for an interface?
Just to add, this node will get its data at run time from an ABAP web dynpro component. this component will get the data after executing some function modules.
Regards
Vineet VkramHi Vineet,
There is no way to create a node in the interface. But DDIC type interface can be created with similar structure to the node in the ABAP Web Dynpro Component.
Ranganathan.
Maybe you are looking for
-
Error while creating activity by using BAPI
Hi, While creating activity by using BAPI Im getting error as follows, Start processing of refference object handle generated. Integrity rule a d0008 broken business partner with function from vbkakom not vbpakom Integrity rule a d0008 broken edit al
-
Computer died & had to be restored before I could sync new iTune purchases
I made several purchases through iTunes store and before I could sync to iPod my computer died. With new computer, I can ee past purchases on activity but how can I get them to iPod without having to purchase again?
-
In and not in - stuck with exclusion problem
From the following data ID REF_NUM FLAG L000304T 117930 M L001538N 126199 R L001538N 126191 M L006339H 150427 N L008519X 139085 R L008519X 139075 M L008579J 402452 R L008579J 144668 M L008579J 402429 R L043884W 447519 R L043885H 303383 C L043886X 303
-
Changed disks in my RAID, Aperture lost all referenced masters.
I have a G-Speed eS RAID system. I had 4 X 1TB disks. I decided to change the hard disks to 2TB ones to double my storage capacity. I retained the same volume name. I backed up the 2.5TB of data to 3 other disks and then copied it back to my upgraded
-
Unable to read or write to disc error message
Just received Ipod 5G 30G as a gift. I have had no problem transferring music, and have converted several tv shows to itunes using tivo software. When I try to transfer a show to ipod, it gets about 3/4 of the way finished and then gives me the canno