Adding Additional Parameters (SLUG) to sap.m.uploadCollection

Dear All,
Kindly help to find out a way to add additional request parameters (SLUG) while uploading a file from UI5 front end through gateway using Sap.M.UploadCollection control before uploading the file.
insertCollectionParameter is working but i would like to add dynamic parameters before the POST request is fired.
Kindly help accordingly.
Thanks,
Rumeshbabu S

Hi,
slug is one of the header parameters, if you want to add multiple values i suggest you use a separator, e.g. "|" so you can easily split the parameters in the backend.
e.g.
var oHeaders = {
                    "x-csrf-token" : header_xcsrf_token,
                    "slug" : sap.ui.getCore().byId('masterSelect')
                            .getSelectedKey()
                            + "|"
                            + file.name
                            + "|"
                            + file.type
                            + "|"
                            + sap.ui.getCore().byId('bestandsNaam').getValue()
                            + "|"
                            + sap.ui.getCore().byId('typeSelect')
                                    .getSelectedItem().getId(),
if you want something dynamic, you could use a javascript array:
var slug = slugArray.join("|");
in backend:
CONSTANTS:
  gc_delimiter(1)    TYPE c  VALUE '|'.
SPLIT iv_slug AT gc_delimiter into itab_slug.
Kind regards,
RW

Similar Messages

  • Adding additional fields on standard SAP pop up box

    Hi Experts!!
    I have to enhance IT0378(Adjustment Reasons) with additional fields. Same time I have to enhance a pop box wich is generating  in IT0171( General Benefits) in CE workbench.
    ( if you click on workbench, we get a popbox with a statement ' Benefit data for other Personnel assignments' . Selet green right mark with name 'work bench'. It will take you to Concurrent Employment Benefit Workbench screen. Choose any position in the left side then select create Adjustement reason button. you will get a pop box. Exaclty here i have to add the fields whatever i am going to enhace in IT0378 )
    Could you please give some easy steps to get it done.
    Regards,
    Ravi Visarapu.

    http://wiki.ittoolbox.com/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction

  • Adding additional tables to the extractor configuration

    Hi Experts,
    Can you please help me adding additional tables to the SAP extractor and to configure the field data in the orgstructure to show a flag against the position.
    Luke - I have tried using the option said by you from Application-wide Settings-->Data Centre --> Read SAP Table, it has properly save the added table, but not able to see it from SAP extractor configruation and not able to extract any data. Also, can you please guide me how to use the fields from this table (HRP1010) to write a small piece of logic to show a flag for a particualr position based on data.
    Thanks in advance,
    Purandhar

    Hi Purandhar,
    I have tried using the option said by you from Application-wide Settings-->Data Centre
    --> Read SAP Table, it has properly save the added table, but not able to see it from
    SAP extractor configruation and not able to extract any data.
    This has probably added a data element - I would check in the dataelementconfiguration folder in your build's .delta folder. IF so then you have the first step completed. Now you need to add the necessary configurations to use the data that comes through this data element.
    Go to your orgchart/hierarchy and navigate to Views. Here select your view (or your first view if this needs to be done for more than one view - if so you'll need to repeate these steps but not the step you already did in the Data Centre), and then click the + icon next to Design Details. Here you can add a new linked detail to your view detail. Simply give it a name, select the detail to link it to (usually the top level detail which is in blue), select a link field and then select your data element that was created in the Data Centre.
    Now if you try to add a section to your view inside the Design Details view designer you will see your new detail added. You can then select it and add fields from this detail.
    Also, can you please guide me how to use the fields from this table (HRP1010) to write
    a small piece of logic to show a flag for a particualr position based on data.
    Once you have been able to add the data in the views designer you will probably need to do some XML and XSL editing because you cannot edit XSL files in the AdminConsole and you will need to do this to get your icon/flag to show.
    First of all you need to create a new XSL file and put it into a folder in your .delta\root folder. For example, My_XSL_files. Here you need to write the code to render your flag based on your variable. You can find plenty of examples in all of the pre-existing XSL files. Then you need to copy PresentationResources.xml to .delta\root\XML and add the reference to your new XSL file.
    Go to your build's .delta folder and go to detailconfiguration. Find the detail you just created and open it. You'll find a section in their that you just added with a reference to an XSL file (e.g. if you added a Simple Caption section it will probably be something like SimpleCaptionXSL). Change this to the reference in the PresentationResources.xml.
    Load your build in the AdminConsole and hit Publish. Once done you should see your icon. Sometimes if your XSL is invalid or the code doesn't work you won't see anything. This is not unusual as the whole process can be quite tricky - even for us with lots of experience!
    Good luck!
    Luke

  • Adding additional j2ee node

    Hello,
    we are running BI 7 - abap+java stacks with 16 GB ram (recently added)
    i would like to know what is the thumb rule for adding additional j2ee node?
    when is it neccassary to add additional j2ee node?
    Regards,
    Moshe

    Hi,
    The JLaunch starts a Java program. It loads the JVM into its own address space and then represents the required cluster element. The program can receive notification from the JControl process via named pipes to stop the cluster element, and terminates, if the JControl stops running (fork emulation under Windows).
    So Jlaunch consuming high CPU time means that server, dispatcher or bootstrap process consume it. If there are not enough system or application threads avaliable means that the engine must buffering requests for web application or system processes. Things to check in this case are:
    SAP NOTE 1016241 - J2EE Engine hangs because of unsufficient system threads
    SAP note: 716604  and upgrade JDK.
    SAP note: 723909 -> set correct VM parameters
    and if issue persists, then you will need to analyse the application causing teh leak...
    SAP note: 1259465: Memory analyser.
    Regards,
    Hemanth

  • Use of Additional Parameters in JDBC Sender Adapter

    Hi -
    Can anybd tell me the Use of "Name, Value" Entries while setting the Additional Parameters in the Sender JDBC Adapter...
    And if is Same for All adapaters...what is the need of Setting Name-value pair in these Adapters?

    Hello Jeet,
    Go through the following link..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    Regards,
    Sumit

  • Use of Additional Parameters in JMS Adapter

    Hi Frnds,
    Can any one explain the use of Additional Parameters  in JMS Adapter.
    Regards,
    Raj

    HI,
    To make additional settings or replace the default settings, enter the parameters and values in the table.
    those are JMSMessageClass and JMS.Message.method.setStringProperty.
    For more details.
    http://help.sap.com/saphelp_nw04/helpdata/EN/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Thanks.

  • Additional parameters for Adapters in XI 3.0

    In the online doc for adapters in XI 3.0, it refers to SAP Notes under the section for Additional parameters. Has anyone found these Notes?
    /Elling

    Here is the text of the note:
    Symptom
    In the File Adapter documentation it is stated that parameter settings
    for the parameter table in the "advanced mode" section of the
    configuration are documented via OSS note.
    Other terms
    J2EE XI 3.0 30 Adapter Engine File Adapter
    Reason and Prerequisites
    You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
    Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
    Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
    When you want to use a parameter documented here, be aware to which category it belongs!
    Solution
    The following list shows all available parameters of category 1 or 2. Please remark:
    Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
    Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
    The default value of a parameter is always chosen that it does not change the standard functionality
    File Sender Adapter parameters
                   = No parameters available up to and including SP10 =
    File Receiver Adapter parameters
                   = No parameters available up to and including SP10 =

  • Improve Portal performance with BI-Java by adding additional server node.

    Hi SAP Expert
    I wonder anyone might have attempted this before,
    In an environment with BI-Java and Portal Java stack installed on the same server, is it possible to improve the system performance by adding additional portal server node? or is there any improvement seen by adding the extra server node?
    I am after suggestion and experience on how the portal performance can be improve, with consideration of BI-Java sharing Portal resources.
    Any comment will be most appreciated.

    Hi Jim,
    We've this configuration at our site, Portal and BI running together (not federated).  Recommendations would be to:
    1. Set a sensibly large max heap size on each server node of Portal (at least 2GB if not larger) and implement several nodes at least.  For example we have 4 x physical nodes, each running 3 server nodes of 2GB max heap size apiece so a total of 12 nodes.
    2. Implement the BI Safety Belt for large results sets (1127156)
    3. Implement the latest JVM / JDK you can on your environment.  We found much improved performance after implementing JDK SR10 with the J9/2.3 options enabled e.g.,  -Xjvm:j9vm23
    -Xsoftrefthreshold0
    4. Patch your BI components on the Portal (BIBASES, BIWEBAPP etc) to the latest available patch level for your Portal SP level
    5. Make sure all your RFC connections are load balanced to the backend and tuned for the kind of load you expect on your reports, and the BI is sized appropriately in terms of app servers and dialog work processes, RFC-enabled login groups in SMLG etc.
    6. Consult notes 1048691 (especially useful, opions &PROFILING=X&TRACE=X added to reports for example for performance tracing), 937697, 1021921, 948158 for information about problem analysis for this scenario
    7. Implement SAP Web Dispatcher for Portal to reduce load on static mime files
    8. Tune the Portal application.  There's plenty information on SDN related to Portal performance tuning.
    I hope this helps!
    Cheers,
    Marc

  • Additional parameters in availability check

    Dear experts,
    Our client uses availability check in their current SAP system and we are about to enhancing the functionality of the SD module. Our case is that we need additional parameters that will be used for availability check.
    Is there a badi or user-exit that we can extend availability check parameters?
    thanks in advance
    Mehmet

    HI,
    User Exits For Availability Check
    The user exits named here are planned for projects that are to be carried out in agreement with SAP development as they may only be used in consultation with SAP. SAP provides no guarantee if they are used without our advice!
    USEREXIT_PLANT_SELECTION in program RV03VFZZ is an exception to this rule (see below).
    User exits in program FV45VFZZ
    USEREXIT_ADD_FIELD_TO_HEADER
    USEREXIT_ADD_FIELD_TO_LINE
    User exits in program FV45VFZY
    USEREXIT_DELIVERY_GROUPS
    USEREXIT_MVERF_INIT
    USEREXIT_QUOTA_KEY_VALUE
    User exits in program RV03VFZZ
    USEREXIT_AVAILABILITY_IN
    USEREXIT_AVAILABILITY_OUT
    USEREXIT_DARA_REFRESH
    USEREXIT_PLANT_SELECTION
    This user exit is used to adjust the flow during plant transfer. A list of permitted plants, where this material is created, is determined and checked in the standard R/3 delivery. A dialog box appears where you can select the plants. The user exits allow you to modify the plant table so that plant selection takes place in advance for every flagged selection and a dialog box becomes unnecessary.
    Regards,
    kishore.

  • Pass additional parameters to AII

    Hi,
    Is it possible to pass additional parameters for Serial Number Request through Name Value pair in a xml? If so then please cite an example.
    The scenario requirement is 3rd party non SAP systems will be requesting Serial Numbers from AII via SAP XI. However additional parameters will also be sent in Name Value pair for certain validations by SAP XI.

    no, you can't do that.
    you could create your own class to extend your
    interactiveobjects and pass additional parameters in your custom
    mouse handlers, but it's even easier, in your situation, to use
    movieclips to dispatch your mouse events and define whatever
    properties you need to use in functionName() as movieclip
    properties and retrieve them using
    MovieClip(e.currentTarget).whateverProperty.

  • Additional parameters from CTI Connector - CRM

    Hi everyone,
    We are currently implementing a CTI scenario using ICI/BCB in SAP CRM 2007.
    The CTI connector is successfully sending the inbound calls to the IC Web Client screen, and the business partners is identified through the telephone number.
    I would like to know how to proceed in order to include additional parameters (e.g. business agreement) in the communication between CTI connector and SAP CRM.
    Thanks in advance & Best Regards,
    Gabriel Santana

    Hi Gabriel,
    You can first refer to the OSS Note 707104, where it had been explained on making use of the the BP and GUID directly for Account identification.
    However, this note makes use of the BP and GUID directly. But in your case, it is something else (business agreement). 
    So one of the possibilities that I could see is:
    --> Incoming call arrives into CTI with business agreement ID (as part of the CAD)
    --> CTI do the BAPI call ( You will have to create this BAPI ) to use this Business Agreement ID in order to look up for BP Number.
    --> BAPI returns BP number and GUID. (as explained in the note)
    --> CTI add this CAD as part of CRM_IC/BUPA
    --> BP will look up and identify automatically without any code change(this is as per the standard).
    So the point is, as per the standard, the BUPA Controller will need the BP Number to be identified and confirmed. For this the CTI needs to first lookup for the BP Number, with the help of either the ANI(Automatic Number Identification, that is the incoming telephone number) or the CAD data.
    Since in your case, you wanted to lookup the BP with the help of the Business Agreement(which is part of the CAD), you have to comeup with your own BAPI, which should accept the Business agreement as a parameter from the CTI and return back the respective BP Number to the CTI after successful lookup and this BP number can be made used to identify and confirm by the Account Indentification.
    One thing that I'm not sure is, whether CAD and ANI are both correct, which one will take priority in the Account Identification as compared to the way it works in IC Winclient.
    Hope this information helps.
    With Best Regards,
    Vinod

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Possibility to transfer additional parameters in outbound XML message

    Hi,
    is there any possibility to transfer additional parameters in outbound XML message using (BADI: BBP_SAPXML1_OUT_BADI).
    Additional parameters are,
    1. Communication Method for the Business Partner
    2. R/3 Vendor # & logical system for Business Partner
    3. Relationship between Business Partner Number and R/3 Vendor Number is ‘BP GUID’.
    How can we extended the structure in the BADI.
    Please give me qucik response.
    Thanks & Regards.
    Surya

    Look for structure which the interface parameters are referring, there you should see some dummy structures referring to INCL_EEW* for e.g. in PO header INCL_EEW_PD_HEADER_SSF_PO. Add additional fields and pass the data accordingly.
    Regards, IA

  • Using Additional parameters in file receiver

    Hello all,
    I'm trying to use additional parameters the following way:
    In my receiver adapter:
    File Name Scheme : %var%.txt
    Additional Parameters:  
    %var%     |   myvalue
    Checked "Set Adapter Specific Message Attributes" and "FileName" in both sender and receiver adapters.
    XI doen't pay attention to my variable and outputs the file name as is (exactly as the original name).
    Can anyone please help me solve the problem?
    Thanks in advance

    Hi,
    since you are using both variable substitution & Set Adapter Specific Message Attributes, the second one has highest preference. So only Adapter Specific Message Attribute works in this case.
    So use either Variable Substitution (or) Set Adapter Specific Message Attributes according to your scenario requirement.
    - Gujjeti.

  • Customization of "Positive Pay file with additional parameters"  template

    Hi,
    We've a requirement to customize the eText template of the Positive Pay file with additional parameters report. The setup is done , now the program is picking up the new format. Since the payments involves multilines hierarchy, we are unable to print the data in the hierarchical format. Our requirement is to print a Header with information like BankAccountNumber,Total Amount in Dollars , Total number of lines. And Detail segment with all the infomation like BankNumber, BankAccount Number, Amount, Print 'V' if the check is voided etc. please let me know how to achieve this format in eText.
    Thanks
    Elan

    Did you introduce a new LEVEL for the detail info?
    Refer user guide on the syntax of usage.

Maybe you are looking for

  • White line in the middle of my NEW IPad 2, please help

    Dears, i just get my Ipad 2 (64 GB + 3G) and when i press the power button a white line occurred in the middle of the screen. your keen interest is highly appreciate

  • Purchased Playlist Not Updating

    Running iOS 7.0.1 on an iPhone 5s My music app is not automatically downloading any new purchases, despite automatic downloads being turned on. Furthermore, it's not adding anything purchased on my iPhone to the "Purchased" playlist, it's simply goin

  • Smartfrom Mail Issue

    Hi Folks,               I am developing a smartform and sending the output as an Email Body.I am developing the form with logo.When I execute the form in SMARTFORMS i get logo and the style I usefor the text  in the form gets reflected.But when I see

  • One eye no result in red eye correction?

    When I put a portrait photo into iPhone, and used red eye removal separately on both eyes, one eye only was corrected, but the second eye would not change, but remained red: tried one at a time, and also tried in Preview. Any suggestions? Thanks

  • AE too long project saving time

    Hello! Just having on same computer both version of AE CS6 and CC: the latter takes at least four-five times more to save same project. Anybody can help, pleaze? Thanx Frrr PS. hard disk is a brand new and fast Samsung EVO.