HI Regarding smartforms
HI,
1. I downloaded one smartform.
If in that text in the text element is written ater some spaces.
IF i upload the same form ,will the layout come same, or text in the textelements is moved left?
2. How can i see history of changes done to the smartform layout(like username, date......)
3.If we save the smartform in one request and after that if we delete that request or object in the request,
can we get that information?who has done changes?
Regards
Ramakrishna L
1. It will be same.
2. From transport Requests.
3. No
4. Search forum for this kind of queries.
Similar Messages
-
Regarding smartforms very urgent
Hi All,
I have created a smartfrom.In that I have converted smartform output to html.Now I am sending this HTML output as an attachment to an email address but here I am unable to add graphic to the HTML ouput.How can I do this.
Regards,
shravanhi sharavan,
just try this code, u can get the solution.
*& Report ZINV_FORM
report zinv_form.
tables: vbrk,vbrp.
*TYPES: BEGIN OF t_itab,
vbeln TYPE vbeln_vf,
fkdat TYPE fkdat,
name1 TYPE name1_gp,
addr TYPE c.
*TYPES: END OF t_itab.
types : begin of ty_binary,
binary_field(1000) type c,
end of ty_binary.
data: g_name_itab type standard table of zinv_name.
data: g_name_wa type line of zinv_namet.
data: g_head_itab type standard table of zinv_str_head.
data: g_head_wa type line of zinv_ttype_head.
data: g_item_itab type standard table of zinv_str_item.
data: g_item_wa type line of zinv_ttype_item.
data: g_tot_tab type standard table of zinv_str.
data: g_tot_wa type line of zinv_ttype.
data: g_pay_tab type standard table of zinv_pay_str.
data: g_pay_wa type line of zinv_pay_tab.
data: l_index type i.
data: sf_name type rs38l_fnam.
data: ssfcrescl type ssfcrescl,
final_ssfcrescl type ssfcrescl,
xstring type xstring,
l_data_tab type standard table of ty_binary,
tline type table of tline with header line,
ls_out_opt type ssfcompop,
filesize type i,
l_pac_list type standard table of sopcklsti1,
l_pac_list LIKE sodocchgi1,
l_docu_data LIKE sodocchgi1-doc_size,
l_doc_chng type sodocchgi1,
l_receivers type standard table of somlreci1.
select-options: s_inv for vbrk-vbeln.
*PARAMETERS: p_inv LIKE vbrk-vbeln default '90005298'.
*PARAMETERS: p_email1 LIKE somlreci1-receiver.
start-of-selection.
perform get_header.
perform get_item.
perform get_name.
perform call_form.
PERFORM send_email.
*& Form get_header
text
form get_header.
select vbeln fkdat kunag zterm from vbrk into corresponding fields of table
g_head_itab where vbeln in s_inv.
loop at g_head_itab into g_head_wa.
select zterm text1 spras from t052u into table g_pay_tab where zterm = g_head_wa-zterm
and spras = sy-langu.
l_index = sy-tabix.
read table g_pay_tab into g_pay_wa index l_index.
move: g_pay_wa-text1 to g_tot_wa-text1.
move-corresponding g_head_wa to g_tot_wa.
append g_tot_wa to g_tot_tab.
endloop.
endform. "get_header
*& Form get_item
text
form get_item.
select vbeln posnr arktx fkimg netwr mwsbp from vbrp into corresponding fields of table g_item_itab
for all entries in g_head_itab where vbeln eq g_head_itab-vbeln.
loop at g_head_itab into g_head_wa.
l_index = sy-tabix.
g_item_wa-tot = g_item_wa-fkimg * g_item_wa-netwr.
MODIFY g_item_itab FROM g_item_wa INDEX l_index.
data: l_tab_item type standard table of zex_struct.
data: l_wa_item like line of l_tab_item.
clear l_tab_item[].
call function 'ZAPR_GET_COND_DETAILS'
exporting
i_vbeln = g_head_wa-vbeln
I_POSNR =
I_KSCHL =
tables
export_tab = l_tab_item.
EXCEPTIONS
INCORRECT_INV_NUMBER = 1
COND_REC_NOT_FOUND = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
delete l_tab_item where kschl ne 'PR00'.
loop at l_tab_item into l_wa_item.
l_index = sy-tabix.
move l_wa_item-kbetr to g_item_wa-kbetr.
modify g_item_itab from g_item_wa transporting kbetr where posnr = l_wa_item-posnr
and vbeln = g_head_wa-vbeln.
endloop.
endloop.
endform. "get_item
*& Form get_name
text
form get_name.
select name1 kunnr from kna1 into corresponding fields of table g_name_itab
for all entries in g_head_itab where kunnr = g_head_itab-kunag.
if sy-subrc = 0.
loop at g_name_itab into g_name_wa .
l_index = sy-tabix.
call function 'Z_DR_GET_CUSTOMER_ADDRESS'
exporting
customerno = g_name_wa-kunnr
importing
customer_city = g_name_wa-ort01
customer_street = g_name_wa-stras
customer_country = g_name_wa-landx
customer_zipcode = g_name_wa-pstlz.
modify g_name_itab from g_name_wa index l_index.
endloop.
loop at g_name_itab into g_name_wa .
move-corresponding g_name_wa to g_tot_wa.
modify g_tot_tab from g_tot_wa
transporting ort01 stras landx name1 pstlz where kunag = g_name_wa-kunnr.
endloop.
endif.
endform. "get_name
end-of-selection.
*& Form call_form
text
--> p1 text
<-- p2 text
form call_form .
data: wa_output type zinv_str,
gt_header type table of zinv_str_head,
gt_temp type table of zinv_str_item,
wa_header type zinv_str_head,
l_lines type i,
l_tabix type sy-tabix,
l_ssfctrlop type ssfctrlop.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZINV_FORM1'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = sf_name.
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
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 g_tot_tab[].
g_tot_tab[] = gt_output[].
gt_temp[] = gt_output[].
DELETE ADJACENT DUPLICATES FROM gt_header COMPARING order_number.
describe table g_head_itab lines l_lines.
gt_temp[] = g_item_itab[].
l_ssfctrlop-no_dialog = 'X'.
l_ssfctrlop-preview = 'X'.
l_ssfctrlop-getotf = 'X'.
ls_out_opt-tdnoprev = 'X'.
ls_out_opt-tddest = 'locl'.
loop at g_tot_tab into g_tot_wa.
g_item_itab[] = gt_temp[].
delete g_item_itab where vbeln ne g_tot_wa-vbeln.
loop at g_item_itab into g_item_wa.
move: sy-tabix to g_item_wa-sino.
modify g_item_itab from g_item_wa.
endloop.
add 1 to l_tabix.
if l_tabix gt 1 and l_tabix le l_lines.
l_ssfctrlop-no_open = 'X'.
endif.
if l_tabix eq l_lines.
l_ssfctrlop-no_close = space.
else.
l_ssfctrlop-no_close = 'X'.
endif.
call function sf_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = l_ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = ls_out_opt
USER_SETTINGS = 'X'
is_inv_header = g_tot_wa
importing
DOCUMENT_OUTPUT_INFO =
job_output_info = ssfcrescl
JOB_OUTPUT_OPTIONS =
tables
l_itab = g_item_itab
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.
APPEND LINES OF ssfcrescl-otfdata TO final_ssfcrescl-otfdata.
endloop.
call function 'CONVERT_OTF'
exporting
format = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
importing
bin_filesize = filesize
bin_file = xstring
tables
otf = final_ssfcrescl-otfdata
lines = tline
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 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.
call function 'SCMS_XSTRING_TO_BINARY'
exporting
buffer = xstring
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
tables
binary_tab = l_data_tab.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = 'C:\invoice.pdf'
filetype = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
IMPORTING
FILELENGTH =
tables
data_tab = l_data_tab
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. "call_form
**& Form send_email
text
*FORM send_email.
Document information.
**wa_doc_chng-obj_name = 'Smartform'.
**wa_doc_chng-expiry_dat = sy-datum + 10.
**wa_doc_chng-obj_descr = 'Smart form output'.
**wa_doc_chng-sensitivty = 'F'. "Functional object
**wa_doc_chng-doc_size = v_lines_txt * 255.
**data:i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = l_doc_chng
put_in_outbox = 'X'
sender_address = sder_add
sender_address_type = 'U'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
SENDER_ID =
TABLES
packing_list = l_pac_list
OBJECT_HEADER =
CONTENTS_BIN =
CONTENTS_TXT =
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = l_receivers
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 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.
*ENDFORM. "send_email
regards,
seshu. -
Regarding Smartforms and Print Programs in MM
HI
ALL
I need to customise the all the standard smartforms Purchase Requisition , Purchase Order,Goods receipt,Goods issue,Goods return in MM .For this I need the standard smartforms and driven programs(Print Programs) for these . send me the smartforms and printprograms for these.
Regards
VenkatHi,
You can goto 'NACE' transaction and select the Required Application then Click on OUTPUT TYPES and select the required Output type and click on PROCESSING ROUTINES.
In this way you can get the standard Smartforms.
Hope this may be helpful,
Regards,
Sravanthi -
Regarding Smartform Function module
Hi,
When i am executing the smartform function module via print program, Smart form output is displaying properly but it is not showing any OTF data in the importing parameter JOB_OUTPUT_INFO . (JOB_OUTPUT_INFO-OTFDATA). Why it is happening? Could you please help me in this regard?To get the OTF data you need to set the GETOTF parameter in the Control Parameters of the Smartforms.
DATA: LS_CONTROL TYPE SSFCTRLOP. " Controlling info
LS_CONTROL-GETOTF = 'X'.
CALL FUNCTION WF_FM
EXPORTING
CONTROL_PARAMETERS = LS_CONTROL
IMPORTING
JOB_OUTPUT_INFO = WF_OUTDATA
I guess, when we set the GETOTF flag, it will not generate the output and only puts the data JOB_OUTPUT_INFO-OTFDATA.
Regards,
Naimesh Patel -
Regarding Smartforms Main Window
Hi SAP Gurus,
In a customized smartform,
i am having an output :
srl no mat no mat desc quan uom rate
10 123456 aaaaaaaaa 55 MM 4500
sales tx : 123
cst : 2%
for Eg,Like this are 10 line items, now while prining, at the bottom of the page it is printing the line item but sales tax and cst are starting on a new page, but the requirement is to display salestax and cst along with it .
Plz help,
Thanks & Regards,
Pavan.Hi,
All the above responses are very good but i think i had not get a clear picture.
Select your table node and in the table tab details you will find your line type on your line type you will find a check box with
No page break then check the check box it will solve your problem.
If the above problem is not solved your solution then the check the text element output options and above and below text elemtes also check whether any new line new cell are checked or not these two doesn't need to be checked and better to
write all the three in a single text element may be problem is with your new line & new cell options.
If not solved your problem please mention much clear what you did so we can get much clear idea.
Thanks,
Phani. -
Regarding smartform page wise total.
hi
guru's
i am having doubt on smartform
i want to caluclate sum of qunatities in pagewise
Regards
AnandHello Anand ,
Really good Question.
As per my knowledge and understanding it is possible only a only when , when the you know the no of row you can print in Main window like......
In my Main Window I can print 5 Row . Then in the Footer you can Code like this. That's i don't thing big issue. But majar thing on the basic of your data in internal table (you can say how many row can be printed in first and so on page).
I haven't done this yet , quite sure it will help you.
Regards
Swati namdeo -
hi,
i have a problem in printing of smartform.i.e i want to display the column header information in all pages.Hi,
The column heading should be used in main page, then only it will appear in all pages.
regards,
Santosh Thorat -
Hi Experts,
I have a requirement in which I am sending a mail through actions.In the action I have mentioned the smartform.The email sent should have voting buttons such as 'YES' and 'NO'.
If the reciever replies back to the email and selects 'YES' the subject line should get propagated with the string 'YES'.
Is this possible using smartforms?
Thanks and Regards
ShilpiHello Mr Grover,
I tried doing as said in that thread but I could not get it right .Could any one tell me where am i going wrong .
g_Control_parameters-NO_DIALOG = 'X'.
g_Control_parameters-PREVIEW = 'X'.
g_OUTPUT_OPTIONS-TDDEST = 'locl'.
*-- to suppress the print preview option .
CALL FUNCTION 'SSF_OPEN'
EXPORTING
OUTPUT_OPTIONS = G_output_options
CONTROL_PARAMETERS = g_control_parameters
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHR_SCR_L03'
IMPORTING
FM_NAME = WF_FNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
" MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION WF_FNAME
TABLES
INT_SALARY = INT_SALARY
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
" here the sy-subrc is coming as 2 WHY?
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-"MSGV4.
ENDIF.
CALL FUNCTION 'SSF_CLOSE'
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
"* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
MESSAGE S082(Z1)."'No salary has been Changed during the selected period' TYPE 'S'.
ENDIF.
Thanks
Message was edited by:
Khaleel S.Mohammed -
hi guru's,
i have a requirement to develop a purchase order smartform which takes in purchase order no i.e. EBELN as input and display MATNR MENGE MEINS NETPR NETWR from ekko table and with the above MATNR no it should display MAKTX from MAKT and EINDT from EKET adjacent to the above field .here we require two loops i.e loop for ekko and another loop for eket and makt under ekko.and with the above EBELN it should also disply the vendor address in another field.
can anyone help with looping one under another.
thanks and regards,
siriHi Sirisha,
Please find below the links which contain the tutorials on SMART FORMS.In may of the tutorials we have the concept of looping one under the other.
http://www.****************/Tutorials/Smartforms/SFMain.htm
Warm Regards
R Adarsh -
Regarding Smartform changes not reflecting in e-mail
Hi Experts,
You all know that In solution manager when ever you fill the transaction CRMD_ORDER and click
on some action E-mail will be triggered and this is done through a smart form mail which is assigned to
that particular action.
Now my requirement is to change some text in e-mail to bold.So,i did changes in smartform simply by
making the required text to bold.But the bold changes are not reflecting in e-mail.Still its displaying plain
content.So please suggest me what may be the problem.
The processing class used is :CL_DOC_PROCESSING_CRM_ORDER
and the method is : CRM_SRVORDER_EXEC_SMART_FORM
REGARDS,
PAVAN T.Try to add some other text to see if the new smart form is used. If not please activate the new smart form and reschedule the action.
Regards -
Dear all,
1.I have a smartform with 3 pages when i clicks on print it will print 3 pages.But some times I want to print only 2nd page in smartform is there any option to print 2nd page only
2.In second page I have 5 secondary windows and one main window ,23secondary windows are above the main window
adn remaining secondary window are below the main window.
if main window data flows to some 4 or more pages in every page all the secondary windows are displaying
for that i put coditions only after end of main widow after that when i see print preview in 2nd and 3rd and 4 th pages only main window data is displaying but below main window in each page it is showing empty spaces like blank?
please suggest how to do this.
Thanks&Regards
suresh.MFirst question:
if i pass values as 2 in output_options in smartform function module it is printing only 2nd page
how put parameter for that one so that user cal select page 1 or 2 or 3 or all
how to achieve this one.
Second question
below the main window there are secondary windows which are showing at the end of main window
but if main window flows to further pages it is displaying as blanks
i got one idea putting all secondary windows in the footer of the table(main window) but in the secondary window i have template i cant put it in the footer.
Regards
suresh -
Regarding SmartForms -- Graphics Node
Hi,
I imported SAP logo (which is in sap.com site) using the transaction se78.
Now I am using this in my smartform for the graphics node.
But I am not getting the full picture.
Bottom portion of the picture is with some blue color like a rectangle.
What may be the problem?
Please help me soon.
Thanks and regards
Balakrishna.NIf I try to get it printed , I got the error message like:
Exception: SEND_ERROR
Messge ID: SPOC
Message :
Messge Numebr : 003
Error in spool C call: spool overflow
What does it mean?
What should I do to rectify the error and get the form printed. -
Regarding smartforms Table & Template.
Hi Experts..
i want to know the difference between table and template in smartforms.
when we have to go for table and when to template??
Thanks & Regards,
sathish.Template:
Output of a table containing static data. That is when u know the amount of data u have (i.e. fixed data), you use a template.
Table:
When the data is of variable length and u dont know how many record lines u r going to have, you use a table. But u can also use the table as a dynamic template by unchecking the 'loop at internal table' check box in the data tab of the table node.
In brief, template is for static data and table is for dynamic data. -
Regarding Smartform Assigning to TCODE MR90
Hi Friends,
I have my Print program and Smartform designed for which if i see Print preview it looks fine .
But when this Print porgram assigned to Tcode MR90.
There when i am seeing Print preview i still get my O/p as expected But when i hit Execute button for which spool get created some times certain values which are totals in my smartform values changes for the same in print preview looks Good.
What can be the issue when i get my preview correct but Spool data shown incorrectly.
Regards,
PoornimaHi Sachin,
These are variable which i am populating in Printprogram and passing through Interface parameters .
If its the case with clearing varible should it not be the case with when i see preview also ?
But Thanks for the reply.
trying on the same end clearing variable and all .
Regards,
Poornima
Edited by: Pendyala_poornima on Dec 1, 2010 7:54 AM -
hi experts,
i have developed a driver program for the smartforms ,in the driver program i am displaying with the help of final internal table and with the help of structure i m declaring an internal table in the smartforms,the structure is containg the fields which i used in the driver program for output but when i execute this its giving error...plz helpme to short out this problem what are the points i must consider while declaring structure ....
the error:::
ShrtText
Type conflict when calling a function module (field length).
What happened?
Error in ABAP application program.
The current ABAP program "ZRAW_PRODUCTION_REPORT_SFM" had to be terminated
because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
A function module was called incorrectly.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_TYPE',
was neither
caught nor passed along using a RAISING clause, in the procedure "FORM_DISP"
"(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The call to the function module "/1BCDWB/SF00000211" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "ITAB_FINAL_SFM".
Although the currently specified field
"ITAB_FINAL" is the correct type, its length is incorrect.
the final table in the driver program is given below::
,from this table i m showing output.......
TYPES:BEGIN OF S_FINAL ,
MATNR TYPE MARD-MATNR, "for material number
WERKS TYPE MARD-WERKS, "for plant id
LGORT TYPE MARD-LGORT, "Storage location
LABST TYPE MARD-LABST, "opening stock
INSME TYPE MARD-INSME, "Stock in quality inspection
SPEME TYPE MARD-SPEME, "Blocked stock
EINME TYPE MARD-EINME, "Totl Stck of All Restricted Batches
RETME TYPE MARD-RETME, "Blocked Stock Returns
LIFNR TYPE MSEG-LIFNR, "vendors number
MAKTX TYPE MAKT-MAKTX, "for material description
NAME1 TYPE T001W-NAME1, "plant name
NAME2 TYPE LFA1-NAME1, "vendors name
LABST_TM TYPE MARD-LABST, "target monthly
LABST_CL TYPE MARD-LABST, "closing stock
LABST_RT TYPE MARD-LABST, "receive today
LABST_RTLD TYPE MARD-LABST, "receive till date
LABST_RTY TYPE MARD-LABST , "receive till year
LABST_IT TYPE MARD-LABST, "issued today
LABST_ITLD TYPE MARD-LABST, "issued till date
LABST_ITY TYPE MARD-LABST, "issued till year
BWART TYPE MSEG-BWART, "movement type
MBLNR TYPE MSEG-MBLNR, "material doc number
EISBE_CL TYPE MARC-EISBE , "closing balance
EISBE TYPE MARC-EISBE, "safety stock
<b>LGOBE TYPE T001L-LGOBE, "Description of storage location</b>
<b>P_DATE TYPE SY-DATUM, "for previous date</b>
<b>GPTXT TYPE T750E-GPTXT, "for remarks</b>
END OF S_FINAL.
DATA:ITAB_FINAL TYPE STANDARD TABLE OF S_FINAL WITH HEADER LINE.
the fields which are bolds i m not showing in the output using for some calculation thatsit.
with the refrence of this final table how will i declare my structure so that it wont give the above error if possible kindly send me the syntax of declaring structure along with my fields....Hii..Rajat..
This error is bcoz of the Internal table declaration in Smartform and Print program are not based on the Same data type.
So You declare the Same Data type S_FINAL in the Global Definitions->Data types Section of Smartform.
And then In the Form interface in the TABLES parameter
Declare the Internal table using this same data type S_FINAL.
Now again activate the Smartform. The FM will be re generated.
Call this FM again in your print program
This will surely work for u...
<b>REWARD IF HELPFUL</b>
Maybe you are looking for
-
I just bought this macbook pro, if im watching a sport event and doing something else on the net it is so slow moving back and forth between sites with constant freezes and shutdowns. my old sony viao was much much faster. It appears I have 4 gb of r
-
How to move all videos out of Aperture and in to iMovie?
I have a MacBookPro with a 240 GB SSD for OSX, apps, etc. and a secondary itnernal HD that is 1TB. Remaining space as of today: 240GB SSD = 130 GB free 1TB HD = 103 GB free My Aperture library (managed) resides on the 1TB and measures 139 GB on disk.
-
WLC 4400 and multiple authentication servers e.g. RADIUS, ACS
WLC 4400 and multiple authentication servers e.g. RADIUS, ACS Can the WCL 4400 be set up to use multiple RADIUS servers? The user accounts for accessing wireless would use a RADIUS server. The administrative accounts for the WLC would reside on an AC
-
HP 5510 Photosmart Printer - will not print in color
Just installed brand new HP color ink for Cyan, Magenta, and Yellow cartridges in my HP 5510 Photosmart Printer. Printer will only print in black . After doing Print Quality Report, it still only prints in black. Also, tried cleaning print head. St
-
I dropped my MacBook Pro and the charger broke!
I dropped it from about 3 ft and it landed on the corner. When i picked it up the part of the charger that connects to the computer came off and is stuck in the port. It still charges if i put it in but i can't get the part out of the port. What do I