!How to find out follow up activities created during creation of an Order??

Hi Gurus,
I want to find out the number of follow up activities created during creation of an Order??
Is there any BAPI or Function Module which can detrmine the number of follow up activities after creation / saving an Order..
Please Reply fast.
Thanks
Pranay

Hi Pranav,
I am confident this will solve your problem:
<b>Step 1.</b>
Enter the guid of the current order into function module
CRM_DOC_FLOW_READ_DB.
Code:
DATA : t_doc_links TYPE crmt_doc_flow_db_wrkt,
           v_guid TYPE crmt_object_guid.
v_guid = <guid of the order from table crmd_orderadm_h>
CALL FUNCTION 'CRM_DOC_FLOW_READ_DB'
              EXPORTING
                iv_header_guid = v_guid
              IMPORTING
                et_doc_links   = t_doc_links
              EXCEPTIONS
                error_occurred = 1
                OTHERS         = 2.
<b>Step2.</b>
Now loop through the returned table ie t_doc_links.
Records which fulfill the following criteria are
the follow up records.
  reltype    = 'VONA'
  objtype_b  = 'BUS2000126'
  objkey_b   =  v_temp
  roletype_b = 'NACHFOLGER'
  roletype_a = 'VORGAENGER'.
<b>Step:3</b>
Now Count the records which fulfill the above creteria.
This count represent the number of followups created.
<b>REWARD THE ANSWER WITH FULL 10 POINTS IF UR PROBLEM IS SOLVED.</b>
thanks,
ashish.

Similar Messages

  • How to find out idoc num after creating a costomer or vendor .....etc

    hai
    i had to find out idoc number after creating a customer, for that particular customer, i know to find out bygoing to the transaction WE05, but it is very tedious to find the idoc num for that particular customer, is it possible to find from the application it self with out going to WE05
    if so please help me,
    reward guarenty
    thanks in advance
    sindu

    Hi ,
    In  Customer  Display   Tcode -- XD03 ,
    Extras ---> Customer Partner Function ---> ( Pls  check  Logical System LS )
    Regards.

  • How to find out the failed reorg tables during reorgnization phase

    Dear All,
      I am doing the archiving project.
      I have finished the Write phase and Delete Phase.
      Now I am doing the tablespace(PSAPSR3) reorganization in QAS(Offline).
      Due to the redo log space was full during the reorgnization phase.
      Some tables' reorgnization progress were failed.
      Hope you could tell me how to find out the tables which reorgnization were failed.
      (DB level?  OS level? SAP Level?)
    Thank you in advance!
    Jason

    /oracle/QAS/sapreorg

  • How to find out number of bookmarks created?

    Is there any way to find out how many bookmarks have been created by users? I can see a list of all bookmarks under RSA1, Reporting Agent, Bookmarks, but I can't see a way to export that list or show a total.

    Thanks, that table has a list of all bookmarks.
    It seems like it only stores the last time a bookmark was accessed though...for example, if someone opens a bookmark 10 times, there would still just be one record for that bookmark.

  • How to find out if the stock is available for the sales orders

    hello gurus
    We have 25 sales orders.. for which we did not have any stock.. so we produced internally and now the stock is available physically and stock is updated in SAP as well.
    How can i know that for all the 25 orders ..if the stock is now available for all the orders.. we have a requirement that unless we have a stock available for each order we cant create deliveries.. againts the sales order.
    I would like to know what is the best possible way to check the stock availability for all the 25 orders at one time.
    Note : All 25 orders have different materials.. in them
    regards
    mohammed

    Hi,
    To check the stock availability tcode is MMBE, enter the material no, plant and storage location and then click the  EXECUTE button ,u will see the stock.
    For different materials , u ve to repeat the above steps.
    Reward points if it helps.
    Regds,
    Pallavi

  • How to find out which keywords were used to create a smart album?

    Hi,
    I actually have 2 questions;
    a) Short of scrolling down my very long list of password on the HUD - is there an elegant way to do it - How to find out which passwords were used to create an existing smart album? It's a recurring challenge for me.\ 'cause I like using smart albums, but once in a while need to check or chane the passwords.
    b) With annoying regularity when I try to get to this forum and choose Aperture, I get the following message - in pink, no less: It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    Any clues?
    Thanks guys,
    Raphael
    <Edited by Host>

    b) With annoying regularity when I try to get to this forum and choose Aperture, I get the following message - in pink, no less: It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    Any clues?
    Raphael,
    that message may occur for four reasons at least:
    Most frequently, when you are using an outdated link to a post that no longer exists, for example from an email notofication. Sometimes our community host will remove posts, that are in violation of the terms of use: see:
    Apple Support Communities Terms of Use
    Or you are using the edit button or a bookmark to an "Edit" window, after the fifteen minutes allowed for editing are up.
    Or you want to view a page in a restricted section of the ASC - soem perta are only open for members of level 6 or higher.
    Or it is one  of the unexplained problems with the forum software right now.
    a) Short of scrolling down my very long list of password on the HUD - is there an elegant way to do it - How to find out which passwords were used to create an existing smart album? It's a recurring challenge for me.\ 'cause I like using smart albums, but once in a while need to check or chane the passwords.
    I really like Kirby's suggestion with the IPTC rule Keyword is. This is very useful for smart albums global to the library.
    Frequently a different approach helps for my smart albums. Many of my smart albums are local to projects or folders.  In this case the smart HUD will only show those keywords that have been used for the images in the selection. So if I only have tagged the images with the keywords "birds" and "slideshow", the smart settings HUD will only show these two keywords and the list is very short.
    My Keywords HUD, is organized hierarchically; this way I can collapse large sections at once, and it is easier to focus on the keywords needed for a specific task.
    I use the search field in HUD a lot, to filter the set of keywords shown.

  • How to find out the user who has created  a new field in the custom table.

    How to find out the user details who has created  a new field in the custom table.
    Thanks,
    Joan

    Hi Jesudasan ,
    You can know the user details with version management.Please find the
    below procedure to know.
    Go to table->Utilities tab->version->Version management->Compare the previous one .
    Hope this solves the issue,Let me know if you have any issues.
    Thanks,
    Rajani

  • How to find out which user create folder

    how to find out which user create folder in shared drive?

    Hello,
    you have to enable Auditing in on the DCs OU and also on the top folder level where this should be monitored.
    http://technet.microsoft.com/en-us/library/cc784387(v=ws.10).aspx
    http://support.microsoft.com/kb/310399
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • How to find out sub site name from which sub site template is created - in solution gallery

    hi,
     i am having an issue in my "save site as a template". i have created  a subsite few weeks back with doc libs and  splists, disc.forum and  based on the template subsite I have created new subsites. now 
    as  per my new requirement i need to add new  doclibs and few columns in these doc lib. But I am unable to find which sub site was taken as a template.since i have many  subsites with different names, I forgott
    to make meaningful names, i gave some datetime for the templatesubsites,
    like project_27_jul_2pm,project_20_jul_7pm, etc etc.
    So would like to know, is it possible to find out from which subsite I have taken/prepared  the template subsite.
    any APIs are available or any power shell scripts. such that i can find  out from which subsite i have created this  sub site template.

    check this
    http://social.msdn.microsoft.com/Forums/en-US/3c492adb-e7cb-4f5c-8c29-386a21c3498e/how-to-find-out-a-list-of-sites-created-from-a-template?forum=sharepointgeneralprevious

  • How to find out through which tcode TR is created.

    Hi Friends,
    We have one custom code to create TR for staging of RM for the production. I want to find out whether TR is created through custom tcode or by standard transation. How can I find out this.
    Thanks,
    Kiran

    Such information is not captured in the TR tables.
    If you require this info then you may write some text into the header text of a TR

  • How to find out the user list that created by someone?

    Hi all:
    Now I want to develop a program that can find out the user list created by someone.
    such as :
    John create 3 user in SAP ,they are u1,u2,u3.
    Susan create 2 user in SAP , they are s1,s2.
    I input the the parameter such as John , the program can give me the list :u1,u2,u3.
    Could you tell me which table should I use in this program?
    Thanks .
    Elisa.

    Hi Ling,
    As per my understanding, you are looking for listing down the number of Users created by a particular users of the System. Like a System Administrator has created some 30 users. If this is correct, then you can use the table
    USR02 - Logon Data (Kernel-Side Use). This table has 2 fields which are of importance - BNAME - User Name in User Master Record & ANAME - Creator of the User Master Record. You can query the ANAME with the username of the system and you will get the resultant users.
    But I would reccomend to search the Table for a standard class, function module or RFC or BAPI so that you can reuse the same and need not to develop from the scratch.
    Hope this will help.
    Thanks,
    Samantak.

  • How to find out structure of internal table?

    Hi
    is there any way how to find out name of structure upon which internal
    table was created?
    i got internal table passed to function module by any table
    type. There can be different types of table passed in. Inside of
    module a need to find out the structure of table.
    I've found a tricky way how to find this information using following
    command 'DESCRIBE FIELD dobj INTO td.', but its probably not a correct
    way because using this command is not recommended in application
    programs.
    Is there any function module, or something i can use for getting this information?
    Thanks

    Thanks very much
    This has solved my problem:
      DATA descr_ref TYPE ref to cl_abap_typedescr.
      DATA tabname TYPE string.
      descr_ref = cl_abap_typedescr=>describe_by_data( itab ).
      tabname = descr_ref->absolute_name.

  • Get "404 Not Found" after deployment.  How to find out correct URL?

    To the experienced:
    In preparing to deploy my application, I am using JDeveloper 10.1.3.4 to deploy the application to the standalone oc4j server that is included in JDeveloper. After the deployment, I get the "404 Not Found" error when trying to invoke the application in a browser. The deployment looks OK, becasue the log window in JDeveloper showed no error when running deployment from inside JDeveloper. Therefore I guess the question is how to find out the correct URL to invoke the application. The steps I took in doing the deployment are as follows.
    I first installed the standalone oc4j by running the <jdev_home>\jdev\bin\start_oc4j .bat file. The installation is OK because I deployed the SRTutorial applcation and invoked it in a browser successfully.
    The WAR file was created by right-clicking the ViewController project and select to create a WAR file. To the application's Context Root its own name, I typed "ZB" in the box for the context root.
    Then in ViewController -> Resources, right_click the deployment file (ZBOV.deploy) and chose "Deploy to" the local_standalone_oc4j. The messages in JDeveloper's log window for the deployment are all clean without errors.
    I then used this url to invoke the deployed application in a browser:
    http://localhost:8888/ZB/faces/staff/login.jspx
    But I got an "404 Not Found" error. Right away I tried invoking the SRTutorial application, and it runs fine.
    login.jspx is one of the pages for the appllication. In the application navigator, it is located with other files in the ViewController/Web Content/staff folder, therefore I used /staff/login.jspx after ZB/faces.
    What could be wrong? If the deployment is actually successful, how to find out the correct url to invoke the application?
    Many thanks for your help!
    Newman

    Hi, Arun,
    Thank you for the suggestion. I tried it but got the same error.
    I tried it by first undeploying the application using the enterprise manager page (which is also part of the oc4j included in JDeveloper). I select the application and clicked the undeploy link, confirmed that I wanted to remove it. And it was removed.
    Then in JDeveloper, I right-clicked the ViewController, and in the properties of the probject selected "J2EE Application" and then selected "Use Custom Settings", then in the "J2EE Web Context Root" box I entered "ZB". Created the deployment profile again, overwriting the existing one, and then right-clicked the ZB.deploy node to deploy to the standalone oc4j on the localhost. And I used the url:
    http://localhost:8888/ZB/faces/staff/login.jspx
    And I got the same "404 Not Found" error.
    There was no error at the time of deployment using the ZB.deploy profile. On the enterprise manager page, the path of the deployed application is given as /C:/jdev10134/j2ee/home/applications/ZB.ear, and the folder of the deployed application is there. Question is: if the deployment is actually OK, can the correct URL be found in some file somewhere in the folder?
    All ideas and suggestions are very much appreciated!
    Newman

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • How to find out the common things between two rpds?

    How to find out the common things between two rpds? And place the common things in a common RPD.

    I thought of one solution.
    Original RPD = A
    Modified RPD = B
    XML Patch created for A-B = X
    Now open the XML Patch in IE or Mozilla and delete the columns/tables/variable/etc,. from the Original RPD A.
    But its a cumbersome process, if the XML file is of very less size its Ok. If its 10-20 MB then going line by line and deleting the change is not the process to be followed.
    I have to check whether its just the delete or modify or drop.
    Let me know your thoughts.

Maybe you are looking for

  • No query rewriting in a star schema

    Gentlemen, I am facing a problem with query rewriting in a simple data warehouse star schema. I want to take advantage of the built-in roll up along dimensions of a star schema. Therefore, I created several DIMENSIONs and made sure that all foreign k

  • Changing the Cursor Width

    Hai all, I have an application in which I am not able to see the Keyboard cursor clearly. Can anyone help me in increasing the Keyboard Cursor width through Oracle Forms 6i. Thanks.... Bye.. Badari Hareesh.

  • BEWARE Mac OS X 10.4.9 UPDATE!!

    Hi, As a MacBook Pro user I am disgusted that there is as yet no advice from Apple as to this new update and the capacity it has to screw up a machine, I have seen (from discussions) that quite a number of people have experienced the same problem - i

  • How to change "Day ends at" to after midnight, in iCal OS X Lion?

    Hello Apple/Mac community. Any help on this questions would be greatly appreciated!!!!! Donnie C

  • Adding weblogic.rmic to ANT Script

    Hi ! Any examples to illustrate adding the weblogic.rmic to the Ant build ??? All that I know is that i can use rmic which is one of the built-in tasks. Would i have to use exec instead. I'm referring to this URL.. http://jakarta.apache.org/ant/manua