Validate mandatory field in BPS Excel layout

Hi Sdner
In my BPS Excel layout i want to have some characteristic as mandatory.If i don't put any value for them system will put a # by default which i don't want. system should prompt a error message that particular field is mandatory and enter some value. I can check this thru planning function(FOX) but the problem is all characteristics in that row will greyed out after function execution and hence can't be changed by user.
Does somebdy know if there is any workaround to solve this ?
Thanks
Tripple k

Hi Tarun
Use XL macros to validate data in a column.
When macro executes it first unprotect the worksheet,then we have our custom code for validation and error message, after that it is followed by a  protect sheet command.
My Prob is that if error is there in any field raised by macro, user should be able to edit those fields but as we are protecting our worksheet in macro, editing is not possible.
I can't unprotect the worksheet because then user can change anything.
+Use a read function module on planning layout. While you are in layout change mode use lbexit_fm as a transaction code. You can read data from planning layout and write validation code and error message in ABAP function module.+_
I  used this Tcode and FM, but they are ment to read Non SAP area of Excel sheet. The actual layout(Data Record)(SAP Area) which we want to read is not coming in internal table while executing FM.
On Execution it is saying that reading and writing on SAP protected data is not allowed.
If you have done any of these workaround then can you please put some more lights on this ?
Thanks
Tripple k

Similar Messages

  • Modeling BPS excel layout

    Hello,
    Could anybody explain me, how can i insert into BPS excel layout excel and Visual Basic functionality (buttons, graphics, formulas)?
    All my worksheet's rows are locked.
    Could you send me docs about SEM BPS modeling?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hello Arunas,
    you can make your changes on the third screen of the layout builder; if you save the planning layout these changes will be saved in the Excel template of the planning layout.
    Usually (dependind on the changes) it may be more convenient to download a copy of the master template and implement your changes there. Then you can checking the Excel file as an Excel template for the planning layout, e.g. with report UPP_LAYOUT_CHECKIN, cf. note 428092.
    Be careful with data in the Excel template: In the 'SAP area' the Excel templates contains no data (the dummy data
    you see in the third screen of the layout builder will be cleared when you save the layout). Data in the SAP area will be overwritten at run time with transaction data, but the size of the SAP area (e.g. the number of used rows) of course depends on the transaction data.
    Regards,
    Gregor

  • Deleting lines in SEM-BPS Excel Layout

    Within our BPS excel layout, if a user selects a line and deletes it, it only deletes the planned values in the key figures.  It doesn't completely remove the line from the layout unless the user restarts the layout.  We've tried checking and resumming, but these do not remove the line.  Is there a way to delete a line and have it completely disappear without having to restart the layout?

    Hi Lee,
    you wrote:
    If you select and delete, that line will disappear.
    Does this happens even after characteristic values are protected?
    Afte a line has been entered in BPS layout,
    I can delete the entire line provided I've not executed any planning funciton / saved into cube. (at this point, characteristics are not protected)
    If I do execute any planning funciton / saved into planning cube, at this point I doubt if one should be able to delete the entire line (both characteristics & key figures) (at this point, characteristics are protected & doesn't allow to delete the same manually)
    at this point, to delete the line including protected characteristics, we will have to use delete funciton.
    if am wrong, I'm also interested to know your solution.

  • Using mime objects in bps excel layouts

    Does anyone know how to user mime objects in bps excel based layouts?  I know you can insert 'pictures' but I don't see a link to the mime repository like you have in the web interface builder.
    Thanks
    Tim

    Hi Charles,
    There are two How to documents available on SDN, to work on the MIME objects and the procedure for the same.
    How to Add a Logo into the MIME Repository
    How to Add a Cascading Style Sheet into the MIME Repository
    Refer to the below links to access the same.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to add a logo into the mime repository.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to add a cascading style sheet into the mime repository.doc
    Hope it helps

  • SEM-BPS Excel layout

    Hi,
    In SEM-BPS I use fiscal year variant K4 and when a Excel planning layout is started with a period October, 2007 to September, 2008 the system also displays a column with  year = 2008 and period = 00.
    How can I avoid this?
    Thanks,
    Jair

    Hi,
    isn't it accidently a misused "Summation" Column?
    to switch it off:
    8th icon from left hand side: a smiling face in front of a table.
    Switch "Show total" off.

  • How to maintain comments (or Text fields) in BPS planning layout.

    Hello
    I found following document on SDN written by Tarun Malik:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60938938-de6f-2910-2080-fc80d38ebfec?quicklink=index&overridelayout=true
    Are there bugs in the coding:
    Functionmodule Z_BPS_WRITE_LAYOUT_READ_ODS:
    *it_ll_data = it_ll. "it_ll has not been defined upfront?!
    APPEND range TO et_dimension. " et_dimension has not been defined upfront?!
    Maybe Tarun Malik can answer?
    Regards
    Arjan

    Hi,
    Yeh i  know they need to click on that to see the comments ;
    Just checking if your are ok with the approach as it will avoid your coding part as well as  performance of the layout.
    going by Tarun's approach,
    how have you declared your import and export  parameters of  your function module ?
    I think you are missing that part which is giving you the error ..
    Pratyush

  • Form Layout LOV on mandatory field

    Hi,
    I have an LOV on a mandatory field in a form layout. When I am entering a new record and click on the LOV icon the LOV page displays but the calling page gives an error of "Value Required". I have noticed that if I manually change the Immediate property of the field to "false" then I do not get the error.
    This error does not occur in table layout.
    Thanks,
    Gavin

    Gavin,
    Do you have multiple LOV's on the page and/or dependent items?
    Is the Value Required message related to the LOV item on which you invoke the LOV window, or is it another item?
    Steven Davelaar,
    JHeadstart Team.

  • Microsoft Fix interferes with BPS Excel OWC

    Dear Experts,
    we had just rolled ou a MS security fix
    http://www.microsoft.com/technet/security/advisory/973472.mspx
    which deactivates some parts og ERxcel OWC.
    As a consequence, BPS Excel layouts don't work anymore.
    Has anybody already found some information on this? (a SAP note?)
    Or is there already a workaround or something like that?
    Best regards
    Gregor

    Hi Madhu,
    very interesting. Which one of the workarounds did you use?
    There are 4 described in the MS Note at http://www.microsoft.com/technet/security/advisory/973472.mspx
    1) Prevent Office Web Components Library from running in Internet Explorer
    2) Unregister the Office Web Components Library
    3) Restrict Web sites to only your trusted Web sites
    4) Set Internet and Local intranet security zone settings to "High" to prompt before running ActiveX controls in these zones
    The information I have on this meanwhile via a SAP Customer Note is, that
    - YES excel BPS layouts dont work with the MS Workaround Fix
    - SAP is waiting for MS to fix the underlying vulnerability which would make the workaround obsolete
    Best regards
    Gregor

  • Any way to validate the Mandatory field in the XML file

    Hi,
    Is there any way to validate the Mandatory field in the XML file. I created an xml type table xml_validate based on the schema and insert the XML files with statement.
    INSERT INTO xml_validate(warehouse_id,xml_file_name,warehouse_spec)
    Values (agreementid,p_filename,XMLTYPE.createXML(l_clob));
    It is validating the data types, extra tags etc but not validating the missing of the manadatory tag/value.
    Thanks in advance
    Rizly

    Hi Ants,
    Yes, I was not doing the strict validation, after searching the forum i understood that was the reason. So i did this way,
    begin
    for x in (select myColumn from myTable where WAREHOUSE_ID=41) loop
    x.myColumn .schemaValidate();
    end loop;
    end;
    The out put is:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00011: internal error: LsxvPushCandidate array overflow
    ORA-06512: at "SYS.XMLTYPE", line 345
    ORA-06512: at line 3
    My i know more information about this error, especially
    LSX-00011: internal error: LsxvPushCandidate array overflow
    Thanks in advance
    Rizly

  • How  to validate the mandatory fields in the view in WDA?

    Dear experts,
                            Iam new to WDA. i just want to know how  to validate the mandatory fields in the view in WDA?please refer any documents for validating the mandatory fields.
    Regards,
    murthy.
    Edited by: Murthy Ganti on Jul 13, 2009 2:31 PM

    Hi,
    Firstly goto view->select the element that you want to make mandatory and set the State property to required.
    Secondly place the below code in the WDDOBEFOREACTION
    DATA: l_view_controller TYPE REF TO if_wd_view_controller.
    * Get view controller
      l_view_controller = wd_this->wd_get_api( ).
    * Check for mandatory attribute
      cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
      EXPORTING view_controller  = l_view_controller
                display_messages = abap_true
    Regards,
    Radhika.

  • How to validate incoming messages with mandatory field coming as null/empty

    Hi,
    I want to validate the incoming messages received by the file adpater.
    1. Need to check that all the mandatory fields(minoccurs=1) has values, else it should return fault. But what happening now is even though the mandatory fields are empty/null, file is being read by the file adapter and not getting faulted.
    2. I have tried using the Validate Activity/Assign Activity but this is a business fault and not sytem fault, hence no faults are auto generated.
    3. We are presently using the if/switch activity and putting the conditions manually in order to validate the mandatory fields and hence it is throwing the business faults explicitly.
    4. But if there is 200 fields mandatory out of 500 fields schema, then we need to hardocde manually all 200 fields. Please advise me if this is possible in any dynamic way.
    Thanks
    Edited by: 902781 on 15.mar.2012 07:33

    Dear vijay,
    This is my xsd::
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="0"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="0"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I tried the above xsd as well as
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="1"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="1"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    But instance is getting completed even though the mandatory string field(element 1) is empty/null like:
    <element1></element1>
    What I feel is, string will accept all the values whether it is int, date, long and in the same way it is accepting null character.
    Please let me know if you have any solutions to overcome this.
    Thanks again.

  • Validate and warn user to fill a mandatory field in a PDF form

    Below is a basic example of how you can assit your form users, by reminding them to fill the mandatory fields. This condition can be applied at various events like, printing, submitting, while filling form, etc. In the following example, validation is triggered when the user leaves the form field.
    If a user clicks within the field and moves on without filling it, the following warning shows up.
    See this help topic to know more about Form Level Validation settings.
    See this help topic to other ways of validating user input.

    Hi Carmen Alvarez,
          You should use the USEREXIT_PRICING_PREPARE_TKOMP (module pool SAPLV60A, program RV60AFZZ) to move the value.
    Thanks,
    Mariano.

  • How can I Validate all fields of the form and show validation summary?

    Hello,
    I am building a dynamic form with livecycle. I need to implement two fetures:
    1. Show the user all invalid fields of the form when he tries to submit it (show him validation summary) and guide him to correct the errors.
    2. Remove the highlight frame from mandatory fields after user enters his input.
    Thanks a lot in advance,
    Peter.

    Okey once more a try...
    Normally you don't get a list of the fields that didn't pass the validation. So, you have to script the list by yourself!
    If you put the validation script in the exit field that means if the user doesn't enter the field, the script won't be executed.
    You could make an additional script into presave, presubmit, validate or whatever that will force the user to go to the field.
    For example make a field only mandatory if the user doesn't enter anything.
    Way to make mandatory fields that won't be shown if the user had provided response
    if (this.rawValue == null) {
    this.validate.nullTest = "error";
    this.edge.color.value = "255,0,0";
    this.assist.toolTip.value = "This field is mandatory, please provide a response...";
    xfa.layout.relayout();
    else {
    this.validate.nullTest = "disabled";
    this.border.edge.color.value = "255,255,255";
    this.assist.toolTip.value = "This field is optional...";
    xfa.layout.relayout();
    Will JUST get mandatory if the user doesn't provide response. (Is an older script I got here and changed slightly for you.)
    Do the parts in the event that should "fire" them. Probably divide it into two parts with two if statements instead of the else...
    Think good about the event!
    Way to make a list of what things the user has forgotten!
    You can make an invisible TextField that will be shown AND populated if the user tries to submit something invalid.
    Calculate Event of the Textfield:
    this.rawValue = " "
    if (Dezimalfeld1.rawValue == null)
    {this.rawValue = this.rawValue + "*Please enter something into Dezimalfield1, Page1,...                                                    ";}
    if (Dezimalfeld2.rawValue == null)
    {this.rawValue = this.rawValue + "*Please enter something into Dezimalfield1, Page1,...                                                    ";}
    (Of course you've got to name the fields exactly.
    All scripts are JAVASCRIPT!)

  • Validation of data fields in the Excel through webdynpro java

    Hi all,
         I have requirement as below:
                  There are data fields in the Excel File which are mandatory.When we are uploading the Excel file through webdynpro java it should validate the  mandatory data fields are filled or not.Can anybody please send the required code or any related links.
    Thanks,
    Prakash.

    Hi Surya,
    As per my info, you need to upload the file first then only web dynpro will be able to check for the mandatory fields.
    Do this, while reading the buffer from the excel, just check the size of desired columns. Hope that will help.
    Best Regards
    Chander Kararia

  • How can you ensure all mandatory fields are filled, before pressing the submit button?

    Hi all,
    I've got a complex form with many different pages (17 so far) and I'm using visible/hidden to change the layout so only 1 page appears at a time.
    What I want to do is have a better check for what mandatory fields have not been filled out in my form. The submit buttons checks that all of the mandatory fields have been completed, but if that's 1 field on page 1, searching through my entire document would cause the users to lose the will to live!
    I am after either returning more meaningful information to the user when a submit fails, or being able to run the mandatory check field every time the page changes. I already dynamically set most of the mandatory fields according to what is/isn't visible so adapting my form wouldn't take long but I have no idea how to get it to check if all the fields have been filled in.
    Many thanks,
    Tom

    Right, I have pretty much all of my validations working now... and here's the word you're waiting for... but, I am having a problem with fields that are already visible when the rest of the layout changes.
    Basically, one of the options above the field with the problem is being changed, which makes the layout above that field change. This is triggering the validate event.
    This wouldn't stop anyone using my form, but it is an annoyance.
    Anyone able to help?
    Many thanks,
    Tom

Maybe you are looking for

  • Error "Status change from READY to COMMITTED is not allowed"

    Dear experts, once again SAPs workflow environment drives me crazy with mysterious error messages. Some time ago I posted a question here concerning the problem that I cannot put back a workitem by using function module SAP_WAPI_PUT_BACK_WORKITEM due

  • How to show combobox in a table cell

    Hi, I set combobox in a table cell but it shows when I click the cell. How can I set the combobox and it be visible since the table is showing.

  • Inbound function module !

    How to analyze an inbound idoc function module  ?

  • Module Program in  Mail adapater

    Hi , I have a mail adapater and i am sending mails using that adapater . I wanted my XI e-mails to look more like normal e-mails so i refered the blog /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter but now my

  • Trouble In Photoshop CS4

    Hello Trouble In Photoshop CS4 Windows 7 build 7100 Proved when Photoshop opens and closes the window Is there a solution Trouble Proved Photoshop CS4 when Opens the window and disappear in less than a sec This problem in Photoshop CS4 Only Program I