Call sequence of subscreens Condtionally

Hi folks,
I want to call sequence of subscreens conditionally in the same screen like
in basic data view 1 based on material types subscreen sequence will change
if material type 'X'
CALL SUBSCREEN SUB1  INCLUDING repid 100.
CALL SUBSCREEN SUB1  INCLUDING repid 200.
CALL SUBSCREEN SUB1  INCLUDING repid 300.
else.
CALL SUBSCREEN SUB1  INCLUDING repid 100.
CALL SUBSCREEN SUB1  INCLUDING repid 400.
CALL SUBSCREEN SUB1  INCLUDING repid 300.
endif.
Please let me know how can I achieve the above using PBO.
Note : sequence is 100, 200,300 for material type X  and for others 100, 400, 300
Thanks,
Shwetha

Hi Keshav,
Thanks for replying it is working for me.
one more question for some material types i want to add subscreen2 in between
subscreen 1 and subscreen 3.
like for material type 'X'.
call subscreen 1.
call subscreen 2.
call subscreen 3.
else.
call subscreen 1.
call subscreen 3.
endif.
like as you suggested above im keeping condition in module(PBO)
for material type x it is working for other  material types im not
passing any screen number since i dint want any subscreen to display.
it is gng to dump.
can you please help me on this i want to hide the subscreen for other material types.
Thanks,
Shwetha

Similar Messages

  • BW error:  "invalid call sequence for interface when recording changes"

    I am getting the error "invalid call sequence for interface when recording changes" when I try to activate a datasource in BW.  Any ideas on how to resolve this error?
    Thanks.

    I already tried that.  This is what's happening..  When I get this error, if I try again it will activate and gets collected into a transport.  I moved this transport to our QA system.  As soon as I try to execute an infopackage under this datasource in QA, I get the error datasource   xxxxx must be activated.   Before the excecution of the infopackage, the datasource is in "Active version executable".   After I get the error message "datasource must be activated", the datasource in the QA system changes to "Active version not executable".   I am not sure all these issues are related back to the "invalid call sequence" error I am getting when I try to activate the data source.
    I also tried recollecting the transport from our Dev system to QA and it still gives the above errors.
    Any help?
    Thanks.

  • Formal error: Invalid calling sequence for function modules

    Hi All,
    I have developed a function module for FQEVENT 620 Payment: Transfer Line Items for Clearing.
    The clearing works fine.
    After clearing the open items i need to post an FI-CA Document(BAPI : BAPI_CTRACDOCUMENT_CREATE) for each open item(cleared item)
    I have used the bapi : BAPI_CTRACDOCUMENT_CREATE in the same function module that i have developed for FQEVENT 620 Payment: Transfer Line Items for Clearing.Here i am getting an error "Formal error: Invalid calling sequence for function modules".
    So please let me know where i can use this bapi to post fi-ca document.Is there a BAdi or Enhancement Spot where i can use this BAPI or tell me what should i do to overcome this error.
    Regards
    Venkat

    Venkat:
    While I am confused about your business process - creating an open item when clearing one seems strange.  Look into event 0020 which is called after documents are posted - it may present the opportunity to post process additional documents.
    regards,
    bill.

  • How to call sequence in LabVIEW by providing sequence file path.

    Hi,
        Please provide me a solution to call sequence file from LabVIEW ActiveX API's by inputting sequence path to LabVIEW user interface.
    Thank you
    Yuvaraj
    Solved!
    Go to Solution.

    Here is a link that I gave some pointers on how to run an Open Sequence file via Single Pass.
    http://forums.ni.com/t5/NI-TestStand/Direct-execut​ion-of-the-sequence-when-UI-launches/m-p/2000819#M​...
    How are you launching this sequence, is the user selecting the sequence on disk?    Is it already open in a SequenceViewMgr control?
    Would an operator interface be more applicable to your situation?
    Thanks,
    PH

  • Know steps names of called sequence file using sequence call step type in TestStand

    Hi,
        I have a problem in accessing step names in called sequence file using "Sequence call"step type in TestStand 4.0.
    I would list out all step names of called sequence file. Is it possible to do through C#.NET? If, yes, Please explain to me in detail with possible example.
    Thank you,
    regards
    RKK

    Hey RKK,
    I want to first set your expectations for the forums.  This is not a place for people to review and rewrite your code for you; this is a place for specific and general questions.  I am not saying your question in this thread is inappropriate, because it is a good questions.  We should just not post code and ask others to fix it here.  If you are looking for this type of service we have alliance members that can help you write your TestStand Operator Interface (www.ni.com/alliance).
    As for you question about getting the sequence names for a sequence file that is not the currently running sequence file, you will need to open a reference to that sequence files and then use the API calls that I mentioned in my previous posts.  You can use the Enigine.GetSequenceFileEx function to open a reference to sequence file, and you will need to close the reference with the Engine.ReleaseSequenceFile function when you are done using it.  After you have a reference to this external Sequence File, you can use the example dll and sequence I previously sent you.  I also attach a new sequence file (SeqFile2.seq) plus an updated GetNames.seq to illustrate how to use the above mentioned functions.  I hope this helps.  Have a great day!
    Best Regards,
    Software Engineer
    Jett R
    Attachments:
    GetNamesOfSequencesInFile.zip ‏52 KB

  • Modify to-call sequence name in pre-step?

    Hi, I have the following problem: I have customized the "Call Sequence" step type, creating a custom step type that calls a sequence dynamically. The name of the sequence to call is represented by a step variable, which is edited in an edit substep.
    This works fine.
    Now I wanted to modify that step variable in a pre-step substep and found out, that obviously the step module is already "preloaded" (the to-call sequence name is evaluated) before the pre-step is executed. This results in a runtime error, something like "sequence not found".
    What can I do?
    Best regards,
    Martin

    This
    DECLARE
      nSeq number;
    BEGIN
      select loc_seq.nextval
      into nSeq
      from dual;
      loc_change(nSeq, :DATA_BLOCK.VARIABLE);
    END;should do the job...
    you can also put the fetching of the sequence into the database procedure. if you have DB Version 11g, you can reference the sequence simply by this:
    nSeq := loc_seq.nextval;in prior 11g you have to fetch it using select into from dual.
    regards

  • Error (2901) The operation did not complete successfully because of a parameter or call sequence that is not valid. (The parameter is incorrect (0x80070057))

    We are trying to convert a physical windows 2003 R2 32 bit server to a VM using VMM 2008 R2 with all updates installed. Each time when we scan the system on VMM, it gets this message: Error (2901) The operation did not complete successfully because of
    a parameter or call sequence that is not valid. (The parameter is incorrect (0x80070057)). If I use disk2vhd.exe to convert only C drive, I get parameter is incorrect. Any ideas?
    Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    Hi Sir,
    >> If I use disk2vhd.exe to convert only C drive, I get parameter is incorrect. Any ideas?
    >> gets this message: Error (2901) The operation did not complete successfully because of a parameter or call sequence that is not valid. (The parameter is incorrect (0x80070057)
    Please refer to following article regarding this error :
    http://blogs.technet.com/b/hugofe/archive/2010/07/09/abe.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Calling a Tabstrip subscreen from subscreen.

    hello to all,
    i want to know whether it is possible to place tabstrip control in a subscreen of the main screen in Dialog programming
    .if yes then how to call the subscreen of the tabstrip .
    for ex:i hv Main screen no.201  as noraml screen and in that i hv Subscreen Area in that i wanted to call Subscreen hving no. 1001,and in that 1001 subscreen i hv placed the tabstrip control.
    know in PBO of 201screen  i hv called the subscreen 1001 in the subscreen<area>.
    but from where should i call the tabstrip subscreen from ?
    so plz help me by providing some code etc.
    thanks,
    shikha

    It`s possible:
    refer SAP Help for documentation on this one:
    http://help.sap.com/saphelp_sm32/helpdata/EN/d1/801bd2454211d189710000e8322d00/content.htm
    Neha

  • Error: Calling Sequencing batch_init-General Error 95345

    Hi,
    While running PRC:create accounting program..the following error message shown
    Calling sequencing batch_init
    Technical problem : Problem encountered in sequencing BATCH_INIT.
    How can i overcome dis issue??
    Pls help me
    Thanks a lot in advance

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • RunState.Caller.Sequence.AsPropertyObject does not return the comment

    RunState.Caller.Sequence.AsPropertyObject.Comment    gives a null string
    but  RunState.Caller.Sequence.AsPropertyObject.Name  does give the right name of the sequence
    any idea what teststand  is doing here

    Hello,
    I develop an application operator of testsrand in c#, and I etulise the order dowry Net, I want to get  the current sequence execution in a listview in c#
    I do not arrive introduced the code
    RunStat.CallStack in my code
    here my code
    private void btnStart_Click(object sender, EventArgs e)
    affichageDeroulementTest.Clear();
    // Execution de Programmme
    myExecution = myEngine.NewExecution(mySqFile,
    "Test UUTs", mySqFile.GetModelSequenceFile(out sDummyString), false, 0, null, null, null);
    Please
    it is somebody can help me has recovers the sequence in the course of execution
    thank you;

  • Post Actions: Called Sequence not reporting

    I am using TestStand 2.0. I have a step (that is forced to fail) that has the "Post Actions" set to "On Fail:" "Call Sequence". Unfortunately the steps in the called sequence are not showing up in the test report. I can verify that the called sequence is running by stepping through the steps. Also if I call the called sequence from a "SequenceCall" step then its steps do show up in the report. How do I get the steps of a sequence that is called via "'Post Actions' set to 'On Fail:' 'Call Sequence'" to show up in the test report?

    Kevin -
    See attached sequences with appropriate changes to include PostAction for the TestStand 2.0 sequences. You should be able to diff these with the original 2.0 sequences to see the changes.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments
    Attachments:
    reportgen_txt.seq ‏95 KB
    reportgen_html.seq ‏110 KB

  • Bad TLI Call sequence number

    Recently we started recieving an error in the TUXLOG that read
    GP_CAT:1036: ERROR: Bad TLI Call sequence number 265, Will not send disconnect sequence.
    Shortly after this , users complain that they cannot log onto to Peoplsoft and it is necessary to restart the app server application on the server.
    Has anybody experinced a similar problem before?
    We are on TUXEDO Version 6.5 SunOS 5.5.1 Generic_103640-29 sun4m sparc SUNW,SPARCstation-20.

    Hi Gavin,
    You'll probably get better luck asking Oracle as Peoplesoft embeds Tuxedo in their application and is responsible for first line support. Offhand I'm not sure what's causing that message as it only occurs under certain error conditions in a network connect.
    Regards,
    Todd Little
    BEA Tuxedo Chief Architect

  • Locals.resultlist elements, calling sequence information?

    Hi,
    When post-processing locals.resultlist, each element contains step data.  I don't see a way to get at what the step name of the calling sequence was.  I see a stepID, is there a function to input this to, that would return what the parent sequence is of the given step result?  Or another way?  Seems like there must be a way because the html report has a tiered heirarchy structure, and that is post-processed.  Any info appreciated, thanks
    David J.

    David,
    You can see all of the results right before MainSequence returns to the process model. So basically the last step of MainSequence in the Cleanup Step Group.  Or you can step back into the model and see it in Locals.ResultList[0].  This will not have anything in it until MainSequence has returned.  In fact, element 0 is the resultlist from MainSequence.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Conditional call to a subscreen in module pool program.

    Hi,
    Could anybody please let me know how i will be able to call a subscreen conditionally in a module pool program?
    Example: I have to call a subscreen XXXX if a FLAG = X. How will I achieve this?
    I tried to write the below code in PAI
    if flag = 'X'.
    call subscreen XXXX.
    endif.
    This produced an error.
    Regards,
    Smithesh

    Hi
    In TOP Include
    data repid type sy-repid,
            dynnr type sy-dynnr.
    In PBO of main screen
    module status_100. " First Call This Module to provide the SubScreen Number to below Code
    call subscreen sub including repid dynnr. " This serves the purpose of calling subscreen based on condition
    in Program.
    module status_100.
    repid = sy-repid.
    if your_condition = 'X'. " This also can be implemented in any PAI logi as its purpose is just to pass a value to DYNNR
    dynnr = '200'. " The SUB Screen  Number you want to pass
    else.
    dynnr = '300'. " Dummy Sub Screen Screen or any other (Make Sure these are of SUB SCREEN type )
    endif.
    endmodule
    Cheerz
    Ram

  • Call transaction in subscreen

    Hello,
    I have a requirement to build a screen with custom functionality, and in the lower part of the screen to have standard functionality of a transaction. How can I call that transaction in order to have my functionality also on the same screen?
    Thank you!

    hi Popescu Marian,
    You can call subscreen..in a vrious way
    <b>=> this is the url if you wanna call two screen ( define as sub screen ) on one screen</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    <b>=> this is the url  if you wanna define selection screen as subscreen to order to call it in one screen</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
    <b>code example :</b>
    REPORT demo_sel_screen_as_subscreen.
    SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
    PARAMETERS: p1(10) TYPE c,
                p2(10) TYPE c,
                p3(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 1100.
    SELECTION-SCREEN BEGIN OF SCREEN 1200 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-020.
    PARAMETERS: q1(10) TYPE c OBLIGATORY,
                q2(10) TYPE c OBLIGATORY,
                q3(10) TYPE c OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF SCREEN 1200.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: number(4) TYPE n VALUE '1100'.
    START-OF-SELECTION.
      CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'BUTTON1'.
          number = 1100.
        WHEN 'BUTTON2'.
          number = 1200.
      ENDCASE.
    ENDMODULE.
    AT SELECTION-SCREEN.
      MESSAGE s888(sabapdocu) WITH text-030 sy-dynnr.
    => this is if you wanna call subscreen on a tabstrip
    http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm

Maybe you are looking for

  • Finding query access frequency or how many times a query has been executed?

    Dear Experts I need to find the total number of access frequency of individual queries that are requested by the users say at a particular time. Say there are 20 distinct queries requested in the time difference of 3 hours. All of the 20 queries or s

  • SAP ECC6.0 on SQL BACKUP ISSUE THROUGH DB13

    Dear All, My SAP Environment is : Windows Server 2003 Database : SQL2005 SAP version: ECC6.0 SR3 I am in process to configure backup system of Development server through DB13 but i am getting the below error : - Jobname:    SAP CCMS Full DB Backup of

  • Question about transferring data from 3GS to iPhone 5

    I upgraded from 3GS to iPhone 5.  Before reading any articles on transferring data through iTunes, I configured my 3 email programs, contacts and calendar (Google).  The Apple instuctions state that I should backup 3GS FIRST, then restore to iPhone 5

  • Need to replace email address in PO

    I have to replace the vendor email id  in purchase order with some other email id which should come from LFM1 table. The given condition is like while selecting the email address it should first search in LFM1-email_filed and fetch the email from the

  • How to transfer photo into expansion drive

    Can anybody tell me how to download / transfer photo from iphoto into external hard drive