cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with document list in planning

Former Member
0 Kudos

Hi, I really need some help here!

The short story is that I need to hide some of the documents in a list created using the "How to Display all comments for a planning package". The documents that I want to hide are all those without planned value.

My scenario is that I load inventory data to a planning cube. I then have a planning layout that allows the user to add comments to the rows (each row has "stock" and "stock value" for combinatins of "batch", "plant" and "storage location" plus some other characteristics). Additionally, the user can select one row and use reposting functions to add a "person responsible" and add or change "status" information. In the bottom of the planning application I have included a list of all the comments.

Every night an analysis process updates the values, keeping the "responsible" and "status" that was assigned through the planning application. So eventually the stock for a given combination of batch/plant/storage location will reach zero, at which point the entry and it's comment loses relevance. This is where I run into the problem: In the plannig layout the zero values are hidden, but in the list of comments I will never be able to get rid of these obsolete entries!

I have tried to add a characteristic "relevant for reporting" to the cube and make a function to reassign documents to another value for this characteristic using the "How to documents in SEM-BPS and BW-BPS", but this causes other problems:

First, I can't make the copy function work (I have read that it needs a keyfigure in the document assignment which I don't have).

Second, I still have a problem selecting the documents that the function should work with.

I it possible to make a modified version of the z_BPS_comments application to read the value (sum) of the stock keyfigure for each combination in the planning level and only list the documents with stock>0? How?

Best regards

Thomas

P.S.: Of course I will assign points for any helpful answer!

Accepted Solutions (1)

Accepted Solutions (1)

former_member93896
Active Contributor
0 Kudos

Helllo Thomas,

documents are stored for a combination of char.values. There's no link to the key figure values. Therefore you need to build a solution that changes at least one of the char.values for all records with stock = 0.

Once your stock = 0 records have a different char.value, you can use a different planning package to show the documents than the planning package you use for the layout. This way only the relevant documents should be listed.

Regards,

Marc

SAP NetWeaver RIG

Former Member
0 Kudos

Thanks Marc,

That was my conclusion as well:-( I actually started working on a solution similar to what you are suggesting shortly after posting, but even if I can change a char value in the cube based on the key figure for a certain combination that would only cause the documents assigned to this combination to be "detached" from the values since I have no idea how to change the document's char assignment.

An example:

A document is assigned to this combination:

Plant=1000

Storage location=100

Batch=000001

Zerostock=0

Changing "Zerostock" to 1 when the KYF is 0 wouldn't change anything - the document would still have the same assignment to "Zerostock"=0, wouldn't it? So there would still be no way to separate the documents in a planning package.

I have had a programmer make a copy of the show-documents BPS and add some code to read the values from this specific cube and hide the documents accordingly, but it would be much better to be able to change the char assignment of the documents! I looked at the howto "Documents in SEM-BPS and BW-BPS" to see if I could copy and then delete the original document, but again, the functions are based on planning packages and they don't seem to care about KYF values, so I suppose I will have to live with the current workaround.

Regards

Thomas

Answers (1)

Answers (1)

Former Member
0 Kudos

I have settled with a coding solution that hides the documents once they become obsolete.