cancel
Showing results for 
Search instead for 
Did you mean: 

have to creat an OBN call drom the WDB Component

Former Member
0 Kudos

Hi Expert,

I am very new to the Webdynpro. How to create an OBN Calls in WDP ?

Thanks in advance.

Regards

Marko.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Marko,

I have posting some Code, Please follow it accordingly. Hope it will help you to create an OBN Call.


DATA: lt_bus_bar          TYPE         wdy_key_value_table,
        ls_bus_par          LIKE LINE OF lt_bus_bar,
        l_object_type       TYPE         string,
        l_operation         TYPE         string.

  ls_bus_par-key   = 'P_EBELN'.
  ls_bus_par-value =  im_po_num.
  INSERT ls_bus_par INTO TABLE lt_bus_bar.

  ls_bus_par-key   = 'P_EBELP'.
  ls_bus_par-value =  im_item_num.
  INSERT ls_bus_par INTO TABLE lt_bus_bar.

  l_object_type = if_mmsrv_ui_constants=>c_obn_service.
  l_operation   = if_mmsrv_ui_constants=>c_obn_op_crt_ses.

  CALL METHOD im_portal_manager->navigate_to_object
    EXPORTING
      system              =
if_mmpur_ui_constants=>c_obn_sys_alias_common
      object_type         = l_object_type
      operation           = l_operation
      business_parameters = lt_bus_bar.

Please let me know if you facing any Issue in time of implement.

Regards

Satrajit.

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos
Former Member
0 Kudos

HI Thomas,

Thank you fpr providing me those link..

Regards

Marko.