F.M or Table to get contract cancellation date in CRM

Hi,
  Can you please let me know, where contract cancellation date would be available or stored n table or FM..
I have header GUID of contract, to which table or FM need to pass to get contract cancellation date.
crm_order_read function module is also not able to give the cancellation date.
Regards
Badari

HI using this methods u can create dynamic internal tables,
  CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    EXPORTING
      IT_FIELDCATALOG = FIELD_CATALOG
    IMPORTING
      EP_TABLE        = GFINAL.
  ASSIGN GFINAL->* TO <GFINAL>.
  CREATE DATA WFINAL LIKE LINE OF <GFINAL>.
  ASSIGN WFINAL->* TO <WFINAL>.
Please let me know once the requirement clearly , is the fm or Method importing parameter is internal table , corresponding to that
internal table you need to fetch data from data base.
In general , field symbols holds some memory in memory area , I think just like pointers in C language , this holds address only , there we dynamically assign some structure .
Let me know once if u not cleared ,
Regards
Siva

Similar Messages

  • Function to get the organization data in CRM

    Hi All,
    How to get the org data in CRM .
    Eg; getting all the sales org assigned to a user
    Thanks ,
    Naval Bhatt.

    Dear Naval,
    Refer to DB view CRMV_BP_FRG140. It will show up all the Sales Org/Office/Grp assigned to the Business Partner.
    Hope this helps.
    Thanks
    Vishal

  • In which table we get latest finish date of operation

    Hello all,
    I have one report for planned order in which i have to display the latest finish date of all the operation in that particular plnned order.
    can you please tell me from which table i can get the latest finish date of the operation.
    I have used the table KBED, but in table KBED i am not getting data for all the operation in planned order. I am geting only one or two operation in table KBED.
    Is there is any other table or any other way by which i can find the latest finish date for the opeartion.
    Please help.

    Hello Rudra,
    I don't want dates of planned order.
    In planned order we have number of operation.
    I want latest finish date of these operation,
    In table KBED we get the latest finish date but i am not able to get details of all the operation.
    In table KBED i am getting detials of only two operations where as in planned order i have 7 operations.
    Thanks

  • Get back the data in CRM from R/3 . If CRM fails

    Hi All,
       If our CRM system was to fail, and again the backup was older, what would we need to do to get orders that had already flowed into R/3 back into CRM?  Also, would we have any way to recover the status of orders in CRM that may had been delivered/invoiced in R/3 after the backup point for CRM?
    Plz give me reply as early as possible
    Thanks,
    Saritha

    Dear Saritha,
    I'm not sure if this forum is the right place to get a qualified answer to your question. This discussion group deals with Discovery System specific topics -> there is no CRM installed on the Discovery System.
    My take on your question: You have to ensure during the time of the backup that you have a backup that covers R/3 and CRM "in sync".
    You might want to re-post the question in one of the "SAP Solutions" discussion groups.
    Best Regards,
       rAimund

  • Add a flag column in the Query based on Cancel date

    hi Guys,
    I have a Characterstic object 0canceldate and it gets the cancellation date of the sales order. Based on that date i need to add a column in the report like if 0canceldate has ahappened or populate then show Yes or No in the coumn like a flag.
    Can anybody help me how i can do that?

    SELECT d.NAME
          FROM
            (SELECT jta.NAME
              FROM apps.jtf_terr_values_all jtva,
              apps.jtf_terr_qual_all jtqa,
              apps.jtf_terr_all jta ,
              apps.hz_party_sites ps,
              apps.hz_locations hl
            WHERE jtva.terr_qual_id     = jtqa.terr_qual_id
            AND jtqa.terr_id            = jta.terr_id
            AND jtva.low_value_char     = hl.postal_code
            AND jtqa.org_id             = jtva.org_id
            AND jta.org_id              = jtqa.org_id
            AND ps.location_id          = hl.location_id
            AND hl.country             in( 'CA', 'US')) D;
            UNION
            SELECT jta.NAME
              FROM apps.jtf_terr_values_all jtva,
              apps.jtf_terr_qual_all jtqa,
              apps.jtf_terr_all jta,
              apps.hz_party_sites ps,
              apps.hz_locations hl
            WHERE jtva.terr_qual_id     = jtqa.terr_qual_id
            AND jtqa.terr_id            = jta.terr_id
            AND ps.location_id          = hl.location_id
            AND jtqa.org_id             = jtva.org_id
            AND jta.org_id              = jtqa.org_id
            AND hl.country              = 'US'
            AND hl.postal_code BETWEEN jtva.low_value_char AND jtva.high_value_char
            )d;

  • Cancelled contract lines are populating in the SR form's subject tab when clicking on 'Get Contracts' button

    Cancelled contract lines are populating in the SR form's subject tab when clicking on 'Get Contracts' button. But user says, it should not be populated. What could be the reason? Please suggest.
    I have told the user :
    "In the case of a renewed contract, if the service request is logged during the effectivity of the original contract (which is now Expired), the original contract will be retrieved. If the service request is logged during the effectivity of the renewal contract then only the renewal contract will be retrieved.
      Contract Entitlement on Subject tab is based on Contract Start and End dates. All the contracts i.e. expired, active, cancelled will appear until the end date. As we can see the contract ES-10165 is end dated on 09-DEC-2014, hence it will appear on the subject tab as per the functionality."
    But the User is saying:
    "Contract coverage is clear to be based on dates, and that is quite clear to me as well… the problem comes with the different statuses.
    A SR can be associated to an “EXPIRED” contract line because the SR creation date could be falling between coverage line start and end dates, but can never be related to a “CANCELLED” line.
    This “CANCELLED” status means that the line is not valid for the contract, so if it is not valid for a contract, it is not valid for referencing a job…and this is only creating wrong costs associations."

    Hi Sudhakar,
    Drop inline message components for each of the textFields and the textArea and then run the application. You could also use a message list component but inline message components for each of the input components would give you a clear idea if any errors are occuring. In case any such errors are indeed occuring then the situation can be analysed further.
    Hope this helps
    Cheers
    Giri :-)

  • How to get Contract Account Number in Service Ticket

    Hi Experts,
    How to get Contract account number in Service Ticket, we are working in ISU environment. when i create the service ticket the contract account number is there in Business agreement number field in service tiket.
    Can anyone tell me how to retrieve that field.
    Answer will be appreciated.
    Praveen

    check tables tfk_buag_ref and fkkvkp

  • Table link between contract document and billing document

    Hi,
    Please let me know the table link between contract data and its billing plan nnumber.
    Regards,
    bhaarathi.

    VBKD is the Table name
    if Ordertype "G"  <--- that means It is a contract
    From VBAK and VBAP you can get the Contract Details for the Order Type "G"
    Go to Table VBKD, with the contract and get the billing plan .
    FPLNR <--- is the Billing plan
    Here you get the relation Between Contract and Billing Plan

  • How to get contract conditions ?

    hi all ,
    I am currently on a purchasing contract which layout is based on the pruchase order. 
    for the form of purchase order , there is a table l_xtkomv in the interface , from which i could get all the conditions , so i could calculate the Subtotal , Surcharge, Discount .
    but the problem is that this table in purchase contract form is not filled up , so how could i get Subtotal , Surcharge, Discount in a purchase contract ?
    please guide me
    thanks and regards
    Kevin

    solved

  • Service Contract Cancellation - WV

    I am not able to cancel the service contract.
    Am getting this  message " The next possible cancellation date is 04.05.2013"
    how to resolve it?

    I don't have much idea on this.
    Use Tcode VORB - Define Reference Sales Document Types for Service Contract - WV, say, MK.
    Then TCode VOV8 - Sales doc type Service Contract - WV, check the Contract profile, say 0002
    Now TCode VOVR - check Contract prof. 0002 and under Cancellation proced take note of  Assignment cancellation procedure/cancellation rule, say, 0002 Cancel w/ 3 months notice and yr renewal.
    Now, you can flow following path in SPRO:
    IMG - SD - Sales - Contracts - Contract Data - Control Cancellation
    Then Check the in TCode VOVN - check Assign Cancellation Rules And Cancellation Procedures
    Cnacellation Procedure
    Cancellation Rule
    Decs
    0002
    0001
    Cancel. up to 1 wk after contract start
    0002
    0003
    Cancel w/ 3 months notice and yr renewal
    Now refer Tcode VOVL for cancellation rule. This incidates level at which a contract may be initialted for termination
    Cancellat.rule
    0003 Cancel w/ 3 months notice and yr renewal
    Canc.date
    08  Contract Start Date + Contract Validity Period
    Notice
    3-
    Canc.unit
    3 Month
    Canc.period
    1
    Period unit
    4 Year
    Therfore for your error,
    The next possible cancellation date is 04.05.2013
    cancellation rule (VOVL) & Contract validity period plays a vital role.
    For further reference/understanding try and refer following link from SAP Help how
    - [ Data on cancellation in Contract processing |http://help.sap.com/saphelp_45b/helpdata/en/b4/613275e24bd111950d0060b03c6b76/content.htm] works.
    Regards
    JP

  • I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

    I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

    Hi ,
    In your write back XML  try the below  query insert
    INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
    Regards
    Rajagopal

  • Report / Table for getting Datewise item cost

    Friends,
    Can u help me know MM Report / Table for getting Datewise item cost in a plant.

    hi,
    try table S031...Movement of stocks....
    THis shd help you..
    Regards
    Priyanka.P

  • What is the table to get the all planned orders related to a sale order

    Hi,
    May i know what is the table to get the all planned orders related to a sale order. My scenario is make to order scenario. we can get my out put final product by completing the nearly 916 planned orders.(Like major assemble,sub assemble). From this scenario i want the total orders related to a sale order. ( The planned orders from sale order to sale order will change. i.e 1 sale order will have 916 planned orders and one sale orders will generate 920 like that will chage when running mrp.). Now i want to pick the total planned orders for a sale order in a report. please guide me.
    Regards,
    Mastan.

    Hi,
    Use the table PLAF... in this table pass the sale order no in the filed KDAUF and then execute...issue here is once the planned orders are converted production orders, these planned orders are deleted from the system....so you will not able to see them.....
    Thanks
    Kumar

  • Master table, detail table, detail table not getting refreshed selection

    i have a page where i am displaying data as master table and detail table. both table VOs are based on SQL queries which use bind variables.
    i have a view link between vos of type 1:M
    i created master table detail table page by dropping detail iterator from data control panel under master and selecting master table detail table
    on my page i see detail table records getting populated only for first record of parent table.
    on changing parent record, child table shows same records and does not refresh
    i am using partial triggers on both tables to be populated on a button click as i need to pass some bind variables to VOs which are taken as input from users
    how can i show corresponding rows in detail table when parent record in table changes
    will i have to use table selection listener
    is it possible declaratively to have master detail table view when both VOs have bind variables
    jdev 11 1 1 5

    these are the SQLs used
    Parent SQL Based VO Query
    SELECT to_char(d.status_date,'yyyymmddhh24') TIME123, count(DISTINCT d.c4)
    FROM t1 d,
    t2 w
    WHERE w.c1 = nvl(:ou, w.c1)
    AND UPPER(w.c2) = UPPER(nvl(:tt, w.c2))
    AND d.c3 >= :startTime AND :startTime IS NOT NULL
    AND d.c3 <= :endTime AND :endTime IS NOT NULL
    AND d.c4 = w.c4
    AND UPPER(d.status) = 'CLOSED'
    GROUP BY to_char(status_date,'yyyymmddhh24') ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    Child SQL Based VO Query
    SELECT w.c1,
    w.c5 - w.c6 processing_time,
    w.c3,
    w.c6,
    w.c7,
    w.c8,
    to_char(d.status_date,'yyyymmddhh24') TIME123 FROM t1 d,
    t2 w
    WHERE w.c2 = nvl(:ou, w.c2)
    AND UPPER(w.c3) = UPPER(nvl(:tt, w.c3))
    AND d.c4 >= :startTime AND :startTime IS NOT NULL
    AND d.c4 <= :endTime AND :endTime IS NOT NULL
    AND d.c1 = w.c1
    AND UPPER(d.status) = 'CLOSED' ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    view link is based on column TIME123

  • How to get current row data in table control

    Hi , expert ,
       I am professional in oracle ,  but  now I am a new guy in SAP ABAP .
    I  have a question in UI
    How to get current row data and click pushbutton  in table control  to open next screen ?
    I want to get the current data and open next screen to carry out detail detail .
    Thansk for all your suggestion .

    GET CURSOR LINE SY-CUROW .
      READ TABLE internal_table index SY-CUROW.

Maybe you are looking for

  • Way to reboot to an earlier date?

    I was wondering if there was a way to reboot your mac to an earlier date. For instance, If I deleted something very important and I needed it back, there's a way (on a PC) to go back in your computers history and start from there, where I had said fi

  • Fixed columns in dynamic report ( ?horizontal-break-table:1? )

    Hi I have a dynamic report that could strech over more than one page horozontally. I use the <?horizontal-break-table:1?> tag on my first header column to show this on every page, but I also need to show the last column on every page. That meens that

  • File and printer sharing using Airport Express, usb HP Deskjet 3620 printer

    I have a general question, and other forum users might have a good resolution for it - but if not, here's what i'm dealing with.. I have an Airport Express that I bought a couple of years back, it has all the necessary firmware upgrades, i'm running

  • Gmail vs. MobileMe for IMAP

    I'm thinking about canceling my MobileMe account. The only features I really use are iDisk and email/calendar/contacts sync. I'm using Dropbox now instead of iDisk (much faster), and Spanning Sync to keep my Google calendar and contacts in sync. That

  • Mac book pro(with retina) to apple tv (3rd gen)

    i am sure that this question has probably been answered so if it has I'm sorry... but a google search is telling me that my apple tv/ computer are out of date or i can't push the button. i am on the same network as my apple tv, i see the button to ai