cancel
Showing results for 
Search instead for 
Did you mean: 

sreenvariant SOCO

Former Member
0 Kudos

Hi, I would be grateful if someone could help me with this issue:

I’m working with SRM 5.

I want to set the screen variants of Sourcing Cockpit (SOCO). I don’t need custom fields, I am using only standard fields.

So, I have activated the dabi BBP_SCRRENVARIANT using method GET_SCREENVARIANT_SOCO (with filter SOCO).

Then using transaction SHD0, I have defined two new screen variants for:

  • Worklist for Sourcing: Screen variant ZBBP_SOCO_WL
  • Work area in Sourcing: Screen variant ZBBP_SOCO_GA

Secondly, I have implemented the badi, like this:

method IF_EX_BBP_SCREENVARIANT~GET_SCREENVARIANT_SOCO..

     EV_SCVARIANT = IV_SCVARIANT.

     CASE IV_DYNNR.
              WHEN '201'.
                      MOVE: 'ZBBP_SOCO_GA' TO EV_SCVARIANT.

              WHEN '301'.

                      MOVE : 'ZZBBP_SOCO_WL' TO EV_SCVARIANT.

              WHEN OTHERS.
      ENDCASE.

endmethod.

           

But, testing the results, something is wrong.

Executing the SOCO, the fields that are visible, are showed repeated. (Not all of them, only some of them)

Any ideas?

 

Thanks!!!!

Accepted Solutions (0)

Answers (2)

Answers (2)

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

Check if note 1697858 is applied. This is a basis note that influences the display of screenvariant.

Regards,

Ricardo

Former Member
0 Kudos

Hi Ricardo, about note 1697858:

I am not using the function module RS_HDSYS_SET_SC_VARIANT (wich is referenced in this note), so is this note necessary?

Thanks


Former Member
0 Kudos

Sorry, I forgot to comment that if I execute SOCO in SAPGUI, the fileds are ok, the problem is executing SOCO in Portal.

Thanks