cancel
Showing results for 
Search instead for 
Did you mean: 

BADI /SAPAPO/SDP_SAVE

Former Member
0 Kudos

Hi Experts,

Please explain me how to use the BADI

/SAPAPO/SDP_SAVE.

I need to work on the method SAVE_CHECK.

What values will be given to the import parameters IV_PAREAID, IS_WRITE_OPTIONS, IT_SELECTION, IT_PLOB_VALUES and IT_COLS.

And would be the values returned to CT_LINES and CT_TAB.

Thanks and would appreciate your help.

Regards

Srini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Visu,

Can you please explain how to copy the current data view?

And also, how to maintain offset value in time bucket profile.

Thanks and would appreciate your help.

Regards

Srini

Former Member
0 Kudos

Hi,

Copy Data view:

1. Go to transaction /n/sapapo/sdp8b. enter your planning book and enter the new dataview name

2. Check the icon "With Ref." and enter your existing view that you want to copy.

3. Click on create and the whole view is copied over.

4. In data view tab, enter your TB profiles for future and enter 2 in the offset box.

5. When you activate the view, it should start from 2 weeks from today.

Hope this helps.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Visu,

It is working, thank you again for your help.

Regards,

Former Member
0 Kudos

Hi Visu,

Thank you very much for the detailed reply.

I am working as you suggested. I will update the result.

Actually the pseudo code given to me is:

BADI name /SAPAPO/SDP_SAVE

Method name SAVE_CHECK

Parameters:

IV_PAREAID Importing (planning area for the source / target

IS_WRITE_OPTIONS Importing

IT_SELECTION Importing (looks like this an infoobject so relevant KF)

IT_PLOB_VALUES Importing

IT_COLS Importing

CT_LINES Changing

CT_TAB Changing

Can we use this BADI for the same requirement?

Please explain.

Thanks and would appreciate your help.

Regards

Srini

Former Member
0 Kudos

Hi Experts,

Please suggest me with right BADI.

My requirement is, when we release the Forecast from DP to SNP, it should not release the Forecast for the first 2 periods.

For example, the Week 1 and Week 2 has 85 and 86 for the material XXX and location YYY. When we release this forecast to SNP the first 2 periods should not over write. The values in SNP forecast 85 and 86 shouldn’t change and it should change from week 3.

Thanks and would appreciate your help.

Regards

Srini

Former Member
0 Kudos

Hi Srinivas,

You donot need a BADI for this. You can use a separate data view to release data to SNP. Just create a new data view copying the currently used one. In data view tab, maintain weekly time bucket profiles and enter an offset of 2. The data view you see starts right from week3. This doesnot hurt any thing and you can use it as a background view. Also restrict authorizations for others, if you fear any use by mistake.

Hope this helps.

srinivas_krishnamoorthy
Active Contributor
0 Kudos

Sounds similar to