PROTECT....... END PROTECT

HI
Do I have any command like PROTECT.....ENDPORTECT so that i can use in smarrt forms or do i need to go for any kind of logic to obtain that functionality
Regards
Pavan

Hi Pavan,
You can find page protection switch on some component's output options tab.
Page protection switch.
In some cases you may want to avoid that text is divided by a page break. Therefore, you can protect text sections with a page protection.
Page protection can extend to
a paragraph
a text node
all output within a folder, for example, several text nodes combined in this folder.
a line type (table node)
If on the current page there is not enough space left for the protected text, it is displayed entirely on the next page.
P.S.: If you want to put all the nodes below folder page protected, then put all that notes in a folder and apply page protection to upmost folder under which you have put the other nodes.
Best Regards,
Sunil.

Similar Messages

  • Manage-bde Status states "Protection Status: Protection Off"

    I have many machines that are encrypted, but say "Protection Off" and are therefore failing compliance in MBAM 1.0.  Here is what their status looks like:
    P:\>manage-bde -status -cn AAAAAA
    BitLocker Drive Encryption: Configuration Tool version 6.1.7601
    Copyright (C) Microsoft Corporation. All rights reserved.
    Computer Name: AAAAAA
    Disk volumes that can be protected with
    BitLocker Drive Encryption:
    Volume C: [OSDisk]
    [OS Volume]
    Size: 297.60 GB
    BitLocker Version: Windows 7
    Conversion Status: Fully Encrypted
    Percentage Encrypted: 100%
    Encryption Method: AES 256 with Diffuser
    Protection Status: Protection Off
    Lock Status: Unlocked
    Identification Field: None
    Key Protectors:
    Numerical Password
    TPM And PIN
    If I run the command: manage-bde -on c: -cn AAAAAA
    ....it seems to fix the problem.  See how now the protection is on?
    P:\>manage-bde -on c: -cn AAAAAA
    BitLocker Drive Encryption: Configuration Tool version 6.1.7601
    Copyright (C) Microsoft Corporation. All rights reserved.
    Computer Name: AAAAAA
    Volume C: [OSDisk]
    [OS Volume]
    NOTE: This command did not create any new key protectors. Type
    "manage-bde -protectors -add -?" for information on adding more key protectors.
    NOTE: Encryption is already complete.
    Turned on BitLocker protection by enabling key protectors.
    P:\>manage-bde -status -cn AAAAAA
    BitLocker Drive Encryption: Configuration Tool version 6.1.7601
    Copyright (C) Microsoft Corporation. All rights reserved.
    Computer Name: AAAAAA
    Disk volumes that can be protected with
    BitLocker Drive Encryption:
    Volume C: [OSDisk]
    [OS Volume]
    Size: 297.60 GB
    BitLocker Version: Windows 7
    Conversion Status: Fully Encrypted
    Percentage Encrypted: 100%
    Encryption Method: AES 256 with Diffuser
    Protection Status: Protection On
    Lock Status: Unlocked
    Identification Field: None
    Key Protectors:
    TPM And PIN
    Numerical Password
    My question is: Why are so many machines in this state, and is it safe for me to just run the "manage-bde -on c: -cn AAAAAA" on them or could it cause problems?

    I mean to say, it's the MBAM agent who sends information to the MBAM Server about the recovery keys and TPM information. So when you are using manage-bde commands for encryption, the recovery keys will not get stored to the MBAM DBs.
    What you need to do is to start the encryption with manage-bde and then at the next client wake up frequency which you have set in your environment, MBAM Agent will send the recovery information to the MBAM web servers an dthen the recovery keys will be
    stored to the MBAM DBs.
    But in this case also, TPM ownership information will not get stored to the MBAM DBs. For that you need to run a script if you have saved the TPM information in Active Directory. I have posted the script on Technet Gallery.
    Let me know if you have any more issues.
    Gaurav Ranjan

  • Protect and End protect in SAPSCript.

    Hi all
    I have a sapscript wherein the texts comes from different text elements.
    /E    581
    /E   582
    I need to put the texts from these text elements in one page.
    Can the control commands PROTECT ...ENDPROTECT weritten in different text elements help in achieveing this. 
    code as follow:
    /E    581
    /:     PROTECT
    /E   582
    /:     ENDPROTECT
    Pls provide your inputs.
    Regards,
    Stock

    Hi,
    we have to use those within the text elements...
    protect endprotect should be used with in a text element
    so that i can protect the page breaks
    /E   abc
    protect
    endprotect
    /e   abc1
    protect
    endprotect
    thanks & regards,
    Venkatesh

  • Formcalc: access = "protected" puts protected literal in field.

    Hi. I have a form that has a field, EmpNbr, appearing twice. The two fields share the same name with Data Binding set to Use Global Data. I don't want the second field to be enterable so I set the field to protected using FormCalc, see clip below. When viewing the form in Preview PDF it is indeed protected, the cursor skips the field. However, both fields show the literal protected as the initial field value. Why is the literal protected being populated and how can I prevent it?
    If I change the access to readOnly, that becomes the initial value.
    It doesn't help if I change FC to JS.
    Below is a clip of the access command --
    topmostSubform.Page1.EmpNbr[1]::calculate - (FormCalc, client)
      $.access = "protected"
    Thanks for any insight.
    Gary

    The calculate event is "special" and is setup to return whatever the script on the event does back to the caller (in your case the field). So if you add a $.rawValue to the end of your script it will return the current value of the field and all shoudl be good. Note that if you used a different event then this woudl not happen as Calculate is the only event that operates this way.
    So your script shoudl be:
    $.access = "protected"
    $.rawValue
    Hope that helps
    Paul

  • How to use protect and protect

    how to use protect and endprotect for two different element.
    iam using one element for 'tax' and one for 'item total'
    i wnt to print two elements in one page only.

    Hi
    What does 'Elements' mean for u?
    Text Elements?
    You can try to manage it in print program:
    CALL FUNCTION 'CONTROL_FORM'
      EXPORTING
        COMMAND = 'PROTECT'.
    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        ELEMENT = 'ELEMENT1'.
    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        ELEMENT = 'ELEMENT2'.
    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        ELEMENT = 'ELEMENTN'.
    CALL FUNCTION 'CONTROL_FORM'
      EXPORTING
        COMMAND = 'ENDPROTECT'.
    Max

  • Data Protection Manager - Protection Groups

    Hi Everyone,
    I want to reorganize my DPM 2010 configuration.
    I have a tape library directly connected to a DPM 2010 server, wich contains 22 usable tapes. At the moment i have about 25 servers, devided in 5 Protection Groups. Tape co-location is enabled.
    I figured that all selected data sources of all servers in all protection groups, fit on 1 tape. However, with co-location enabled, DPM sometimes fills up a previously used tape, before using a free or expired one.
    Now my question;
    Is it smart to put all the 25 servers in 1 single protection group and disable co-location?
    In that way everyday only a single tape is used for all the backups. Also the weekly backups will only use 1 tape. It creates a nice overview for me. All servers can use the same schedule.
    What is your opinion on this?

    Think that it helps you
    DPM 2012 - Backup Protection Group to Tape
    http://social.technet.microsoft.com/Forums/en-US/32091d07-2e08-4859-9b68-92c7c4708a38/dpm-2012-tape-colocation-options-media-pools?forum=dpmtapebackuprecovery
    https://blogs.technet.com/b/dpm/archive/2012/05/14/things-you-can-do-to-help-data-protection-manager-utilize-your-tapes-full-capacity.aspx
    http://technet.microsoft.com/en-us/library/ff399230.aspx
    Have a nice day !!!

  • FDM - Integration Settings - Data Protection Switch - Protection Value

    Hello HFM Group,
    I need some quick guidance. There are 3 HFM accounts that I want to protect against FDM Exports
    Three accounts I want to protect:Op_AirOp_VehOp_Tra
    The Protection Operation is set at " = "
    The Protection Value is set as: Op_Air; Op_Veh; OpTra
    My problem seems to be that the protection value only works when I list 1 account in the Protection Value box. I.E. It will protect the Op_Air account if it's the only account listed. But if I list the 3 accounts delimited by a semicolon as shown above it doesn't protect any of them. Surely there is a way to specify multiple values WITHOUT having to designate a common UD1 for these 3 accounts in HFM?
    Can't I list multiple values in the Protection Values box? If so what is the syntax to separate the values? Evidently, it's not semi-colon or comma....Any Ideas
    FYI - I know I could designate a common UD1 and place them on all 3 of these accounts but I am trying to avoid this direction.
    Thanks,
    James

    Hello,
    Currently right now the FDM Data Protection option is limited to a single value.
    The way the data is handled between the two software products is a current limiting factor.
    Thank you.

  • Protect already protected volume on a smaller pool

    Hi everyone,
    We currently use DPM 2010 to protect data on to a 20TB array. We have installed a new array on a NAS and attached via iSCSI, this array is 4TB.
    I would like to protect some volumes and system states to the smaller 4TB NAS which are already protected on the larger 20TB array.
    Unless I'm missing something, this doesn't seem possible.
    Let me make this clear, I want to protect some of my volumes and system states on to another array, so that they're protected on two arrays. Obviously I'll need to be able to modify the days protected on the smaller array too, or just keep one full backup.
    Can this be done, if so how?
    Thanks,
    Thanasi.

    1) You can use custom volume
    Defining Custom Volumes
    http://ystartsev.wordpress.com/2011/08/08/dpm-custom-volumes/
    http://ystartsev.wordpress.com/2011/09/16/multiple-schedules/
    2)you can use robocopy to copy data from one array to another
    may reverse :)
    Colocate data from different protection groups on disk
    Have a nice day !!!

  • 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

  • Need help regd SCRIPT PROTECT and ENDPROTECT

    hi,
    Actually 3 elements are written in between
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    Command = 'PROTECT'
    and
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    Command = 'ENDPROTECT'
    I am getting the data for which the page is not enough.In this case it is printing 85% of data in the second page and 15% of data in the 3rd page by skipping 1st one eventhough size of 1st page and 2nd page are equal.
    Please suggest me what is happening here .
    thanks
    SAM

    HI,
    You can try out Protect-End protect directly in the form itself by /:.
    If the data is enclosed in this way,
    Protect
    endprotect.
    It is protected for this particular call of the window.
    whereas,
    ENDPROTECT
    PROTECT
    captures the data uptil the next call of the window.
    This first scenario can be useful when you can estimate the amount of data you are printing and the later in random instances such as you want to print the details of flight pertaining to a Carrid to be existing on that page itself, it can be achieved using the second method, where the window is called for every change of carrid.
    Try it out as per your requirement
    Thanks and regards
    Sharath

  • Unavailable 'page protection' smartforms

    Hi all.
    I need all parts of a table in a smartforms, be shown in the same page. If I select the table, and select 'Output Options', there is a flag 'Page protection', but it is in display mode, and I can't put it in change mode to mark it. Could you help me? I have marked flag 'Page protection' in Line type, but it keeps toguether the line, but not all the lines of the table.
    Thanks a lot.
    Marta.

    Hi,
    try the following options :
    1.When defining the paragraph format from T Code : smart styles in tab Indents & spacing under header Text Flow there are 2 check boxes  Page Protection and Next paragraph same page . If u set these check boxes then they work like Protect - end protect in sap script. 
    2. Folder option
    But It all depends on the amount of data that you are trying to display on the smart from, if it is a large data it has got no option but to spread to next page.
    Revert if it works.
    Thanks,
    KC.

  • RESERVE command alternative in ABAP report

    We have a requirement to print article pricing data on a report (simple list, not ALV or SAP Script). If data for the next article does not fit on the remaining lines of the current page then a new page should be started. I know we can use the RESERVE command but this means working out how many lines the next article will use. Is there anything like the PROTECT/END PROTECT command used in SAP Script that we can use in the ABAP report? Or can anyone suggest another way?
    Regards

    I don't think there is anyway around this other than to count the number of lines for the article before starting to print and throw a new page if necessary. I was hoping to avoid doing this as counting the number of print lines for an article will be quite involved.
    I think what I shall do is collect all required data for an article and then call a print routine. The print routine shall be called twice, the first time it shall not print the data but count each line that would be printed. On return from the first call to this routine I shall have available the total number of print lines for the article. Now I shall do a NEW-PAGE if needed and call the print routine a second time to actually print the data.
    Each WRITE command in the print routine shall have to take the form:
    IF print_on.
      WRITE:/ ......
    ELSE.
      ADD 1 TO g_total_print_lines_for_article.
    ENDIF.
    The overhead to calling the print routine twice shall not be that great as all the data will already have been collected prior to the first call.
    Messy but necessary I guess.
    Cheers

  • Urgent help in script

    Hi all,
    I have a script with 2 pages first and next
    i have two main windows 00 and 01 per page.
    I have records like
    type mat matdes
    a 1 abc
    b 2 abcd
    a 3 abcde
    b 4 bggu
    I want to display in my script as
    type mat matdes --inside a box
    a 1 abc
    a 3 abcde
    type mat matdes --inside a box.
    b 2 abcd
    b 4 bggu
    my requirement is
    1)i want a box for type mat matdes headings
    2) i wnat to display everything in 1 window i.e main 00 or main 01,
    i.e i dont type mat matdes in mianwindow 00
    and
    b 2 abcd
    b 4 bggu
    in mainwindow 01.
    or
    i dont type mat matdes in mianwindow 01 of page first
    and
    b 2 abcd
    b 4 bggu
    in mainwindow 00 of page next.
    mY CODE IS LIKE
    /E ITEM
    /: PROTECT
    /: IF &TYPE1& NE ' '.
    P TYPE Material Description
    /: ENDIF.
    Q &TYPE1& &MATNR& &MAKTX&
    /: ENDPROTECT
    tHIS IS MY DRIVER PROGRAM.
    LOOP AT ITAB.
    CLEAR TYPE.
    AT NEW TYPE.
    TYPE1 = ITAB-TYPE.
    ENDAT.
    WRITE_FORM
    ITEM
    END LOOP.
    WHAT I SEE IN MY OUTPUT IS,
    1)i DON'T HOW TO WRITE THE CODE FOR BOX, BECAUSE THE YPOS IS DETERMINED BASED ON THE NO OF RECORD FOR EACH TYPE,
    2)i GET THE PROTECT END PROTECT WORKING FOR MAIN WINDOW 00 TO MAIN WINDOW 01 IN FIRST PAGE,
    BUT IT DOESN'T WORK FOR MAIN WINDOW 01 OF FIRST PAGE TO MAIN WINDOW OF WINDOW 00 OF NEXT PAGE AND
    ALSO IT DOESN'T WORK FROM MAIN WINDOW 00 TO MAIN WINDOW 01 OF NEXT PAGE.
    the number of items for type may vary some times type a has 4 and some times 5 .
    so it varies.
    Any help regarding would be greatly appreciated and its bit urgent.
    Thanks in advance.

    Hi all,
    Please read carefully,
    i know how to write box,
    I need box in mainwindow multiple times.
    type  mat mat des  this box
    record1
    record2.
    type mat matdes des again this in box.
    record3
    record4
    record5.
    LET ME KNOW IF IAM NOT CLEAR.
    I DON'T KNOW THE Y POS OF THE BOX BECAUSE OF VARIABLE NO OF RECORDS.
    IS THERE A WAY TO KNOW THE YPOS DURING RUNTIME.
    THANKS

  • Script help req in logic

    Hi all,
    I have a script with 2 pages  first and next
    i have  two main windows 00 and 01  per page.
    I have records like
    type  mat  matdes
    a      1    abc
    b     2    abcd
    a      3    abcde
    b      4    bggu
    I want to display in my script as
    type   mat  matdes --inside a box
    a      1    abc
    a      3    abcde
    type   mat  matdes --inside a box.
    b     2    abcd
    b      4   bggu
    my requirement is
    1)i want a box for type mat matdes headings
    2) i wnat to display everything in 1 window i.e main 00 or main 01,
    i.e i dont type mat matdes in mianwindow 00
    and
    b     2    abcd
    b      4   bggu
    in mainwindow 01.
      or
    i dont type mat matdes in mianwindow 01 of page first
    and
    b     2    abcd
    b      4   bggu
    in mainwindow 00 of page next.
    mY CODE IS LIKE
    /E  ITEM
    /: PROTECT
    /: IF &TYPE1& NE ' '.
    P  TYPE  Material    Description       
    /: ENDIF.
    Q &TYPE1& &MATNR& &MAKTX&   
    /: ENDPROTECT
    tHIS IS MY DRIVER PROGRAM.
    LOOP AT ITAB.
    CLEAR TYPE.
    AT NEW TYPE.
    TYPE1 = ITAB-TYPE.
    ENDAT.
    WRITE_FORM
    ITEM
    END LOOP.
    WHAT I SEE IN MY OUTPUT IS,
    1)i DON'T HOW TO WRITE THE CODE FOR BOX, BECAUSE THE YPOS IS  DETERMINED BASED ON THE NO OF RECORD FOR EACH TYPE,
    2)i GET THE PROTECT END PROTECT WORKING FOR MAIN WINDOW 00 TO MAIN WINDOW 01 IN FIRST PAGE,
    BUT IT DOESN'T WORK FOR MAIN WINDOW 01 OF FIRST PAGE TO MAIN WINDOW OF WINDOW 00 OF NEXT PAGE AND
    ALSO IT DOESN'T WORK FROM MAIN WINDOW 00 TO MAIN WINDOW 01 OF NEXT PAGE.
    the number of items for type may vary some times type a has 4 and some times 5 .
    so it varies.
    Any help regarding would be greatly appreciated and its bit urgent.
    Thanks in advance.

    Hi
        This is an example --  WINDOW (FOR BOX) in se71
    /: POSITION WINDOW
    /: POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN
    /: SIZE WIDTH '+0.4' CH HEIGHT +1 LN
    /: BOX FRAME 10 TW
    /: BOX HEIGHT '1.7' LN INTENSITY 20
    Regards,
    vind.

  • Sap Script (Very argent)

    Hi,
      I am doing a script, in this script lot off windows and also having one main window, I am displying datas in main window from itab,
      my requirment is in the first page data is full means normaly remaining data it will go to the second page, for me it is going to second page means i dont wand display data in first page, i want display all data in second page.
    how can i do it.
    can i use protect end protect.

    Hi s-raj.
    have I got you right: You want the printout to start on page 2 if the items do not fit all on page 1.
    Question: What is if they do not all fit in page 2?
    OK try like this:
    in main window before item output, default text element on top of page:
    IF &PAGE& = 1
    PROTECT
    ELSE
    ENDPROTECT
    ENDIF
    This will control script to keep all items together.
    But possibly you have more PROTECT and ENDPROTECT - those may be sent from the print program using function CONTROL_FORM. Make sure there aren't because PROTECT - ENDPROTECT can not be nested.
    Regards,
    Clemens

Maybe you are looking for

  • Variables

    Hi Experts, I am having a problem in creating a report in answers where the results are based upon a user input via a prompt on a dashboard. As of yet I have a dashboard which asks for a module which is a dimension. This is set as a presentation vari

  • Data comparison between 2 models

    hi, we've 2 models - consolidation and planning in our BPC 10.0 environment. we consolidate actuals and send data to planning using BADI embedded logic script. Some times, we are seeing differences between CONSOLIDATION model and PLANNING model data.

  • Problem importing email from Netscape

    I am trying to switch from Netscape 7.2 Mail to Apple's Mail version 1.3.11 (running under Mac OS X 10.3.9). When I import a mailbox I find that several messages are not being imported. In some cases only 2 or 3 messages are brought over from a total

  • .dmg backup file will not mount.  Failure not an option.

    Let me begin by saying that my lovely wife is, for good reason, currently not very happy with me. Allow me to explain... I recently decided that it was time to upgrade her iBook G4 from Tiger (10.4.xx, not sure what it was exactly) to Leopard. Her sy

  • Unknown Database Connector Error in CR XI R2 sp6

    I'm getting an "Unknown Database Connector Error" when I try to Set Data Source Location. This is effecting all of my reports and is happening on multiple copies of CR XI. I'm trying to connect to MS SQL using an ODBC (RDO) connection. The reports we