How to relate dispute case for a AR document

Hi Gurus,
I have a requirement to change the reason code change date of dispute case(DIspute management) for the related AR document.
Basically i am posting a AR document through BAPI. Now i wanted to take the last dunned date(MADAT) and find the related dispute case after that change the reason code change date using last dunned date.
so my question how to relate relevent dispute case for the AR document?
Thanks advance.
Regards,
Radhakrishna.

Hi.............
             Better and simplest way you can get it through a simple qury report. Create a query by joining two tables ODLN and OINV. OINV's docdate means the closing date of delivery challan.
Regards,

Similar Messages

  • Dispute case for a credit note

    To get approvals for a customer refund, I want to use dispute cases. To make this work, I will have to create dispute cases for open credit notes from customer line items (FBL5N). However, I get an error message 'Dispute case cannot be created without receivable'
    Do I need to define a new case type to be able to create a dispute case for a credit note?
    Cheers

    Hi Vicky,
    A dispute can not only include a credit note.
    There has to be a debit accounting document in the dispute as well.
    If a customer wanted a refund you have two options:
    1 - You can dispute the original invoice or invoices, and then raise a credit note and attach that to the dispute. The customer will then pay the invoices and take the credit note.
    2 - You can create a customer disputed object. This allows you to create a dispute without reference to an invoice. You can then attach the credit note to the dispute.

  • Table for Dispute case ID and accounting document number

    Hi,
    For a given dispute case ID (EXT_KEY) I am unable to find the corresponding accounting document number ( BELNR ) for this dispute case. I am able to see the accounting document for the dispute case on the transaction UDM_DISPUTE but then I am not finding the same in any tables. Can anyone let me know in which table can I find the relationship to determine this. Thanks in advance.
    Rgds,
    Sowmya

    Hi Sowmya,
    check the table UDMCASEATTR00.it contains all the details about disputemanagement
    please reward poitns if helpful

  • How to write test case for ViewController project using JUnit ?

    Hi All,
    JDev ver : 11.1.1.5
    JUnit : 1.9 jar added.
    I am writing test cases for my ViewController project. View project contains beans and other business logic files.
    So, for that I want to write test cases.
    In lot of codes I have FacesContext instance, there I am getting null pointer error.
    ex:
    public static String getFromHeader(String key) {
    FacesContext ctx = getFacesContext();
    ExternalContext ectx = ctx.getExternalContext();
    return ectx.getRequestHeaderMap().get(key);
    How to write cases for this scenario ?
    I came to know to use mockito, But I dont know how to mock the FacesContext.
    Anyone please help.
    Thanks,
    Gopinath

    Gopinath,
    Although I've not used it and cannot therefore say anything about whether it's useful or not - have you looked at JSFUnit?
    John

  • How to synchronize Dispute case reason code with AR Reason Code

    Hi
    A residual is set up with reason code "A". A dispute case is created for this residual and once the case is created the reson code is changed to "B" . Now what is the program that needs to be scheduled that synchronizes these two and changes AR reason code to "B"? Thanks for help
    Thanks

    I agree with Ravishankar, that this is more of a question regd operational process being followed by your business team.
    You might want to explain them tht it would be better of that to have below process
    1) initially AR residual has a reason code
    2) DC gets created automatically with the reason code of AR residual
    3) in case the Reason code needs to be changed now, change it in the DC case itself.
    4) to reflect changes made in step 3 to the AR residual online, you need to make settings in spro @ FSCM -- DM -- Process Ingegration with AR -- Auto doc changes from DC -- Define doc changes
    If you get the above steps employed, you will have one version of truth across AR and DC with respect to Reason codes.

  • How to get general account for a billing document ( BSEG) ?

    Hello,
    For a billing document to a client , We need to get the general account for each item of the invoice . We based on the field XBLNR of table VBRK to select a document from BKPF with condition : VBRK-XBLNR = BKPF-vbeln . If yes we will get from table BSEG for bseg-vbeln = bkpf-vbeln and bseg-posnr = vbrk-posnr . then get HKONT.
    But as you know BSEG is a cluster table, Select directly from this table is extremly long and seems impossible in our case. Could you please show me the way to do this ?
    Our main purpose is to get HKONT ( General account ) for a  billing document .
    Thanks in advance for your help

    Hi  Hoa Binh Xanh,
    Why don't you look into tables BSAD and BSID (Transperant Tables) rather directly hitting BSEG ( Cluster Table)
    Pass VBELN (Billing Document) in above two tables and get the doucment numbers and then if you need further info hit BSEG with the data you got from BSAD and BSID
    OR else Pass KOART = 'D' while selecting data from BSEG it will help in improving performance
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • How to set print option for a Billing document using T-code VF02

    Hi All,
    Please suggest me the way to set print option for a Billing document for T-code VF02 and please let me know how to get print preview for any particular Billing document?
    regards
    Anand.

    Enter the billing documents detail
    Goto Goto> Header>Output.
    Check the status for your output type in this screen.
    If it is green then come back to the VF03 screen.Enter the billing document number.
    Click on Billing document-->Issue output to.
    Press (CtrlShiftF1) or click on the icon beside "Print options".
    Here you can see the print preview.
    If the status is red then click on the processing log.Here you will get the error messages.
    If the status is in yellow colour,then click on the "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Before the print preview option you should make sure you have added correct output type to the relevant billing document. To do that, go to transaction VF02.
    Enter the billing document no
    Go to Menu option -> Go to -> Header -> Output
    In that screen you have to add relevant output type. (Standard output type is RD00)
    Add that & press enter key
    Highlight that line & press "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Press "Back" Button
    again select that line & go to "Communication method" button
    Set "Logical destination" as LOCAL"
    Don't mark "Print immediately" & "Release after output" ticks. If you mark them, sa soon as you save the billing document, you'll get a print out.
    Press "Back" Button
    Save
    Now form the initial "Change Billing Document" screen, Go to Menu option; Billing Document -> Issue Output to
    You can see that output type line appear.
    select that line & press "Print Preview" button or (CTRLSHIFTF1)
    You can see the print preview.
    Alternatively you can use VF31 to print multiple print outs at same time.
    If you want to get PDF outputs of billing documents, go to your printer settings in the your computer from Control Panel.
    Set PDF Writer as "Default Printer" (Right click & select "Set as Default Printer")
    Then normal way, print the billing from SAP.
    It'll automatically send to your PDF writer. You can save it to the path you want,

  • How to find closing date for a delivery document

    I nedd to fin closing date for a delivery document. I tried with clsdate but didnt work
    If someone can help me with this

    Hi.............
                 Better and simplest way you can get it through a simple qury report. Create a query by joining two tables ODLN and OINV. OINV's docdate means the closing date of delivery challan.
    Regards,

  • How are the keyboard cases for the iPhone 4?

    I've been looking around, and it appalls me that they have physical keyboards for the iPhone 4. After looking into it more, I now have a bit of Droid envy. -_-
    Before purchasing, I want to see if I can get first hand reviews on it... I found one cheap, on eBay, http://cgi.ebay.com/130490507671, but before I spring on it, I'd like to know more about them. Any help would be appreciated.

    There is no YouTube app included with iOS anymore.
    You can play most YouTube videos via mobile Safari.

  • How to get the View for a particular Document position?

    Hi there,
    Does anyone know how to get the "deepest" View that is responsible for rendering a particular Document offset?
    I tried looking at modelToView() and some other methods, but I am lost.
    Can anyone please help me?
    Thanks,
    Swati

    Bart--
    To find the table cell of the insertion point, you could use something like:
    InterfacePtr<ITextStoryThread> storythreadp(txtModel->QueryStoryThread(startPos + 1));
    InterfacePtr<ICellContent> cellcontentp(storythreadp, UseDefaultIID());
    if (! cellcontentp) {
      // Not a table cell, so see if it's the primary thread (kTextStoryBoss/ITextModel).
      InterfacePtr<ITextModel> threadmodelp(storythreadp, UseDefaultIID());
      if (threadmodelp) {
        // It's the primary thread...
      else {
        // It's something else with an ITextStoryThread (note, footnote, etc.).
    else {
      // The insertion point's in a table cell (kTextCellContentBoss).
      InterfacePtr<ITableModel> tableModel(cellcontentp->GetTableModel(), UseDefaultIID());
      GridID gridID(cellcontentp->GetGridID());
      GridAddress gridLoc(cellcontentp->GetGridAddress());
      // ...and so on.
    Hope this helps get you where you want to go.
    Chris Roueche / Freelance Developer

  • How to create a validation for a certain document number range?

    Good Day!
    May I just seek assistance on how to limit a certain document number range from normal posting via F-65?
    The scenario is I would like to restrict, say for example Document Number range 07 from transaction FBV1. How do I create a validation for that? I was thinking what to put up in the Check field in the validation.
    This is how I set up the pre-requsite for the validation rules:
    Pre-requisite:  Transaction Code = FBV1
    Thanks!

    Ok great.. Thanks a lot for the help.If I may just ask one more? =)
    What if the scenario is say creating a validation for a certain GL account group?
    Scenario: User would like to restrict the transaction FBV1 from posting to a GL account group (e.g. G007) ?
    I checked the list of tables and fields in validations, but it seems that the GL account group is not part of the list.
    Any help would be greatly appreciated.

  • How to resolve this error for "This PDF document might not be displayed correctly." ?

    All of our PDF file build in Abode Indesign CS4. If any pdf open with mozilla, will come error message will be come on top of page. why this error coming every time and every pdf files.

    hello, the pdf viewer is still somewhat experimental and under very active development - you could try if the same error is occurring in the current development version, which you can download as an addon from http://mozilla.github.io/pdf.js/extensions/firefox/pdf.js.xpi
    in case it has the the same rendering problems, you could then file a bug report at https://github.com/mozilla/pdf.js/issues (a github account is necessary for it though) - please also provide a sample document where the error is apparent!

  • How to set different margins for a single document?

    Hello,
    I'm creating a Pages document that will be exported to PDF.
    On text pages I need to set margins on all sides, but for photo pages I want the margins completely removed.
    What would be the best way to do this?

    The best way would be to choose either *Layout mode* which is free form layout except for headers and footers, or to use *Word Processing* mode but make all your Photos in Floating imageboxes which can be placed wherever you like.
    see p132 of the Pages09_UserGuide.pdf downloadable from under the Help menu.
    Peter

  • How do I change settings for opening/saving documents from web?

    I have an iMac running OS X 10.5.8 and Firefox 3.6.3. When I try to open a document (pdf) from a website, the dialog box only gives a save option with drop down for location. I'm used to a dialog box with open and save options. Open then offers the app choice of preview, acrobat or whatever. At first I thought it was an out of date operating system or firefox version but that's not it. What do I need to change or reset this to restore the default open or save dialog box? Thank you!

    Okay, I uninstalled the amazon.com Universal Website to Wish List tool, and now my address bar is back to displaying the full url address of the page I am on. So, never mind.

  • How to handle line item for posting a document

    Hello,
    I am using a function module to post a document, so far I have hard coded all the values in the test program. I am passing two internal tables to the function module, one which has header data and the other which has line item data. So far I have written the following code to get the line item details:
    it_bseg-BUKRS = '001'.
    it_bseg-GJAHR = u20182010u2019.
    it_bseg-BUZEI = '001'.
    it_bseg-BSCHL = '31'.
    it_bseg-WRBTR = '900'.
    it_bseg-PSWSl = 'USD'.
    it_bseg-SAKNR = u20180000123456u2019.
    it_bseg-HKONT = u20180000123456u2019.
    it_bseg-LIFNR = u2018001234567u2019.
    append it_bseg to lt_temp_bseg.
    clear it_bseg.
    it_bseg-BUKRS = '001'.
    it_bseg-GJAHR = '2010'.
    it_bseg-BUZEI = '002'.
    it_bseg-BSCHL = '40'.
    it_bseg-WRBTR = '900''.
    it_bseg-PSWSL = 'USD'.
    it_bseg-KOSTL = '1111871234'.
    it_bseg-XKRES = 'X'.
    it_bseg-HKONT = '0000564738'.
    it_bseg-FISTL = '1234556000'.
    it_bseg-GEBER = '0000001'.
    it_bseg-fkber = '0'.
    append it_bseg to lt_temp_bseg.
    clear it_bseg.
    Now I want to get rid of the way I am handling the line item and want to handle it based on what user enters. For example right now only line item is being considered but if user enters two line items then what should be the approach.
    Thank you,
    Rajeev Gupta

    Any Suggestion.

Maybe you are looking for