SAPScript - PROTECT.....ENDPROTECT problem
Hello,
I can't get a PROTECT......ENDPROTECT block to work.
Here is my ABAP:
LOOP AT IT_MAIN.
MOVE IT_MAIN-RECORD TO WA_MAIN-RECORD.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'WORK_AREA_RECORD'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE: / 'Error in get_main_data'.
ENDIF.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
Here is my SAPScript:
/E WORK_AREA_RECORD
/: PROTECT
&WA_MAIN-RECORD&
/: ENDPROTECT
I want to keep WA_MAIN-RECORD (3-5 lines) together on the same page.
I put the PROTECT..ENDPROTECT commands in the MAIN window but that does not work.
I've tried to issue the PROTECT..ENDPROTECT commands in ABAP and that doesn't work.
Can someone tell me what I'm missing?
Thx.
Andy
Hi
Try to delete the commands PROTECT/ENDPROTECT from your sapscript, so:
/E WORK_AREA_RECORD
&WA_MAIN-RECORD&
and place the command PROTECT/ENDPROTECT out of the loop:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
LOOP AT IT_MAIN.
MOVE IT_MAIN-RECORD TO WA_MAIN-RECORD.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'WORK_AREA_RECORD'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE: / 'Error in get_main_data'.
ENDIF.
ENDLOOP.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
Or if you have to protect only 4-5 lines:
DATA: COUNT TYPE I.
LOOP AT IT_MAIN.
MOVE IT_MAIN-RECORD TO WA_MAIN-RECORD.
IF COUNT = 0.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
ENDIF.
COUNT = COUNT + 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'WORK_AREA_RECORD'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE: / 'Error in get_main_data'.
ENDIF.
IF COUNT = 5.
COUNT = 0.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
ELSE.
AT LAST.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
ENDAT.
ENDIF.
ENDLOOP.
Max
Similar Messages
-
PROTECT-ENDPROTECT problem in SAP Script
In SAP Script MAIN Window I have 10 different elements to print differet stuff related with each delivery line item.
Like Material Number
Material Description
Long text [Has formatted text and I am reading that text and printed in some format some lines under material number and some under materail desc.]
and other information required by client.
Loop at Delivery item table.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'PROTECT'.
Print differnt elements.
Loop at lond text internal table.
print in proper format as I mentioned.
endloop.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'ENDPROTECT'.
ENDLOOP.
My problem is PROTECT ENDPROTECT is not working properly.
It is printing only 1 item with other info on first page as there are enough space left to print minimum three items with details.
on next page it is priting only 3-4 items as there are enough sapce to ptint at lease 10 items with details.
The only good thing is it is not spliting the Item details and other text.[Main window on next page has bigger size]
Any idea why PROTECT - ENDPOTECT not behaving properly.
Thanks
Aman
Message was edited by: Amandeep SinghHello,
Try to do like, Put PROTECT and ENDPROTECT in the SAPScript itself.
Like
Element 1
Protect
..matnr....
element 2
...desc....
element 3 (long text)
...text
....text
element 4
endprotect
call the element 4 in the loop statment, whenever required.
Hope it will work.
Regards,
Naimesh. -
What is PROTECT ENDPROTECT in SAPscript?
Hi SDN,
What is the significance of Protect & End-protect in Sapscripts?
Regards,
Rahul.To allow you to define the areas to be protected against a page break on an individual basis, SAPscript provides the PROTECT.. ENDPROTECT command pair. If you enclose the text to be protected in these commands, then SAPscript will ensure that each line of this text is printed together on the same page. If the complete text fits in the space remaining on the current page, then it is printed on this page just as it would be if no PROTECT command had been used. If, however, the remaining space is not sufficient for the text, then the PROTECT command has the same effect as a NEW-PAGE command and text is printed on a new page.
Thus the PROTECT/ENDPROTECT commands may be regarded as a kind of conditional NEW-PAGE command, the condition being whether or not the lines enclosed between the two commands fit in the space remaining in the current main window.
Syntax:
/: PROTECT
/: ENDPROTECT
The text lines to be protected are enclosed between the two commands.
An ENDPROTECT command without a preceding PROTECT command has no effect.
If the terminating ENDPROTECT is missing, SAPscript assumes it at the end of the text.
PROTECT.. ENDPROTECT command pairs cannot be nested. If a second PROTECT command occurs before the first one has been terminated by an ENDPROTECT, it is ignored.
If the text enclosed by a PROTECT.. ENDPROTECT pair is itself too long for a single page, then a page break is generated immediately before the text and the text is printed in the normal way. It is then unavoidable that a page break will occur at some point within the text.
Hope dis helps
Reward all helpful answers -
Override Use of Protect-Endprotect Function when editing Standard Sapscript
Hi abapers,
I have made a copy of a standard form (F150_DUNN_01) and edited it according to the customers needs. One problem I have encountered is the use of seperate elements, As you can see in the standard form, the table is output as one element and the total appears afterwards in another element. As I am not editing the print control program I have added texts, etc. after the totals line but inside elements which I know are always output. I have recently noticed that some of the elements are protected using the 'CONTROL_FORM' function in the print control program.
This leads me to the problem, when I have between 10-15 records in the table the following elements (540 - 592) are printed on the following page. I have read about the protect-endprotect statements but in my case it would be between 2 elements.
I would like the totals line to appear along with the table and the rest can go on the next page. Is it possible to use this method without editing the print control prorgam to call elements without protection? Elements 581 - 592 are currently protected using the 'CONTROL_FORM' function in the print program.
Here is a snippet of the MAIN window with some PROTECT statements used but not working as expected.
/: PROTECT
/E 530
T3 <BU>INV.NUM</>,,<BU>DATE</>,,<BU>INV.Amount</>,,<BU>DUE DATE</>,,
= <BU>NOTE</>
T3
/E 531
/: DEFINE &TDLINE& = ''
/: PERFORM GET_TEXT IN PROGRAM ZFII_F150_ROUTINE
/: USING &T001-SPRAS&
/: USING &MHND-BELNR&
/: USING &MHND-BUKRS&
/: USING &MHND-GJAHR&
/: CHANGING &TDLINE&
/: ENDPERFORM
T3 &MHND-BELNR&,,&MHND-BLDAT&,,&MHND-WRSHB(C)&,,&MHND-FAEDT& ,,&TDLINE&
/E 540
/E 550
AS Inicio: &T040A-TEXT1&
/E 551
AS Fin: &T040A-TEXT1&
/E 570
T3 Gtos.reclam.,,&F150D-WAERF&,,&F150D-MHNGF(C)&
/E 581
T3 ,,,,&ULINE(15)&
T3 ,,&F150D-WAERF&,,&F150D-SUFPF(C)&
/E 582
T3 ,,&F150D-WAERF&,,&F150D-SUFPF(C)&
/: ENDPROTECT
/E 591
AS
/: CASE &MHNK-MAHNS&
/: WHEN '1'
/: INCLUDE ZFI_DUNN_MAIN5911 OBJECT TEXT ID ST LANGUAGE &T001-SPRAS&
/: WHEN '2'
/: INCLUDE ZFI_DUNN_MAIN5912 OBJECT TEXT ID ST LANGUAGE &T001-SPRAS&
/: WHEN '3'
/: INCLUDE ZFI_DUNN_MAIN5913 OBJECT TEXT ID ST LANGUAGE &T001-SPRAS&
/: ENDCASE
T6
/E 592
T6 ,,&F150D-WAERF&,,&F150D-SALFW(C)&
Regards,
Simon
Edited by: Simon Kerr on Oct 4, 2010 12:14 PMHi Vijay,
Thanks for reply but it isn't work.
I think there is no documentaion available in any languagein the SAP.
So If possible give me any other reference by which I can search documentation.
Or just check it at your end if available send it to me.
Please try once again.
I wnat documentation for function modules in the Function Group MBWL & J1IEXGM.
both are used for MIGO.
Thanks and Regards
Dhanu -
PROTECT-ENDPROTECT IN SAP SCRIPT
HOW DO WE USE PROTECT-ENDPROTECT TO MAKE SURE THAT THE OUTPUT DISPLAYED IN A VARIABLE WINDOW IS EITHER COMPLETE OR NOT PRINTED AT ALL.
Check this Documentation,
I have this full document if you want i will mail you..
<b>PROTECT: Protect from page break</b>
You can determine that a paragraph must not be separated by a page break in the style or layout set. If the attribute page protection is set, then all the lines of this paragraph are always output together on one page. This attribute is linked to the respective paragraph.
It certainly does not make sense, to provide all the paragraphs with a page protection attribute to neutralize an unwanted page break. This event is much too dynamic for this and only results from the current text. Furthermore, it can also happen that you only want to protect parts of a paragraph from a page break. In principle, you could solve this problem using the command NEW-PAGE, by explicitly starting a new page before the affected parts of the text. However, this procedure is not very easy to make changes to. Assume that you have formatted your text using the NEW-PAGE command so that you have no unwanted
page breaks. If you now insert new lines or delete existing ones, you would have to check all the NEW-PAGE commands inserted after this point in the text, as changes can result in the movement of page breaks. With the command pair PROTECT. ENDPROTECT, SAPscript offers you the option of individually defining protection from a page break. If you parenthesize the text in question using these commands, SAPscript automatically guarantees that all the lines it contains are printed together on one page. If the lines fit on the current output page, they are output there, in exactly the same way as if the PROTECT
command was not used. If, however, the space is not sufficient, the PROTECT command then works as a NEW-PAGE and generates a form feed .For this reason, you can view PROTECT/ENDPROTECT as a conditional NEW-PAGE command, whose condition consists of whether the included lines fit into the current window MAIN or not. -
How to write Protect endprotect concept in Smartforms
hi
can any one suggest me
How to write Protect endprotect concept in Smartforms
i have some content to coem without break in SMARTFORM
how to do that
Thanks & Regards
kalyan
<thread moved, has nothing to do with ABAP Objects. Please choose your forums more carefully in future>
Edited by: Mike Pokraka on Sep 26, 2008 12:50 AMHi,
For 4.7 version if you are using tables, there are two options for protection against line break:
- You can protect a line type against page break.
- You can protect several table lines against page break for output in the main area.
Protection against page break for line types
- Double-click on your table node and choose the Table tab page.
- Switch to the detail view by choosing the Details pushbutton.
- Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
Protection against page break for several table lines
- Expand the main area of your table node in the navigation tree.
- Insert a file node for the table lines to be protected in the main area.
- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
- Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.
In 4.6, Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window) there is not enough space left for the paragraph, the entire paragraph appears on the next page.
Regards,
Himanshu Verma -
Hoz exactly we use Protect-EndProtect command to avoide output text which should not spilt in two pages. Plz explain with example of Codes.
Thanks.Hi
It is used to protect the address or info to print in one page only
If the space in one page is not sufficient it will print in the second page
see the sample
/: PROTECT
/: ADDRESS PARAGRAPH AS
/: TITLE &LFA1-ANRED&
/: NAME &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&,
/: STREET &LFA1-STRAS&
/: POBOX &LFA1-PFACH& CODE &LFA1-PSTL2&
/: CITY &LFA1-ORT01&, &LFA1-ORT02&
/: POSTCODE &LFA1-PSTLZ&
/: COUNTRY &LFA1-LAND1&
/: REGION &LFA1-REGIO&
/: FROMCOUNTRY &T001-LAND1&
/: ENDADDRESS
/: ENDPROTECT
Reward points if useful
Regards
Anji -
Usage of protect endprotect in smartforms
To control the Paragraph in a page we use protect endprotect in SAP SCRIPT. how to go about it in smartorms
Syntax:
/: PROTECT
/: ENDPROTECT
The lines to be protected lie between the two commands.
An ENDPROTECT command without a preceding PROTECT command is ineffective.
If the last ENDPROTECT is missing, it is implicitly assumed at the end of the text.
PROTECT .. ENDPROTECT commands cannot be nested. If a second PROTECT command is recognized while another is active, the second is ignored.
If the text between PROTECT and ENDPROTECT is so extensive that it would not fit on an empty page, then only one form feed is generated and the text is normally output. Thus, in this case, the section to be protected is separated by a page break. -
Protect - endprotect in Smartform
hi
what is the similar statement for protect-endprotect in smartforms
please help me out.
regards
padmaHI
here are two options for protection against line break:
- You can protect a line type against page break.
- You can protect several table lines against page break for output in the main area.
Protection against page break for line types
- Double-click on your table node and choose the Table tab page.
- Switch to the detail view by choosing the Details pushbutton.
- Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
Protection against page break for several table lines
- Expand the main area of your table node in the navigation tree.
- Insert a file node for the table lines to be protected in the main area.
- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
- Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.
In 4.6, Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window) there is not enough space left for the paragraph, the entire paragraph appears on the next page.
Regards
PAVAN -
Example using command protect & endprotect
hii gem's
im unable to find the difference when using protect...endprotect
without tht bcoz im getting same output
ex:
/: protect
PH 'THIS IS TEST'
PH 'THIS IS TEST'
/: NEW-PAGE
PH 'THIS IS TEST'
ENDPROTECT
please give a example using command protect & endprotect
THANK U
REWARDS FOR GUD REPLY
REGARDS
JAIPALHi Jaipal,
It is mainly used to prevent the page break
menas whatever lines you wrote between these protect and endprotect they are always printed in a single page only and they won't split into two pages though there is no full space
go to SE71 see any scripts pagewindows
you will find a lot of examples
/E TOTAL_AMOUNT
/: PROTECT
UL &ULINE(71)&
TO
TO ,,Total net value excl. tax &EKKO-WAERS&,,
&KOMK- FKWRT&
/: IF &SUM-EURO-PRICE& NE ' 0,00'
/ ,, EURO,,&SUM-EURO-PRICE&
/: ENDIF
/: ENDPROTECT
Reward points for useful Answers
Regards
Anji -
PROTECT ENDPROTECT doesen't work sapscript
hello,
i would like to use protect becuase i want that this element stays in one entire page, but he continue to broke the element.... why?
i use protect and endprotect...it's correct?
/E ITEM_LINE
/: PROTECT
/: SET DATE MASK = 'DD/MM/YY'
/* IF &PAGE(C)& <> 1
/* &ULINE(112)&
/* ENDIF.
T2 &VBDPA-POSNR(Z)&,,&VBDPA-MATNR(C)&,,&VBDPA-MEINS(Z)&
= ,,&VBDPA-KWMENG(C)&,,&VBEP-EDATU&,,&T_PRICES-PR_LORDO(C)&,,
= &T_PRICES-PR_SCONTO(C)&
/* PERFORM GET_PRICING IN PROGRAM ZRVADOR01_FRM.
/* USING &VBDKA-VBELN&
/* ENDPERFORM.
T2 ,,&VBDPA-ARKTX&
/* ,,&'Numero articolo cliente 'VBDPA-IDNKD' '&&'Posizione 'VBDPA-POSEX&
/* ,,&'Partita 'VBDPA-CHARG&
/: ENDPROTECTTry this,
I think there is a small error in your code.
/E ITEM_LINE
/: PROTECT
/: SET DATE MASK = 'DD/MM/YY'
/* IF &PAGE(C)& 1
Instead try this
/* IF &PAGE(C)& = 1
/* &ULINE(112)&
/* ENDIF.
T2 &VBDPA-POSNR(Z)&,,&VBDPA-MATNR(C)&,,&VBDPA-MEINS(Z)&
= ,,&VBDPA-KWMENG(C)&,,&VBEP-EDATU&,,&T_PRICES-PR_LORDO(C)&,,
= &T_PRICES-PR_SCONTO(C)&
/* PERFORM GET_PRICING IN PROGRAM ZRVADOR01_FRM.
/* USING &VBDKA-VBELN&
/* ENDPERFORM.
T2 ,,&VBDPA-ARKTX&
/* ,,&'Numero articolo cliente 'VBDPA-IDNKD' '&&'Posizione 'VBDPA-POSEX&
/* ,,&'Partita 'VBDPA-CHARG&
/: ENDPROTECT -
Good Evening,
So I have 3 Servers in all, with the following configurations:
Server1: DPM2010.contoso.com (Domain A)
Server2: Sharepoint2010WFE.contoso.com (Domain A)
Server3: Sharepoint2010DB.contoso.net (Domain B)
I have prepared sharepoint2010wfe.contoso.com appropriatly by installing the DPM Agent, running configuresharepoint.exe -enablesharepointprotection & ConfigureSharepoint.exe enableSPSearchProtection.
I have prepared Sharepoint2010db.contoso.net by installing the DPM agent to the server using the manual installation method and creating local user credentials and connecting to the agent through install > attach agent.
In DPM all of agents are healthy so I go over to create the protection profile and I recieve the following error: DPM cannot protect your windows sharepoint services farm until you install agents on the following server: Sharepoint2010db.contoso.com (ID:
956)
I have already attempted creating an alias on the WFE server for Sharepoint2010db.contoso.com and have it point to Sharepoint2010DB.contoso.net but this did not resolve my issue at all.
Also please keep in mind that pinging Sharepoint2010db.contoso.com is invalid as there is not a valid DNS entry of any kind, Im not even sure where this name is coming from other than some sort of a mashup. Also I am unable to domain join the SQL server
to contoso.com because of licensing costs.
A resolution to this issue woudl be greatly appreciated.Hi Deepan,
I run into exactly the same problem with SharePoint 2013 and DPM 2012SP1. SharePoint servers run in domain a, sql 2012 in domain b. We use a SQL alias SharePoint_PROD that is configured with the fqdn of the sql server (sql20.b.com), but DPM resolves it to
sql20.a.com when I try to configure SharePoint protection. Is there any solution yet?
Here's the details of the vsswriter:
* WRITER "SharePoint Services Writer"
- Writer ID = {da452614-4858-5e53-a512-38aab25c61ad}
- Writer instance ID = {6652aefc-be3f-48db-933c-5cc245c95fe1}
- Supports restore events = TRUE
- Writer restore conditions = VSS_WRE_ALWAYS
- Restore method = VSS_RME_RESTORE_AT_REBOOT_IF_CANNOT_REPLACE
- Requires reboot after restore = FALSE
- Excluded files:
+ Component "SharePoint Services Writer:\SharePoint_PROD\PROD_SharePoint_Config"
- Name: PROD_SharePoint_Config
- Logical path: SharePoint_PROD
- Full path: \SharePoint_PROD\PROD_SharePoint_Config
- Caption: Configuration Database PROD_SharePoint_Config
- Type: VSS_CT_DATABASE [1]
- Is selectable: TRUE
- Is top level: TRUE
- Notify on backup complete: FALSE
- Paths affected by this component:
- Volumes affected by this component:
- Component Dependencies:
- Dependency to "{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}:\\SQL20\SQL20\SP2013PORTAL\PROD_SharePoint_Config" -
Adobe Reader XI protected mode problem
I downloaded Reader XI and went to open a pdf that previously worked with Reader. But Adobe Reader XI won't open (says problem with "protected mode"). I can't open any pdf's either on my computer or on the internet at trusted sights. Troubleshooting takes me to a page on fixes for Reader X. Not helpful! Any ideas? (I uninstalled and reinstalled and still won't work.)
CoUnyot,
Thanks for your post ...
Please Disable protected Mode .. Please find the below steps ":
Disable Protected Mode by going to Edit > Preferences > General and deselecting Enable Protected Mode at startup.
Restart Reader.
You can also refer the below link for more details :
http://helpx.adobe.com/acrobat/kb/protected-mode-troubleshooting-reader.html -
Sapscript print barcode problem.
hi everyone . i have troble about printing barcode using sapscript.
now i have program sapscript program name is "ZRABARC01"
and this program call sapscript = "ZAA_BARCODE" (you will see code at below of this message)
this program work well.
i want to create new programm "ZRABARC01_TEST"
(i use se38 for copy program from ZRABARC01)
and this new program will call sapscipt "ZAA_BARCODE_TEST"
(i use se71 to copy from ZAA_BARCODE)
sapscript is active
the problem is when i execute program ZRABARC01_TEST to call sapscript ZAA_BARCODE_TEST
it's will show button print barcode
after press button . it's will show print preview button.
when i press print preview button .
it's show error like this.
error message
There is no valid form
Message no. AB 061
Diagnosis
During the printing of barcodes,
the system could not find a valid form. Either no form was selected,
or the form selected is not active.
System Response
The print procedure terminates.
Procedure
Use a valid form. You can either use the sample supplied by SAP,
or modify it to your requirements. You maintain forms using the "form painter" (SE71) transaction.
and after that i press print button again.
there is error
ABAP runtime errors LOOP_WITHIN_LOOP
what should i do to use program ZRABARC01_test call sapscript ZAA_BARCODE_test
and i wonder why when i use program ZRABARC01_test and call sapscript
ZAA_BARCODE it's show same error.
please help me.
program code
pa_form = 'ZAA_BARCODE'
LOOP.
AT FIRST.
Formular ๖ffnen
CALL FUNCTION 'FIAA_BARCODE_OPEN'
EXPORTING
i_form = pa_form.
ENDAT.
Zurckholen der Struktur ANLAV.
anlav = anlav_str.
Insert 03/11/2004 OaK
WRITE anlav-anln1 TO t-anln1 NO-ZERO.
l1 = strlen( t-anln1 ).
CASE l1.
WHEN '1'.
CONCATENATE '000000000000' t-anln1 INTO t-anln1.
WHEN '2'.
CONCATENATE '00000000000' t-anln1 INTO t-anln1.
WHEN '3'.
CONCATENATE '0000000000' t-anln1 INTO t-anln1.
WHEN '4'.
CONCATENATE '000000000' t-anln1 INTO t-anln1.
WHEN '5'.
CONCATENATE '00000000' t-anln1 INTO t-anln1.
WHEN '6'.
CONCATENATE '0000000' t-anln1 INTO t-anln1.
WHEN '7'.
CONCATENATE '000000' t-anln1 INTO t-anln1.
WHEN '8'.
CONCATENATE '00000' t-anln1 INTO t-anln1.
WHEN '9'.
CONCATENATE '0000' t-anln1 INTO t-anln1.
WHEN '10'.
CONCATENATE '000' t-anln1 INTO t-anln1.
WHEN '11'.
CONCATENATE '00' t-anln1 INTO t-anln1.
WHEN '12'.
CONCATENATE '0' t-anln1 INTO t-anln1.
ENDCASE.
*End of insert 03/11/2004 OaK
*Insert for Barcode printing 26/01/04
UNPACK anlav-anln1 TO t-anln1.
IF anlav-anln1+0(2) = '00'.
MOVE anlav-anln21(3) TO t-anln10(3).
ENDIF.
APPEND t.
*End of insert.
CALL FUNCTION 'Z_AA_BARCODE_PRINT'
EXPORTING
i_anlav = anlav
i_form = pa_form
TABLES
i_t = t.
CALL FUNCTION 'END_FORM'.
CALL FUNCTION 'START_FORM'
EXPORTING
form = pa_form
EXCEPTIONS
OTHERS = 8.
AT LAST .
Formular schliessen
CALL FUNCTION 'FIAA_BARCODE_CLOSE'
EXPORTING
i_form = pa_form.
ENDAT.
ENDLOOP.
ENDFORM.
Edited by: dittaporn nanasilp on Nov 17, 2009 11:55 AMhi,
I am unable to read your post, check it once.
rgds -
When I click a pdf file to open I now (this is new) get the message "Do I want to allow the following program to make changes to this computer?" Click yes and get a window saying "Adobe Reader cannot open in Protected Mode due a problem with your system configuration. Would you like to open Adobe Reader with protected Mode disabled?"
Why do I suddenly have to go through all these steps open a pdf document?
How do I go back to just double clicking and, voila, it's open.Please don't post the same question multiple times!
Maybe you are looking for
-
How do I add my Macbook Pro to the Icloud devices?
2 things...my I cloud account will NOT show Keychains on this MacBook Pro upon further review the Pro is NOT a device I added on Icloud....only my cell phone is added, how do I add this pro?
-
How to Hide File Extensions in URL
Hello Again! I've tried to edit my .htaccess file to hide file extensions in my URL, but nothing I try works. I get "Page Not Found" when I try to remove the .html from my pages. Here is the code I have used: RewriteEngine On RewriteCond %{REQUEST_FI
-
Combining various PDF files with forms fields: How To?
Hi people. I have a problem with my Adobe Acrobat 9 Pro and some PDFs. Each file has a lot of form fields and they has the same name. When I try to combine allowed files in acrobat, the "combinator" throw a message adverting me that the fields are th
-
Purchase Requisition Committment and Availability Control
Hi, We are using availability control based on usage 1 i.e. during the budget allocation/release, the availability control gets activated. Now i have poject structure where a user have already created PR i.e. committment of 10000 USD and whereas i go
-
Waveform Chart Update With Relative Time
Hey, I have a question about how a waveform chart updates. I am running a test in the pictures attached it is only for 4 minutes and I read in a data value every 90 seconds. I was wondering why the waveform chart doesn't look like chart 2 (photosho