Display smartform attachment contents
Hi,
Is it possible to display the contents of an attachment in a smartform printout and fax? If yes, how do we do it?
Thanks and Regards,
Mick
Hi Mick,
In the print program of Smartform, use GUI_UPLOAD to upload the file. This FM would upload the data from the file into an internal table. Pass the internal table to the Smartform. In the smartform read that table and display the contents as required.
Best regards,
Prashant
Similar Messages
-
How to display smartform table content in condition basis
Hi experts
In smartform, can i display the content of table in a condition basis.
For example am displaying 4 rows in a page.
If the rows exists more than 4, remaining rows i want to display in next page.
Is it possible, if so, how to do, pls anyone help me on this.
Thanks in advance.
Regards
Rajaramhi,
use the command which is present in the flowlogic.
In that tick the <b>Go to new page</b> check box and write the page no. into the i/o bos besides it and write the condition whatever it is.
thanks
Dharmishta -
How to display service for object (attachment content ) in script
hi all
In me23n we find services for object like attachment, private note, workflow etc...
i need to display the attachment content in script ..
how could i do this ?
any body give your valuable inputs to bring solution.
Regards
deepikaHi,
Configure it for document type SDIORDER.
sirish -
Converting Smartforms output content into HTML File
Hi,
I have a requirement, Smartforms output contents needs be converted as HTML File and it should be sent as email.
I am able to get the Smartforms output in html format but the output is shown as binary format.
After the fm call the job_output_info parameter is holding the smartforms output content in
job_output_info-XMLOUTPUT[] (xsf content)
job_output_info-XMLOUTPUT-STSHEET[] (css content)
job_output_info-XMLOUTPUT-TRFRESULT[] (html content)
Help me out how to handle the job_output_info details to html format.
Code
DATA v_fm_name TYPE rs38l_fnam.
DATA v_tdsfname TYPE tdsfname VALUE 'ZVR39_SF'.
DATA output_options TYPE ssfcompop.
DATA job_output_info TYPE ssfcrescl.
DATA document_output_info TYPE ssfcrespd.
DATA job_output_options TYPE ssfcresop.
DATA w_control TYPE ssfctrlop.
*-Finding the Smartform Layout Name
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = v_tdsfname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
*-Defining the output to HTML Format
*-Activating XSF Output
output_options-xdfcmode = 'X'.
output_options-xdf = space.
output_options-xsfcmode = 'X'.
output_options-xsf = 'X'.
output_options-xsfoutmode = 'A'. "
output_options-xsfoutdev = 'P863'.
output_options-xsfformat = 'X'.
*-Calling the Smartform Layout
CALL FUNCTION v_fm_name
EXPORTING
output_options = output_options
user_settings = 'X'
IMPORTING
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
GiriHi,
Check this link.In that,I am converting the output of smartform to PDF and then attaching it through mail.
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/smartforms/smartform in abap.pdf -
How to display smartform through transaction code on action of button
Hi All,
Please let me know how can i display smartform through tcode on button action.
For e.g. I have a F.62 tcode where the smartform is attached. Now i want a button in BSP which when clicked should call tcode F.62 and display that smartform.
Also if i cannot use "CALL TRANSACTION" can i use "SUBMIT" and call that transaction.
If not how will i able to acheive that?
Please help as it is very urgent.
Thanks,
RahulHi,
Use ITS to display the F.62 transaction is worth a try. But I am not sure whether the ITS will be able to display Smartforms...
Another option is trying to launch the Smartforms (I dont know the F.62 transaction enough to tell if it is time-consuming or not) and convert it to PDF (there is plenty of threads about this in SDN) and then, display it through BSP (either inline or for the user to download).
Best regards,
Guillaume -
Hi All,
I'm using RosettaNet V2. In the attachment header, we have the below MIME content,
------=_Part_407_426434134.1334235632862
Content-Type: application/pdf; name="testing2012-04-12T08:00:31-05:00.pdf"
Content-Transfer-Encoding: base64
Content-ID: <OE_ORDER_HEADERS@1101972@@@@@@8401483>
One of our trading partner wants Content-Dispostion too in the attachment header as follows,
------=_Part_407_426434134.1334235632862
Content-Type: application/pdf; name="testing2012-04-12T08:00:31-05:00.pdf"
Content-Transfer-Encoding: base64
Content-Description: base64 encoded PDF field ticket attachment
Content-Disposition: attachment;filename=testing2012-04-12T08:00:31-05:00.pdf
Content-ID: <OE_ORDER_HEADERS@1101972@@@@@@8401483>
Please let me know where to set this content disposition MIME parameter?
TIA,
TerryHi Terry,
I don't think Content-Disposition is a mandatory MIME header. You may consider logging a service request with support.
From RFC http://tools.ietf.org/html/rfc2387 -
Multipart/Related MIME entities may contain Content-Disposition headers that provide suggestions for the storage and display of a body part. Multipart/Related processing takes precedence over Content-Disposition;Regards,
Anuj -
How to catch and display a link content in another portlet page?
Can you tell me how to display a URL content into next page after an user click s on this link? I am developing a JSR 168 portlet under a Portal. I have 3 pages so far in my portlet. view.jsp, view2.jsp and IpByHourPage.jsp. view2.jsp displays a lis of IP address. When an user clicks on an IP in view2.jsp, it goes to IpByHourPage.jsp. How to catch the IP address such as 123.23.89.21 that an user just click displayed in IpByHourPage.jsp. I don't know why I got null value returned.
Also, I don't know how to do a "go back to previous page". I want to go back to view2.jsp from IpbyHourPage.jsp
Here is my code
in view2.jsp
<portlet:renderURL var="aURL">
<portlet:param name="goto" value="IpByHourPage"/>
</portlet:renderURL>
<a href="<%=aURL.toString() %> "><%=MyIP%></a>
in IpByHourPage.jsp
<%
String MyIPHour = request.getParameter("goto");
%>
<h1>IP Report by Hour ( <%=MyIPHour%> )</h1>
<portlet:renderURL var="Ret_IPByHour">
<portlet:param name="Ret_IPHourPage" value="Ret_IPByHourPage"/>
</portlet:renderURL>
<center> <a href="<%=Ret_IPByHour.toString() %> "><b>Choose Another IP</b></a></center>
in my .java file
protected void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException, UnavailableException {
response.setContentType("text/html");
String MyBegDate = request.getParameter("BegDate");
String MyEndDate = request.getParameter("EndDate");
String MyNetworks = request.getParameter("networks");
String MyYourName = request.getParameter("yourname");
PortletURL renderURL = response.createRenderURL();
renderURL.setPortletMode(PortletMode.VIEW);
request.setAttribute("renderURL", renderURL.toString() )
String GotoRenderAction = request.getParameter("goto");
String MyIPHourAction = request.getParameter("Ret_IPHourPage");
if ( (MyIPHourAction!=null) && MyIPHourAction.equals("Ret_IPByHourPage") )
PortletRequestDispatcher kk = getPortletContext().getRequestDispatcher("/view2.jsp");
kk.include(request, response);
if (MyIPHourAction != null && MyIPHourAction.equals("Ret_IPByHourPage"))
PortletRequestDispatcher mm = getPortletContext().getRequestDispatcher("/view2.jsp");
mm.include(request, response);
if (GotoRenderAction != null && GotoRenderAction.equals("IpByHourPage"))
request.setAttribute("BegDate", "MyBegDate");
request.setAttribute("EndDate", "MyEndDate");
System.out.println("BegDate" + MyBegDate);
System.out.println("Endate" + MyEndDate);
PortletRequestDispatcher mm = getPortletContext().getRequestDispatcher("/IpByHourPage.jsp");
mm.include(request, response);
if(MyEndDate!= null )
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/view2.jsp");
prd.include(request, response);
else if (MyEndDate==null && GotoRenderAction == null)
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/view.jsp");
prd.include(request, response);
The problem for above code is the clicked single IP can not be displayed in IpByHourPage.jsp. and I cannot go back to view2.jsp from IpByHourPage.jsp. when I click "Choose Another IP"
I find out that the MyBegDate and MyEndDate values are all null when I click Choose Another IP link. I got the following error message
Caused by: javax.servlet.ServletException: Unparseable date: "null null"
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at org.apache.jsp.view2_jsp._jspService(view2_jsp.java:651)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
How to fix above problems. ThanksI think the problems are related to portletsession. But I don't know how to use it. How to put portletsession into doview method or my jsp pages. Can anyone tell me in my code? Thanks a lot.
-
In R/3 display smartform as pdf in a custom container
Hello,
I want to display smartform as pdf in a custom contianer . I was able to find all the right code from sdn.
but my problem is that when executed my sap gui is closed without any error.
I am unable to understand what is going wrong.
CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
IN_PLACE = 'X' ). does not show the pdf.
Can any one help me to find out if we need to do some setting for MIME type application/pdf. Because I tried to display a bar chart in the custom container of MIME type text/html , and this is working fine.
Is any setting missing in our R/3 because of which the code is not getting executed.
below code is the exact copy from a post in sdn:
report ztest_pdf.
DATA: LT_PDF TYPE TABLE OF TLINE,
LS_PDF LIKE LINE OF LT_PDF,
LV_URL TYPE CHAR255,
PDF_FSIZE TYPE I,
LV_CONTENT TYPE XSTRING,
LT_DATA TYPE STANDARD TABLE OF X255.
DATA : L_JOB_OUTPUT_INFO TYPE SSFCRESCL.
DATA : LS_CONTROL_PARAM TYPE SSFCTRLOP.
DATA : G_HTML_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
G_HTML_CONTROL TYPE REF TO CL_GUI_HTML_VIEWER.
* pdf_control type ref to cl_gui_pdfviewer.
DATA : P_VBELN TYPE VBELN_VL.
DATA : i_html TYPE w3htmltabtype.
", g_url TYPE w3url
FIELD-SYMBOLS <FS_X> TYPE X.
INITIALIZATION.
LS_CONTROL_PARAM-GETOTF = 'X'.
LS_CONTROL_PARAM-NO_DIALOG = 'X'.
START-OF-SELECTION.
CALL FUNCTION '/1BCDWB/SF00000298'
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = LS_CONTROL_PARAM
* P_VBELN = P_VBELN
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
IMPORTING
* DOCUMENT_OUTPUT_INFO = L_DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = L_JOB_OUTPUT_INFO
* JOB_OUTPUT_OPTIONS = L_JOB_ OUTPUT_OPTIONS
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.
data pdfxstring type xstring.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = PDF_FSIZE
bin_file = pdfxstring
TABLES
OTF = L_JOB_OUTPUT_INFO-OTFDATA
LINES = LT_PDF
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
CALL SCREEN 100.
module STATUS_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
CREATE OBJECT G_HTML_CONTAINER
EXPORTING
CONTAINER_NAME = 'PDF'.
CREATE OBJECT G_HTML_CONTROL
EXPORTING
PARENT = G_HTML_CONTAINER.
* Convert xstring to binary table to pass to the LOAD_DATA method
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = pdfxstring"LV_CONTENT
TABLES
BINARY_TAB = LT_DATA.
* PERFORM bar_chart .
* Load the HTML
CALL METHOD G_HTML_CONTROL->LOAD_DATA(
EXPORTING
TYPE = 'application' "'text' " 'application'
SUBTYPE = 'pdf' "'html' "'pdf'
IMPORTING
ASSIGNED_URL = lv_URL
CHANGING
DATA_TABLE = LT_DATA "i_html "LT_DATA
EXCEPTIONS
DP_INVALID_PARAMETER = 1
DP_ERROR_GENERAL = 2
CNTL_ERROR = 3
OTHERS = 4 ).
* Show it
CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
IN_PLACE = 'X' ).
Thanks,
Jaya.
Edited by: kishan P on Jun 9, 2011 1:40 PMHello Sandra,
Thanks for your reply, but eventhen it fails to load the pdf. Is ADS required to be installed for this?
Can I just pass the pdf_fsize imported from CONVERT_OTF which is of type i.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = PDF_FSIZE
bin_file = pdfxstring
TABLES
OTF = L_JOB_OUTPUT_INFO-OTFDATA
LINES = LT_PDF
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
CALL METHOD G_HTML_CONTROL->LOAD_DATA(
EXPORTING
TYPE = 'application' "'text' " 'application'
SUBTYPE = 'pdf' "'html' "'pdf'
size = PDF_FSIZE
IMPORTING
ASSIGNED_URL = lv_URL
CHANGING
DATA_TABLE = LT_DATA "i_html "LT_DATA
EXCEPTIONS
DP_INVALID_PARAMETER = 1
DP_ERROR_GENERAL = 2
CNTL_ERROR = 3
OTHERS = 4 ).
Thanks,
Jaya. -
I'm doing some maintenance on an old Dell Dimension 1100 (service tag: JGFN291, all drivers updated) for a friend, and I installed the new version of Firefox. Webpage graphics / backgrounds will not display, and the text on all webpages displays too large; I have to scroll to the left to see everything. How do I configure Firefox to automatically display all webpage content properly? It's probably due to the age of the PC and monitor (I think Noah took a pair of these on the ark with him back in the day), but I was hoping there was some other workaround for it. Any and all help is appreciated!
there is no replay for the problem ?? mozillas's stuff doesnt work as good as their web browser...
-
Problem in displaying smartform as pdf in portal
Hi all,
We created a smartform and we are displaying as a pdf in portal.Everything is fine and pdf is coming.But there is arabic data in the form .
Some of the arabic data is coming perfectly.
But some data is coming in Japanese or chinese and some data is coming like
F,D'! 9(/'D1-EF (F 5'D- 'D3JA 叉â
Department 'D%/'1) 'D9'E) DDEH'1/ 'D(41J).
Please let me know what could be the problem.
Thanks and Regards,
Rajeshhi Rajesh.....
Could you explain me how 2 display SMARTFORM as PDF in portal..... please.....
I have the requirement as follows.....
By pressing a button the smartform must be generated.....
SO what must be the RFC o/p from ABAP.... I am ABAPER basically
and what the portal guys must do.....
pleaseeee -
Safari will not display some media content despite Flip4mac loaded
As the subject indicates, Safari will no longer display some media content after installing Flip4mac. Where that media content would normally display all I see is a square with the Quicktime logo in the middle and a question mark in the middle. For example see the Dakar Rally site http://www.raid-live.com/dakar/en/index.shtml#. In my case Safari does not display the Flash content relating to "Premium Offers".
Mozilla displays everything fine though I don't particularly want to move between browsers depending on the on-line content. I'd rather not use Mozilla as in some cases the page appearances aren't as neat as those displayed by Safari.
Is there a way of restoring Safari back to its default settings in order get it to play ball.
Cheers
ChrisAlso a possible explanation is Safari cache files. Safari can be quite stubborn about holding on to these and refusing to let go of a cache file for a page, not showing up-dated content. Since the new user account didn't have any cache files Safari displayed the file correctly there, and used a "bad" cache file in your original account. Even clicking reload doesn't necessarily force Safari to take a new look at the page code. Drives me batty sometimes. If that is the problem you can go to the Safari menu item, choose Empty Cache and try again. I'v had instances though where I had to empty the caches and quit and relaunch Safari to get it to display a page properly.
Another thing to do, to make sure something is a Safari specific problem rather than a system problem, is to download Firefox and try it with a funky page. If the page works in Firefox, but not Safari, you know it is Safari being funny and not your system.
My truck was running rough the other day when I moved it to wash it. Was not looking forward to using it to haul stuff the next day, but when I started it then it worked just fine....
Francine
Francine
Schwieder -
Ifilter does not update Outlook to search for attachment content
We are using Windows 7 and Outlook 2014, 64 bit
I installed the iFilter application (9 for 64-bit platforms).
I can now search attachment content (PDF) using Windows explorer.
But, i cannot search attachment content in Outlook.
I did follow instructions on Adobe website in installation and setting up the envirnoment variable. NOt sure why it works in Windows explorer but not Outlook.
Does it needs to be installed on the Exchange server as well?I would recommend starting over and migrate using your Time Capsule backup however DO NOT do it wirelessly, connect using an Ethernet Connection. If you upgraded to Lion from Snow Leopard then follow the instructions in this video, the kid is annoying but he knows what he's doing. Clean Install Of Snow Leopard video. Once you have installed and updated Snow Leopard then update using the 10.6.8 Update Combo, then log into the Mac App Store and re-install Lion and all it's updates. My guess this is an afternoons work.
-
Attachment Content When sending PDF attachment in Send Mail Step
Hi all ,
I am sending a PDF document which is on the file system using "send_mil" step . It is not executing the send_mil step with out entering anything in the Attachment Content. If i enter some thing , the Send_mil step is executed but the PDF is not opening in the received mil as it is not Properly decoded.
Regards,
Deepthi lakshmi.AHi,
Attachment Content is not Mandatory to enter unless you wish to override the Attachment Property.
Basically we use this content along with Encoded Image Property like chart, spc and image loader action block.
If you are loading file from system using Proper path in Attachment Section then no need to use Attachment Content section.
Ensure that you have set the Attachment Content Type to "application/pdf" to send pdf files and a valid File path in Attachment section.
Hope this helps!!
Regards,
Adarsh -
Mail attachement content trnsfer encoding 8bit , 7bit
Good morning to everybody.
I have a problem reading mail attachement.
When the attachement is 8bit encoded the exadecimal char "3D" is write in a file as "0D". This is wrong
When the attachement is 7bit encoded the exadecimal char "3D" is write in a file as "3D" . Thi is right
Is there anyone who knows why of this beaviour?
Many thanksI'm using the msgshow.java that is the example included in the java mail library.
Attachement downloaded with JavaMail (the bad one):
�� 3D ==> 0D (CR)
2007-05-15;18.11.26;978;000469,00;380;Italy
;LUISA SPAGNOLI NAPOLI IT;34009575;8036527 ;5651;00;
Attachement downloaded with outlook (the good one):
�� 3D not translated
2007-05-15;18.11.26;978;000469,00;380;Italy =
;LUISA SPAGNOLI NAPOLI IT;34009575;8036527 ;5651;00;
Here the properties of the mail message:
Microsoft Mail Internet Headers Version 2.0
Received: from EXSMTP-IN2.sede.corp.sanpaoloimi.com ([10.244.7.21]) by EVS01.sede.corp.sanpaoloimi.com with Microsoft SMTPSVC(6.0.3790.2499);
Mon, 28 May 2007 08:09:14 +0200
Received: from secgw-b-e02.intesabci.it ([172.19.0.27]) by EXSMTP-IN2.sede.corp.sanpaoloimi.com with Microsoft SMTPSVC(6.0.3790.2499);
Mon, 28 May 2007 08:09:13 +0200
Received: MHUBINT
Received: FW
Received: from mail1.ssb.it ([192.106.129.13])
by mailbox.intesabci.it with SMTP id l4S696n5006757
for <[email protected]>; Mon, 28 May 2007 08:09:09 +0200
Received: (qmail 11377 invoked by uid 509); 28 May 2007 06:02:04 -0000
Received: from 127.0.0.1 by Imhotep (envelope-from <[email protected]>, uid 501) with qmail-scanner-2.01
(spamassassin: 3.1.3.
Clear:RC:1(127.0.0.1):.
Processed in 0.078893 secs); 28 May 2007 06:02:04 -0000
Mon, 28 May 2007 08:02:03 +0200 (CEST)
(Postfix) with SMTP id 6798F34257;Mon, 28 May 2007 08:02:03 +0200 (CEST)
to: <[email protected]>,
from: <[email protected]>
subject: 28 May 2007 08:00 PS12 FROD-ATM1
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="P=_NextPart_000_01BD3BAF.A762FD80"
Date: Mon, 28 May 07 08:00:27 B
Message-Id: <[email protected]>
Return-Path: [email protected]
X-OriginalArrivalTime: 28 May 2007 06:09:13.0674 (UTC) FILETIME=[B707A2A0:01C7A0EE]
--P=_NextPart_000_01BD3BAF.A762FD80
CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
Content-Transfer-Encoding: 8bit
--P=_NextPart_000_01BD3BAF.A762FD80
Content-Type: text/plain; charset=us-ascii; name="SPIMI.TXT"
Content-Disposition: attachment
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mailbox.intesabci.it id l4S696n5006757
--P=_NextPart_000_01BD3BAF.A762FD80
CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
Content-Transfer-Encoding: 8bit �������� I think the problem is here
P=_NextPart_000_01BD3BAF.A762FD80 -
How to display the variable content in message?
Hi anybody
please let me know How to display the variable content in message?
please send few lines of sample code to understand that
thanks in advanceHi,
Check out the link
http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
REPORT Y9020027 LINE-SIZE 130. "Release 3.1G, 4.5A
BREAK-POINT.
MOVE: 'TESTREPORT for "ASSIGN FFeld+o(l) TO " '
TO SY-TITLE.
Declaration of variables **********************
FIELD-SYMBOLS <FS1>.
DATA: FFELD8(8) TYPE F VALUE '1022333'. "Unusual: Explicit 8 bytes
*DATA: ZFELD1(2) TYPE N. "Here slack bytes are (DW border)
"necessary
"If you like computing error, please uncomment the above
DATA: FFELDX(8) TYPE F VALUE '7777777'.
DATA: FFELDA(8) TYPE F VALUE '7333213'.
DATA: NFELDX(400) TYPE N.
DATA: OFFX(4) TYPE I VALUE 160.
DATA: LENX(4) TYPE I VALUE 8.
Main Section *******************
SKIP.
WRITE: /5 'Example 1 **** inadmissible ASSIGN ***' COLOR 6.
WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
ASSIGN FFELD4+1(3) TO <FS1>.
ULINE.
SKIP 2.
SKIP.
ASSIGN FFELD8+8(8) TO <FS1>. "<-- Assigning of variable FFELDX !!
BREAK-POINT.
WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
COLOR 3.
WRITE: /5 'Example 2'.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDX :', FFELDX.
ULINE. SKIP 2.
SKIP.
ASSIGN FFELD8+16(8) TO <FS1>. "<-- Assiging a few FFELDA to <FS1>
BREAK-POINT.
WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
COLOR 3.
WRITE: /5 'Example 3'.
WRITE: /10 'Content of FFELDA :', FFELDA.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDA :', FFELDA.
ULINE. SKIP 2.
BREAK-POINT.
DO 4 TIMES.
ASSIGN FFELD8+OFFX(LENX) TO <FS1>. "Zuordnung auf OFFX zu <FS1>
WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
COLOR 5.
WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of NFELDX145(40) :', NFELDX145(40).
ULINE. SKIP 2.
ADD 8 TO OFFX.
ENDDO.
Subroutines *******************
Display of data fields and field symbols *
FORM DISPLAY-FFELD USING FFELD FNAME.
WRITE: /10 'Content of', FNAME, ':', FFELD.
PERFORM FELDEIGENSCHAFTEN USING FFELD.
WRITE: /10 'Content of <FS1> :', <FS1>.
PERFORM FELDEIGENSCHAFTEN USING <FS1>.
ADD 111 TO <FS1>. "<-- Das Feldsybmol wird verwendet
WRITE: /10 'ADD 111 TO <FS1>'.
ULINE.
WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
WRITE: /10 'Content of <FS1>', 35 ':', <FS1>.
ENDFORM.
Determination of field properties (only for information) *
FORM FELDEIGENSCHAFTEN USING ALLG.
DATA: FLAENGE(2) TYPE N.
DATA: FTYP(1) TYPE C.
DATA: FOUT(2) TYPE N.
DATA: FDEZ(2) TYPE N.
ULINE.
DESCRIBE FIELD ALLG LENGTH FLAENGE.
WRITE: /10 'Field length :', FLAENGE.
DESCRIBE FIELD ALLG TYPE FTYP.
WRITE: /10 'Field type :', FTYP.
DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
WRITE: /10 'Output length :', FOUT.
DESCRIBE FIELD ALLG DECIMALS FDEZ.
WRITE: /10 'Decimals :', FDEZ.
SKIP 1.
ENDFORM.
END OF PROGRAM *************************************
Maybe you are looking for
-
Have some doubt regarding the weblog (Lookup's in XI made simpler)
Hi All, I have created the same scenario as mentioned in Siva's weblog (Lookup's in XI made simpler). I having some doubts regarding the scenario, it will be great if you help me to resolve the same. I am having a file-file scenario where I need to d
-
Delta upload in XI and calling Infopacakages in Inbound Proxy
Hi All I have a scenario where File--->XI----->BW In this scenario I have to pick a file compare and send it to BW system. Before sneding into the BW system I have to apply the logic of delta upload in XI. Requirement: the recent file picks the data
-
Appreance of Document structure
Hi Gurus, My client is asking to suppress the document structure appearence which is in the DIR screen, where i could suppress Hierrarchy, CAD interface but iam unable to hide Document structure. Kindly get me the solution for this. Regards Kannan
-
Apple TV Screensaver goes black
Screensaver has been working fine, displaying photo's whilst playing music. But now after a few minutes the photo's stop appearing and the TV screen goes black. I have restarted the Apple TV, from settings. I have selected all the photo's in my libra
-
Zen Micro Photo having multiple issu
Hello, and thanks in advance for anyone who can help me with some of these problems: First, it skips on certain songs. Sometimes it will cut in bits of other songs while some are playing...very weird. I've tried to delete everything on the MP3 player