Skip to Content
author's profile photo Former Member
Former Member

Problem with document list in planning

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Apr 17, 2007 at 05:23 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 11:17 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.