Adding Custom screen for Create Space functionality in WebCenter Spaces

I need some information on WebCenter Spaces.
By default there are couple of parameters such as Space name, description, tag, url, status (Public, Private) etc. is required to create the Space with the Out-of-the-box screen in Spaces. But we have a requirement to create Group Space with some additional parameters too.
I am finding a solution for that. Can we build a task flow with all the parameters that we need to create the Spaces ? If that is possible, can we use Spaces API to create the space and then deploy that task flow in Spaces ?
Please let me know if there are any other options.

Hi.
Yes you can. Build a Task Flow consuming Spaces API (WebService or REST) and setting custom properties to it.
Steps that you have to follow is:
- Use API to create your group Space:
//create the Space
GroupSpaceWSMetadata gsMetadata =
client.createGroupSpace("Databases", "Databases" "A community for people interested in databases", "databases, oracle", "CommunityofInterest");
//print the Space GUID to provide confirmation of creation
System.out.println("GUID: " + gsMetadata.getGuid());- You can add programmatically custom attributes:
//create the custom attribute
client.setCustomAttribute("Databases", "Vendors", "List of vendors", "java.lang.String", "Oracle, IBM");Code is from WebCenter Spaces API off doc: http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_spaces.htm#CIHIJBIG
Regards.

Similar Messages

  • Added custom screen in PO using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST

    Hi All,
    I have added custom screen with two z fields at item level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST i can see my screen in tcodes ME21N , ME22N , ME23N but I am not able to save data.
    and also screen is coming in change mode even in ME23N .
    thanks.

    Hi,
    I have added two xfields at item level.
    This is the code i have added in zimplementation ZME_GUI_PO_CUST .
    IN Zimplementation ME_PROCESS_PO_CUST I have added code only in method FIELDSELECTION_ITEM . after doing this I can see only screens in ME21N, ME22N, ME23N but when enter data in zfields and trying to save it is giving me message no data has changed.
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
    we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = subscreen1.
    the dynpro number to use
      ls_subscriber-dynpro = '0001'.
    the program where the dynpro can be found
      ls_subscriber-program = 'SAPLYMEPOBADIEX'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
    a label can be defined
      ls_subscriber-label = text-001.
    the position within the tabstrib can be defined
      ls_subscriber-position = 4.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
      ENDIF.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODEL.
      DATA: l_item       TYPE REF TO if_purchase_order_item_mm,
            ls_mepoitem  TYPE mepoitem,
            ls_customer  TYPE mepo_badi_exampl.
    system asks to transport data from the business logic into the view
      CASE im_name.
        WHEN subscreen1.
    is it an item? im_model can be header or item.
          mmpur_dynamic_cast l_item im_model.
          CHECK NOT l_item IS INITIAL.
    transport standard fields
          ls_mepoitem = l_item->get_data( ).
    transport customer fields
          CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
            EXPORTING
              im_ebeln = ls_mepoitem-ebeln
              im_ebelp = ls_mepoitem-ebelp
            IMPORTING
              ex_data  = ls_customer.
    store info for later use
          MOVE-CORRESPONDING ls_mepoitem TO dynp_data_pbo.
          MOVE ls_customer-badi_bsgru TO dynp_data_pbo-badi_bsgru.
          MOVE ls_customer-badi_afnam TO dynp_data_pbo-badi_afnam.
        WHEN OTHERS.
      ENDCASE.
    endif.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_DYNP.
      CASE im_name.
        WHEN subscreen1.
          CALL FUNCTION 'YMEPOBADIEX_PUSH'
            EXPORTING
              im_dynp_data = dynp_data_pbo.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    endmethod.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_DYNP.
      CASE im_name.
        WHEN subscreen1.
          CALL FUNCTION 'YMEPOBADIEX_POP'
            IMPORTING
              ex_dynp_data = dynp_data_pai.
          IF dynp_data_pai NE dynp_data_pbo.
    something has changed therefor we have to notify the framework
    to transport data to the model
            re_changed = mmpur_yes.
          ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    endmethod.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_MODEL.
    DATA: l_item       TYPE REF TO if_purchase_order_item_mm,
            ls_mepoitem  TYPE mepoitem,
            ls_customer  TYPE mepo_badi_exampl.
    data have to be transported to business logic
      CASE im_name.
        WHEN subscreen1.
    is it an item? im_model can be header or item.
          mmpur_dynamic_cast l_item im_model.
          CHECK NOT l_item IS INITIAL.
          ls_mepoitem = l_item->get_data( ).
    standard fields changed?
         IF dynp_data_pbo-matkl NE dynp_data_pai-matkl OR
            dynp_data_pbo-plifz NE dynp_data_pai-plifz OR
            dynp_data_pbo-webaz NE dynp_data_pai-webaz.
    update standard fields
           ls_mepoitem-matkl = dynp_data_pai-matkl.
           ls_mepoitem-plifz = dynp_data_pai-plifz.
           ls_mepoitem-webaz = dynp_data_pai-webaz.
            CALL METHOD l_item->set_data( ls_mepoitem ).
         ENDIF.
            CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
              EXPORTING
                im_ebeln = ls_mepoitem-ebeln
                im_ebelp = ls_mepoitem-ebelp
              IMPORTING
                ex_data  = ls_customer.
            ls_customer-badi_bsgru = dynp_data_pai-badi_bsgru.
            ls_customer-badi_afnam = dynp_data_pai-badi_afnam.
            CALL FUNCTION 'YMEPOBADIEX_SET_DATA'
              EXPORTING
                im_data = ls_customer.
         ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
    DATA: l_persistent TYPE mmpur_bool.
    CONSTANTS:
    FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
    l_persistent = im_item->is_persistent( ).
    *IF l_persistent EQ mmpur_yes.
    READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
                         metafield = MMMFD_YYMAN_NUM."fd_cust_01.
    IF sy-subrc IS INITIAL.
    <fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
    <fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
    ENDIF.
    READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
                         metafield = MMMFD_YYMAN_DES."fd_cust_01.
    IF sy-subrc IS INITIAL.
    <fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
    <fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
    ENDIF.
    *ENDIF.
    ENDIF.
    endmethod.

  • Delivery Address coming as a default in the home screen for creating a SHC

    Dear Experts
    I have done some changes in the delivery address and while saving it was asking to maintain as a default address otherwise it was not able to save the changes I made.So I maintained it as a default and saved the changes.
    Now the issue is when we are in the home screen for creating a SHC this delivery address is coming as default.As we dont want this dekivery address to be default on  the screen and the requirement is that user should be able to search the delivery address.
    So we dont want that defaulted address.The other reasons were also checked and no where in the attributes we ahave maintained this default delivery adress.
    Can you please help us how can we remove this defaulted delivery addres in the SHC creation screen.
    Thanks and Regards
    Vikas

    HI Muthu
    Thanks for the reply.
    I again repeat I think you have not understood my question.These are very basic things you are mentioning about how to change the delivery address.i know all about this and in my query I have clearly asked that during the change option its asking to maintain the default delivery address and even if I dont select it my changes wont be saved.Second is even if I maintain another delivery address only then from the first delivery address the default screen will be unticked.
    Because the issue here is that what ever the delivery address is maintained its defaulting in the shop screen for the creation of the SHC.
    So my reequirement is how to set this.I have checked attributes and nowhere this delivery address has been maintained.
    Brief about Issue:
    We have done some changes in the delivery address (Transaction Edit
    internal addresses in the URL screen)and during the save it was asking
    us to maintain it as a default address without which it was not able to
    save.So after saving on the creation of the shopping cart screen this
    delivery address is coming as a default value.
    We dont want this to be defaulted and the user should have the search
    functionality for the delivery address.This problem is happening for
    the org id for which I have done the changes.When i assign my user id
    to the other org id the defaulted delivery address is not shown on the
    shopping cart creation home screen.
    We have checked in the attributes of the user and the org id and
    nowhere this delivery address has been maintained.
    I have checked the settings for the other org id for which it was not
    showing as defaulted on the shopping cart creation screen and compared
    these two and was not able to find any difference.Could you plase let
    us know the problem in this case.
    Regards
    Vikas

  • Custom screen for attribute BP relationship (t-code: BUBA)

    Dear experts,
    It is possible to create custom screen for attribute BP Relationship (t-code: BUBA)?
    any document for this case?
    (Go to t-code: BUBA -> Block BP Relationship Type -> Click BP Views)
    Need your response...
    Thanks and Regards,

    Dear experts,
    any updated for this case???
    Need your response..
    Thanks and regards,

  • Problem in adding Custom Provider for Work Management Service

    Hello,
    I'm facing an issue in adding custom provider for work management service. As you are aware, Work management service is a Provider model and we
    can integrate with other systems by adding custom providers. So with that confidence, i have started writing a connector as mentioned below.
    Step - 1: Added new provider xml in the below path
    "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG\WorkManagementService\Providers"
    Provider Name: provider.bizagitasklist
    Provider XML Content: 
    <Provider ProviderKey="DAA52AF3-A147-4086-8C0C-82D2F83A089D" OverrideProviderKey="" Assembly="adidas.TaskProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5d6f3e6be60a351b" > </Provider>
    Step -2: Added a class which inherits "IWmaTaskProvider" and implemented the override methods.
    public class BizAgiTaskListProvider : IWmaTaskProvider
    public string LocalizedProviderName
    get { return "BizAgiTaskListProvider"; }
    public string ProviderName
    get { return "BizAgiTaskListProvider"; }
    public Microsoft.Office.Server.WorkManagement.CalloutInfo GetCalloutInfo(IWmaTaskContext context, string taskExternalKey, string locationExternalKey)
    return null;
    public DashboardExtensionInfo GetDashboardExtensionInfo(IWmaBasicProviderContext context)
    return new DashboardExtensionInfo { ClassName = "SP.UI.SharePointExtension" };
    public BulkEditResult HandleBulkEdits(IWmaTaskContext context, BulkEdit updates)
    return null;
    public TaskEditResult HandleTaskEdit(IWmaTaskContext context, BaseAggregatorToProviderTaskUpdate taskUpdate)
    return null;
    public void RefreshSingleTask(IWmaTaskRefreshContext context, string externalKey)
    public void RefreshTasks(IWmaTaskRefreshContext context)
    //context.WriteProviderCustomData(
    Step – 3: Written a class to fetch the tasks from BizAgi System which has method to provide the task data.
    But I’m not able to feed those tasks in the class written in Step – 2 as I’m able to find any method which will take Tasks as Input and I’m not
    sure about the format of tasks.
    I’m able to debug the provider, and the breakpoint hitting in only one method and two properties.
    (LocalizedProviderName, ProviderName, GetDashboardExtensionInfo).
    Can you please help me to proceed further in implementing the above solution?
    Best Regards
    Mahesh

    Hi Mahesh,
    Although the implementation of work management service application is based on the provider model, I reckon the current SP 2013 RTM does not support custom providers. Only SharePoint task lists, Project server and MS Exchange are supported for now.
    Regards,
    Yatin

  • Why do u need a custom structure for creating a custom bapi

    Hi ,
    why do u need a custom structure for creating a custom bapi.

    Hi,
        Once any Bapi realeased the structures it is using freezed to this bapi, the structure becomes specific to this Bapi, we can not make any changes over there. That is why we need custom structure for creating a custom bapi.

  • Work Manager 6.1: Adding custom field for notification creation

    Hi,
    I already added new fields in the past, and also in WM6.1 for fetch BAPIs, but now I'm trying to do it for the NotificationAdd Transaction and I'm not able to make it work. I guess I forgot some step but I don't know which, so I will describe what I did:
    Agentry:
    Added new field to the Notification object
    Added new field to the NotificationAdd Transaction
    Added new field to the NotificationAdd Detail Screen
    Java:
    Created class Notification.java extending com.syclo.sap.component.lam.notification.object.Notification
    Added new field to the new Notifciation class
    Copied constructors calling super method.
    Override method setProperties(User u, NotificationPostBAPI bapi). Now is calling the super method and afterwards setting the new field. Here is where I have the error when I debug, the u.getString("transaction.Z_NewField")) i returning an empty string because it's not finding the value when reading from the transaction.
    Created class NotificaitonPostBAPI extending from com.syclo.sap.component.lam.notification.bapi.NotificationPostBAPI.Override method setHeaderParameters to set the value in the ABAP structure for the new field after calling the super method.
    Configuration Portal:
    Changed global parameter to assign the customer NotificationPostBAPI class
    Created global parameter to assign a BAPI wrapper to the new customer NotificationPostBAPI class
    Change the global parameter to assign the class for Notification object in order to use the new customer class
    Do you know why during the setProperties method created in Java, Step1 the transaction value for the Z field is empty? It seems I'm forgetting something quite simple here.
    Thanks in advance.

    Hi,
    May be the setter and getter methods, the value from transaction is not captured in the properties
    public void setProperties(User u, NotificationPostBAPI bapi)
    throws Exception
       setABC(u.getString("transaction.notification.ABC"));
    public String getABC()
      return this.ABC;
    public void setABC(String ABC)
         this.ABC= ABC;
    Regards,
    Sravanthi

  • Scroll bar visible but not able to scroll in custom screen for IW21

    Hi,
    We are using custom tab (screen exit) in transaction for creating notifications (TCode IW21). Two subscreens are configured to be embedded in the tab, combined area of which is exceeding screen size vertically. The scroll bar is visible in the tab but is not able to scroll using mouse scroll, but can be dragged up and down.
    Does anyone know how to make it scrollable or make the scroll bar visible at application level (not in tab) and make it working?
    Thank you,
    Deepak

    Hello,
    Would you please implement the Methods GET_DATA to get th data from Databas to screen fields and SET_dATA to update thedata from custom screen fields to Data base table in u r case LFB1.
    Regards,

  • Doubt in Selection-Screen for Program type "Function Group"

    Hi Gurus,
    I created a Function group in that i created one screen and writtem the Screen flow logic. In that screen I called a Function module "COMPLEX_SELECTIONS_DIALOG" For Creating a selection-Screen.
    The code snippet is like below.
    CASE ok_code .
        WHEN c_clk1.
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
         EXPORTING
           title                   = text-002
           text                    = 'Material Number'
           signed                  = 'X'
            lower_case              = ' '
            no_interval_check       = ' '
             just_display            = ' '          " Un commented by Srihari
             just_incl               = 'X'          " Un commented by Srihari
            excluded_options        =
            description             =
            help_field              =
            search_help             =
           tab_and_field           = st_tab
          TABLES
            range                   = r_matnr
         EXCEPTIONS
           no_range_tab            = 1
           cancelled               = 2
           internal_error          = 3
           invalid_fieldname       = 4
           OTHERS                  = 5.
    it works fine. But the problem is if i click the multiple selection button for the select-option in selection screen and enter the values and copy those value. In the multiple selection button green button is not coming like noram report selection-screen. Please remember I used the program type as "Function Group" not "Module Pool".
    Please send your suggestions.
    Thanks,
    Srihari.

    Ok, I am not 100% sure, if I understand you correctly, you said, you created one screen to 'simulate' a standard selection screen behavior without using select-options statement?
    If that's not correct, could you please post a few more details on what exactly you are doing.
    I had to 'simulate' a select-option behavior which I did as follows:
    - I created a range variable to store the values (s_ctby)
    - on the screen I defined the LOW (s_ctby-low), HIGH (s_ctby-high) and the multiple selection field pushbutton
    - In the PBO I set the icons for the multiple selection pushbutton
      READ TABLE s_ctby INDEX 2 TRANSPORTING NO FIELDS.
      IF sy-subrc NE 0.
        gv_createby = gc_icon_enter_data.
      ELSE.
        gv_createby = gc_icon_disp_data.
      ENDIF.
    - In the PBO make sure that any values entered on the screen are transferred to the range
    * transfer any changed values into the correct range for user transaction
    * (screen 0110) because that screen just 'simulates' a selection screen
    * so we have to make sure that any data the user enters in the selection
    * fields is passed into the appropriate ranges
      IF sy-tcode EQ gc_trans_user.
    *   created by
        IF NOT s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_bt.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF NOT s_ctby-low  IS INITIAL AND
                   s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_eq.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF s_ctby-low  IS INITIAL AND
               s_ctby-high IS INITIAL.
          DELETE s_ctby INDEX 1.
        ENDIF.
    - If the user hits the multiple selection pushbutton
        WHEN gc_fc_create_by.
    *     if the user hits the multiple selection button on the screen
    *     we call the standard SAP functionality to show the multiple
    *     selection popup SAP uses on a standard selection screen
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
              title             = text-t02
            TABLES
              range             = s_ctby
            EXCEPTIONS
              no_range_tab      = 1
              cancelled         = 2
              internal_error    = 3
              invalid_fieldname = 4
              OTHERS            = 5.
          IF sy-subrc NE 0 AND NOT sy-msgty IS INITIAL.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    *     now update the header line so the screen fields display the correct values
          CLEAR s_ctby.
          READ TABLE s_ctby INDEX 1.
    Hope that helps,
    Michael

  • Adding custom screen to VL02N

    HI ,
    I need to add two custom fields to the tcode VL02N.
    I have found the BADI
    LE_SHP_TAB_CUST_ITEM  whose method ACTIVATE_TAB_PAGE needs to be implemented.
    However, the procedure is not clear to me as to how to bring the custom fields in display by implementing this BADI.
    I am new to BADI....
    Please give any suggestion or steps on how to approach.
    Thanks

    Check the steps:
    1) Implement the BADI LE_SHP_TAB_CUST_HEAD as ZMMXE_TAB_CUST_HEAD
    2) Create a function group Z_MMX_IBDELIVERY, Add a sub screen 9000 inside it and create screen fields
    3) In method ACTIVATE_TAB_PAGE write the following code
    ef_caption = 'Customer Data'.
    ef_program = 'SAPLZ_MMX_IBDELIVERY'.
    ef_dynpro  = '9000'.
    4) Now Screen is linked, go to VL31N, you will get an addition sub screen tab Customer Data.
    Have u activated all the objects?
    Reddy

  • BBP_CUF_BADI adding customer screen

    this, i hope is a very quick answer.
    the documentation says that i should add my template to the existing internet service for my new screen to be displayed.
    firstly, do i have to modify the SAP service and template within, to include the call to my custom screen
    secondly, do i have to publish my service as usual
    thanks
    glen

    Hi
    <u><b>
    1) No. Not applicable.
    Since SAP has already provided BBPCUF Service, which will take care of the subscreen you created in the SAP provided sub-screen area.
    2) Yes need to publish the Service once. Execute W3_PUBLISH_SERVICES Report for this service, once everthing is ready.</b></u>
    Hope this will help.
    Let me know incase you face any problems.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Custom screen for Payment card information in Sales Order

    Hi All,
    I want to know if its possible to develop a custom screen to accept multiple payment card information in Additional data tab and save it in normal payment card information at the time of saving sales order. This sounds little
    Nilesh

    Hi Nilesh,
    Please, see SAP Note 914603 - FAQ/Collective note for payment cards (Consulting/modif). Here you have the relevant notes related with this topic, so, in point 4, the note says:
    4. Payment cards in the order (with billing plan)
    - 914811 FAQ: Authorisation Problems - Why?
    - 915193 No authorization in the order
    - 313416 Installment plan payment with payment cards
    - 361790 No Authorization or only pre-authorization executed
    - 701569 Incorrect value to be authorized in the order
    I hope this helps you
    Regards
    Eduardo

  • SORT butttons on custom screen for custom fields

    Hi all,
    I have a dedveloped a custom screen in which there are 5-6 fields.Nowi need to put Sort buttons below these fields so that I can sort these fields.
    How do i do this???Is there std FM i can use to achieve the sort functionality?

    Hi Rob,
    I dont have a table control in which I have the custom fields.The custom fields are placed in a subscreen within acustom tab in standard screen in tcode VL31N. as shown below:
    Plant:
    Carrier:
    Bill of lading:
    Packaging list:
    Damage
    Now below these 5 fields ,I need to display the 2 SORT buttons/icons to change the display in ASCENDING OR DESCENDING  order.
    How do i do this???Is there any std FM ?

  • XD01 Custom screen for custom fields,need to update tables kna1,knvv

    Hi all,
             I have designed a custim screen for XD01 with four custom fields five from kna1 other one from knvv table.  i need to update the respective tables with these fields in badi GET_DATA of method IF_EX_CUSTOMER_ADD_DATA how to update the database table. Please help me in the same.

    see the help
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099948b8911d396b70004ac96334b/frameset.htm
    Regards
    Kiran Sure

  • Adding customized fields for Travel Expenses

    Hi,
    I would like to add some customized fields for user input during the creation of travel expense form.  Is this possible?  If yes, any advise on the steps to create customized fields for data entry of travel expense form?
    Thanks.

    Hi Yvonne ,
    Thank you for the tip , it was helpfull.
    We are using field BUS_REASON "Business Partners", We changed label for data element but is not showed in TRIP transaction we can see it in PR05 transaction.
    How can I change labels for TRIP transacction?
    We did the change in CMOD transaction
    Thanks.

Maybe you are looking for