cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to determine the supply scenario in the POD

Former Member
0 Kudos

I need a function module which can determine the supply scenario when i do not know the supply start date.

Like i have a POD and i have 5 supply scenarios on different dates but i need to pick the last current supply scenario.

The only input i have is the POD and i do not have the date for which the current supply start date.

Is there any way i can fetch the current supply scenario on the POD?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member229976
Active Participant
0 Kudos

Hi,

depending on the ERP Release you can probably use cl_isu_ide_esa_impreqmd=>select_scenario_data_by_int_ui using the actual date as keydate to get the relevant data. If you want to get also a future dated supply scenario, just read all scenarios and sort by day. Or use a service -> test program REE_TEST_SIMULATE_IMPREQMD should be available with EhP5.

KR

Uwe

vikrant_guptarya
Participant
0 Kudos

Hi,

Use the method GetSupplyScenario in the BOR object ISUPOD to get the supply scenario.

Using this you woudl be able to find if current supply scenario for the POD

Thanks

Vikrant

alexander_breuer
Active Participant
0 Kudos

Hi,

you can call CL_ISU_IDE_DRGSCEN_ANA_POD=>CREATE with the INT_UI (can be found in table EUITRANS). The instance have a attribute ISCENARIO with all relevant information (scenario, contracts, services,...)

Best regards,

Alexander