cancel
Showing results for 
Search instead for 
Did you mean: 

ISR - Data Exchange between LIST GUIBB and Freestyle UIBB

ashish_shah
Contributor
0 Kudos

Hi ,

I wanted to add three new fields in Lean ORDER for Internal Sales Represntive LO_OIF_SDOC_APPL AppCC.

I managed to add fields in Feeder Class being used in LO_OIF_LIST_ITEM list GUIBB and in LO_OIF_VCFG_COMP using SPRO's customization.

Now when user enters some data in these three fields on LIST GUIBB on left hand screen and presses enter, i wanted these values to get updated in right hand side tab Variant Configuration which uses OIF Component.

I am unable to find a way to pass these details to OIF component.

Any suggestions on how do i pass data from LIST GUIBB and read it in UIBB?

Regards,

Ashish Shah

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ashish,

I have the same requirement to add custom fields in the LO_OIF_LIST_ITEM list GUIBB in standard Lean order .

So can you please let me know how can we add the custom fields in the same.

Regards,

vishal chauhan

Former Member
0 Kudos

Hi,

Did you manage to add the fields? I have the same requirements, but I have to manipulate the value of the custom fields added. The problem is I cannot update the field value to the table if it is manipulated via coding.

Can you help me on this?

Thanks.

Regards,

Leo

ashish_shah
Contributor
0 Kudos

Hi Leo,

I believe the data exchange in ISR is happening using wire models.

Use these links to understand the way to implement wire models

http://scn.sap.com/message/10768608 & http://scn.sap.com/message/13683833

Regards,

Ashish Shah

Former Member
0 Kudos

Hi Ashish,

I'm not sure, but from what I understand, you need to pass selected data from a GUIBB to another GUIBB ( LIST to FORM). This can be done, using "wiring". If these is so, you need to build two feeder classes for each GUIBB, a wire class and a data container class(data that you want to transmit), in which you must implement a number o FPM interfaces.

If you think these cand work, I will help you tomorrow with an more accurate answer.

Best regards,

Calin

ashish_shah
Contributor
0 Kudos

Hi Calin,

If you can share details on how to share data using Wire model , i will try that option and check if that works in my case.

Regards,

Ashish Shah

ashish_shah
Contributor
0 Kudos

Hi Guyz,

Can anyone help me ?

Regards,

Ashish Shah

Former Member
0 Kudos

Hi Ashish,

You can read data from List UIBB in both FLUSH() and GET_DATA() method of Feeder class of UIBB. Data can be transferred between two UIBBs is possible through wiring and events also.But for wiring you need to create Connector class, collector class and two UIBBs should be impleted with the interface IF_FPM_FEEDER_MODEL.

So i suggest you to use EVENTS to transfer the data.

In get_data() method of First UIBB, write below code to set the table data in event.

Case IV_EVENTID->MV_EVENT_ID.

When   "Event name

               ****CT_DATA variable will give you the modified data,**

     lt_data = CT_DATA   " lt_data type should be of table type of the List


  IV_EVENTID->mo_event_data->set_value(
             EXPORTING
               iv_key   = 'TABLE_DATA'  "Key will be any name
               iv_value = lt_data  
           ).

In Second Feeder Class of UIBB, read the data using below code

io_event->mo_event_data->get_value(
         EXPORTING
           iv_key   = '
TABLE_DATA'
         IMPORTING
           ev_value = lt_data " of type Table type of list UIBB.
       ).

If Second UIBB is free style means Webdynpro View, You need to write above logic in Process_event of component controller.

But make sure that the event has to be triggered first get_data() method of first uibb and then second_uibb  otherwise you need to trigger one more event explicitly.

Regards, Venkat.


ashish_shah
Contributor
0 Kudos

Hi All,

After searching bit more i found out SAP has provided options to enhance ISR UI using Configuration options: I have follwed these two links and was able to add fields in Item List GUIBB

SAP Library - ERP Business Package for Internal Sales Representative

However i have added it as an Input Field and it is appearing as Text View.

Any idea what am i missing?

Regards,

Ashish Shah

Former Member
0 Kudos

In the FEEDER class in the flush method you should be able to get the data.

ashish_shah
Contributor
0 Kudos

Hi Phanikumar,

Can you please share some more details on how can i get data in Flush method?

Do i get data from CL_LORD class or CL_LO_OIF_MODEL?

If you know anything specific in ISR , that would be helpful.

Regards,

Ashish Shah