Calling IP planning sequence several times

Hi Experts,
we are trying to start a IP planning sequence n-times throughout an ABAP report which is located in a  process chain. 
In the planning sequence a function from type distribution is located which should distribute line of business nodes to their line of business key.
Both values ( from and to ) will be represented by variables. This variables has to be folled during run time.
The values for this variables are located in a table.
When the sequence will be called the first time a function module : u2026 OLAP_VAR delivers the first value for this variables automatically .
When the sequence will be called the second time the function module wonu2019t be called again to delivers the next value for the variables.
Do you have any suggestions how to get the next values for the variables in the second and further calls .
Regards Michael

Hello Marc,
thank you for responding so soon and for the information about the note.
Meanwhile we figured out how to call a planning sequence n-times.
We just called the function module with the destination u2018NONEu2019  
CALL FUNCTION 'RSPLPPMRFC_PLSEQ_EXECUTE'
    Destination 'NONE'   
u2026
and closed the destination after the sequence has ran.
  CALL FUNCTION 'RFC_CONNECTION_CLOSE'
   EXPORTING
     DESTINATION                = 'NONE'
    TASKNAME                   =
   EXCEPTIONS
     DESTINATION_NOT_OPEN       = 1
     OTHERS                     = 2.
This caused the system to reload all needed variables.
Regards Michael

Similar Messages

  • Planning Sequence/Function times out

    Hello,
    I have the following issue. I have a planning layout and many planning sequences/functions attached to the push buttons on the layout. The problem is that when I am trying to execute any of the planning sequences attached to the buttons (click the button), the "wheel keeps spinning" and eventually the application times out without computing anything. it works fine in Development and QA systems, but not in P. the only difference between the 3 environments is the Support Stack level. in P we are still on SPS 11 and D and QA is SPS 13.
    I suppose there can be multiple reasons for why this is happening, but what should I be looking for first? Why does it time out? It does not seem to matter how many records PF is processing, because it times out with 4 records and 40K records. Any ideas or pointers to look at?
    Thanks

    Hi AG,
    please try if your planning sequences run in the back-end report RSPLS_PLSEQ_EXECUTE. If you have variables you need to define a variant to start it in the back-end. You should measures the time here ...
    And what kind of time out are you getting? Is it a portal time out? In this case you should consider that in you production system much more data may be read and that executing the planning sequences may take longer -> time out ...
    Hope this helps ...
    Matthias Nutt
    SAP Consulting Switzerland

  • Does it matter if I call the same UDF several times in my mapping?

    Hi !
    I have to map one TXT file to an IDOC. One field of the source file is needed to define values of several IDOC target fields.
    I've developed an advanced java UDF that receives the source field, calls an RFC via JCO to convert the source value, and returns the converted value.
    Then I use this UDF as part of the graphical mapping, to define the values of about 10 or 15 fields of the IDOC. That is, the UDF is placed 10 or 15 times, one time for each target field.
    My doubt is if this an expected way of solving this kind of problem..I'm worried about calling  the UDF (RFC via JCO) about 15 times for each source file record...and they could be 1000 aprox !
    I've added a trace, and a global variable, and inside the UDF, I check if the current input value is equal the last processed value, if it is that case, then I return automatically the buffered value (in a global variable), avoiding the call to RFC....
    Checking my trace...I see that the UDF is called with several different input values in some random order, so my "optimizacion method" does nothing.
    Some ideas?
    Thanks. Have a nice weekend.

    Hi Matias,
    we had a similar problem, and we solved it using a java has table stored in the global container.
    During the mapping program, every time a new source-value has to be look up, that value becomes a new key of the hash and the result of the RFC call (target-value) is stored in the hash table as the value corresponding to that key.
    So this avoid the problem of random calls with different values and you can read from the hash table if a value already exists in the hash table before calling the lookup RFC.
    We implemented this solution and it works like a charm
    Hope it helps,
    Kind Regards,
    Sergio

  • Calling my custom component several times 'freezes' my browser

    I have a component (Interf) that has a sub-component (Inter57) that has a sub-components (Interf57User)
    In my app, i declare a variable interf of type Interf [the base component]:
    [Bindable] public var AasInt interf:Interf = new Interf;
    then in a function i check to see if there is an instance of the Interf component on the stage and do a removeChild on it if there is.
    then i declaire a new instance of Interf57User and assign it to variable interf and add it to the stage:
    if (interfOnScreen) { this.removeChild(interf); }
    interf = new Interf57User;
    this.addChild(interf);
    interfOnScreen = true;
    The problem is that after running this function about 6 times, the browser 'freezes'
    And yes, Interf has/will have more then one sub component as will those sub-components.

    it was because TimerEvent.TIMER_COMPLETE kept firing every second for each 'old' component!

  • How to call standard planning function in FOX code

    Hi,
    I want to call std. Distribution by reference planning function in FOX formula. Through CALL FUNCTION std planning functions can not be used.
    My requirement is that because I need to execute this distribution function thousands of times with different variable values so I am planning to pass the values for these variables through FOREACH loop.
    Any help is appreciated.
    regards
    Amit Jain

    Hi Amit,
    unfortunately calling a planning function inside a planning function is not possible. And calling a planning sequence from a planning sequence is not supported as well.
    I think is is better if go for a more complex FOX or an exit-function if the planning function needs to be executed online.
    Another way some customers are using to met similar requirements is writing a z-program which determines the variable values in a loop (e.g. by reading a z-table). Inside the loop they set the variables (in the variable container) and when this is done execute a planning sequence for the current variable setting. The whole thing could be executed e.g. in a process chain.
    Hope this helps ...
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • Excecute a planning sequence when open Web Template (JUST ONE TIME)

    Hello experts,
    I want to excecute a planning sequence everytime when a webtemplate is opened.
    I use the "Action before first display" for this. The problem is, that the planning sequence is excecuted multiple times when I open the web template. The web template contains several queries. Could it be that the planning sequence is started for every query?
    If yes is there a way to suppress this? I want to run the planning sequence just one time for the whole web template
    Thanks
    Johannes

    Yes I tried in action before rendering it is the same behaviour with the difference that the sequence is also executed after clicking on a button with another planning sequence. Action before first display is excactly what I need but I want to run the sequence just one time when the web template is loaded and not for every query. We don't use tabs at all.
    Thanks
    Johannes

  • Sometimes I hear a clicking or static sound followed by the inability of my caller to hear me, although I can hear them.  Often happens several times in a row.

    Sometimes I hear a clicking or static sound followed by the inability of my caller to hear me although I can hear them.  Sometimes happens several times in a row.

    NLEdit,
    Here's what I have (to the best of my knowledge):
    Original source: mini DV tape, it's all HD
    I use capture now to digitize the whole tape. My easy setup is: HDV- 1080i60 FiriWire Basic. After I have digitized all of it - it's an .mov file with the settings I just posted above. So when final cut is done digitizing I already have all the files in my browser window and I just drag them and drop them in the timeline and I choose to match the timeline settings if they're different. So my timeline settings look like this:
    Frame Size: 1440x1080
    Vid Rate: 29.97 fps
    Compressor: HDV 1080i60
    When I'm done editing, I use batch export to export a bunch of sequences (they all have the same settings I just mentioned above) and I chose:
    Format: QuickTime (custom), Compression Type H.264, frame rate: 29.97 fps, key frames: every 24frames, compressor quality- high, encoding: best quality. Then for size I choose either 1280x720 HD or I use "custom" to make them half the size of that so that would be 640x360. My point is to end up with an .mov file which I can then encode into an flv or just burn it on a data cd.
    As for your question number 1: I'm not even sure what you mean by that.
    Does all that make any sense now?

  • Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time

    Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time technical people and top managers promised that this issue will be resolve tomorrow and they will cal me. Nothing happend!! I can not even cancel my service not just to upgrade it. Completely locked. 
    Any advice?
    Thanks.
    Alex.

    Cannot figure out what your talking about since it makes no sense.
    If you are the account owner you can go to the My Verizon web portal http://www.verizonwireless.com
    You must log in with your cell number and your my Verizon portal password. Not the account pin.
    Once there you can change your plan and services. However repeated incorrect login attempts will lock you out of the site. It a fraud prevention measure.
    1-800-922-0204 call support with your cell number and or account number and account pin and they can assist you.
    If you don't have the information then there is nothing they can do.
    If you can verify who you are they may be able to reset your account access. But only if you are the account owner.
    Good Luck

  • I feel that Verizon has conducted and treated a long time customer just to make a few dollars. I added a hotspot feature on my Iphone and its called a plan change. I wanted 1 gig and ended up with 4 gigs. If 1 gig was not available I was not informed. Plu

    I feel that Verizon has conducted and treated a long time customer in a predatory manner just to make a few dollars. I added a hotspot feature on my Iphone and its called a plan change. I wanted 1 gig and ended up with 4 gigs. If 1 gig was not available I was not informed. Plus the charge for the convertion to a new plan. I called today and I cancelled the plan so I 'm being charged another fee for the plan change. I have really enjoyed working with Verizon but I will have to start looking for another provider.

    veldigar wrote:
    ... I was clear that I was not interested in the Edge plan if I could not get the upgrade pricing.  Several times I made this clear.
    Then the employees, and you, don't understand EDGE.  It's not a service plan, it's a PAYMENT option to pay the full price of the phone in installments, and have no "contract" or obligation  to stay with Verizon once the phone is paid for, which you can do at any time.  So if you were trying to get discounted pricing, and the reps were talking EDGE, you were talking at cross purposes....
    In order to get the upgrade pricing, you need to sign a contract for 2 years of service, and agree to an ETF if you leave Verizon before the two years.

  • I updated my iPhone 4S and my iPad 4 to iOS 7 now they both drop all my contents all my notes go missing I keep having to turn it off and on sometimes several times to make a phone call and the scroll rarely works is there anything I can do?

    I updated my iPhone 4S to iOS 7 now my phone constantly deletes all my contacts and takes days to download them from my iCloud again, constantly needs to be turned off and on sometimes several times to make a phone call, the scroll rarely works, is there anything I can do, the apple tech told me it was something I'd just have to get used to, my phone worked perfectly before the update.

    Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
    It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality.

  • There is no option to reject an incoming call in locked screen, there must be an icon on the screen for one who don't want to use lock button several times, i did'nt face this problem in last ios 6.1.3.

    There is no option to reject an incoming call in locked screen, there must be an icon on the screen for one who don't want to use lock button several times, i did'nt face this problem in last ios 6.1.3.

    A good read. Have you done anything at all to resolve your problem. Reset? Restore?
    By the way - "your products"... nobody here produced the iPhone, we are all just users. Apple is not here.

  • I've bought a student plan but every time I open currently downloaded programms I see an automatically opened window that says I'm using trial version and still have several days to use it. How can I change it?

    I've bought a student plan but every time I open currently downloaded programms I see an automatically opened window that says I'm using trial version and still have several days to use it. How can I change it? It makes me nervous , as it demands serial number, but e-mail i've got from Adobe doesn't contain any serial number or invitation or something like that.

    Vetscheriascha to validate the software you will want to resolve the connection error between the computer and our activation server.  Please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for information on how to resolve the connection error.

  • P2 gen.spool; how to call it several times from P1 in Job and look spools ?

    Hi
    I have a Program 2  wich generates a report (list). If i create a Job (SM36) with this Program 2, the Job generates the corresponding spool.
    I have other Program 1 wich call several times the Program 2, but if i create a Job with this Program 1, the Job does not generates anything spool.
    PROGRAM 1
       LOOP AT  itab.
           SUBMIT  PROGRAM2
                  USING SELECTION-SET  vari
                  WITH   p_werks     =  itab-werks
                  AND RETURN.
       ENDLOOP.
    I hope to see in the Program 1 Job all the resulting spools (reports) for each Program 2 execution , but it does generates anything, the executions are realized, but the spool are not generated in the Job.
    Does somebody knows how can i achieve this, how to create a Job for a program wich call anhoter program wich generates a report, and see the reports in spool ?
    Regards
    Frank

    Hi,
    Check this example from the standard sap help..
    Output is to the SAP spool database with the specified parameters. The print parameters are passed by the field string params which must have the structure of PRI_PARAMS. The field string can be filled and modified with the function module GET_PRINT_PARAMETERS. The specification arparams with ARCHIVE PARAMETERS must have the structure of ARC_PARAMS. This parameter should only be processed with the function module GET_PRINT_PARAMETERS. Before output to the spool, you normally see a screen where you can enter and/or modify the spool parameters. However, you can suppress this screen with the following statement
    DATA: PARAMS LIKE PRI_PARAMS,
          DAYS(1)  TYPE N VALUE 2,
          COUNT(3) TYPE N VALUE 1,
          VALID    TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING DESTINATION           = 'LT50'
                COPIES                = COUNT
                LIST_NAME             = 'TEST'
                LIST_TEXT             = 'SUBMIT ... TO SAP-SPOOL'
                IMMEDIATELY           = 'X'
                RELEASE               = 'X'
                NEW_LIST_ID           = 'X'
                EXPIRATION            = DAYS
                LINE_SIZE             = 79
                LINE_COUNT            = 23
                LAYOUT                = 'X_PAPER'
                SAP_COVER_PAGE        = 'X'
                COVER_PAGE            = 'X'
                RECEIVER              = 'SAP*'
                DEPARTMENT            = 'System'
                NO_DIALOG             = ' '
      IMPORTING OUT_PARAMETERS        = PARAMS
                VALID                 = VALID.
    IF VALID <> SPACE.
      SUBMIT RSTEST00 TO SAP-SPOOL
        SPOOL PARAMETERS PARAMS
        WITHOUT SPOOL DYNPRO.
    ENDIF.
    Thanks,
    Naren

  • Diplay Message with ABAP Planning Function (same message several times)

    Hello experts,
    I use a ABAP Planning Function (custom developed funtion type) to vaildate the planning data.
    I want to display the validation results in a message box in the workbook. Therefor I use the Parameter I_R_MSG of the "Execute" Method.
    This works fine, BUT
    I want to display the same message several times.
    Example (I want an output in the message box like this):
    AREA1
      Error Message A
    AREA 2
      Error Message A
      Error Message B
    The system merge the identical messages. And the output is this:
    AREA 1
      Error Message A
    AREA 2
      Error Message B
    Can I avoid the automatical merge of identical messages in the monitor?
    Thanks
    Johannes

    Hello Johannes,
    I think the only way is to use a field for (e.g. MSGV4) to group the messages since the system compares
    all fields msgty, ..., msgv4 to identify duplicates. So if your messages do not use msgv4 the above suggestion
    should work.
    Regards,
    Gregor

  • My track pad highlights applications and files and then opens them without my doing anything. I run MacKeeper and having run the scan several times only get cleaning issues (5 -). Any ideas as MacKeeper Kromtech have not responded to my calls nor email.

    Folks
    I run an iMac. Today for some reason when I run the cursor across the screen applications and files are highlighted and then opened without me doing anything (no clicking etc) In fact print at times opens. As far as I can tell I have not changed any settings except to open firewall.
    I run MacKeeper and when I run a scan only a few cleaning items open. Safe and fast are as they should be. I run fix. If I again run the scan I get a few more but different claeing items to fix.
    I have rung MacKeeper several times without getting through. The occasion I did get through the bloke said he could not help and passed me to a higher authority. Needless to say the line dropped out after 30 minutes waiting.
    As it is the weekend and I do not live near an Apple store I am quite keen to get the problem identified and fixed so I can continue working.
    Your assistance please.

    Remove the "MacKeeper" scam product as follows. First, back up all data.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Don't empty the Trash. Let MacKeeper delete itself.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.

Maybe you are looking for