Skip to Content

SAP NetWeaver Gateway 2.0 SP4 contained the first release of the Gateway Service Builder transaction – SEGW. This transaction will grow going forward. Today you can create service with it by importing DDIC structures or EDMX models, or you can define them by hand. I wanted to create some simple videos to that show this new transaction. The first of these is focusing on the DDIC importer, you can watch it on youtube here:

Let me know what you think about this new transaction – SEGW.

Thanks!

Jeff

To report this post you need to login first.

24 Comments

You must be Logged on to comment or reply to a post.

  1. Ebinezar Munnangi

    Hi Jeff,

    Could you please tell me, which component should apply to get this transaction as there are so many components in NW Gateway like Gateway server core, BEP, CBS, CNT.

    SEGW transaction does not exist in our system.

    (0) 
    1. akshath lt

      May be this code will helps you Joanna.

      DATA: LS_KEY_TAB LIKE LINE OF IT_KEY_TAB,

               LV_MAKE  TYPE ZCTC_MAKER,

               LT_TAB TYPE ZCTC_MODEL_LIST, “its my table

               LS_TAB LIKE LINE OF LT_TAB,

               LS_ENTITYSET TYPE ZCL_ZGW_CTC_VEHICLE_MPC=>TS_F4_MODEL.  ” ZCL_ZGW_CTC_VEHICLE_MPC is class TS_F4_MODEL in structure.

         LOOP AT IT_KEY_TAB INTO LS_KEY_TAB.

           CASE LS_KEY_TABNAME.

             WHEN ‘MAKE’.                               

               LV_MAKE = LS_KEY_TABVALUE.

           ENDCASE.

         ENDLOOP.

         IF LV_MAKE IS NOT INITIAL.

          Select <F1>

                     <F2>

           Into table LT_TAB

           Where   MAKE  = LV_MAKE.

         IF LT_TAB[] IS NOT INITIAL.

           LOOP AT LT_TAB INTO LS_TAB.

             LS_ENTITYSETMAKE = LV_MAKE.

             LS_ENTITYSETMODEL = LS_TABMODEL.

             LS_ENTITYSETMODEL_CODE = LS_TABMODEL_CODE.

             APPEND LS_ENTITYSET TO ET_ENTITYSET.

           ENDLOOP.

         ENDIF.

         ENDIF.

      I have used Association

      Capture.PNG

      Entity Set – F4_Mode

      http://akshath.corp.aks.com:8000/sap/opu/odata/sap/ZGW_CTC_VEHICLE_SRV/F4_Mode(MAKE='Audi‘)/F4_Mod

      F4_Mode is my entity set Make is input field and F4_Mod is my association set.

      Jeff used filter and he has declared internal table type /iwep/s_mgw_select_option.

      Capture2.PNG

      (0) 
  2. akshath lt

    Thanks Jeff..Nice blog and nice explanation.

    If you have link or video blog for Create, delete and update operations please share with us.

    Reg,

    Akshath

    (0) 
  3. Trond Stroemme

    Nice blog. Quick question: How does my gateway service “know” whether to invoke the get_entityset or the get_entity method? I didn’t see you make any kind of relation between them and the service name… nor put anything specific in the URL?

    Regards,

    Trond

    (0) 
  4. Sri Lakshmi Naidu

    Hi Jeff,

    Thanks I could replicate the project.However,at the end when the data is returned they are in reverse sequence.!?

    I mean my ztable has fields sequence field1 ,field2 but when output i see field2,field1.

    Will you please let me know,where i went wrong?

    Thanks  in advance

    Lakshmi

    (0) 
  5. Christian Reisner

    Transaction is a real horror.  It does not met the quality standard i am used in former times by SAP.
    + documentation most in english and not translated.

    + no Version control

    + no step back in case some thing is deleted.

    + using F4 help to choose Entries also inactive Entries will be shown, but if they are choosen the value vanish without some massages …

    That is only the tip of the iceberg

    (0) 

Leave a Reply