Badi hitting twice...SCMG_BEFORE_VALID_C for Dispute Management ECC 6.0

Hi,
I have implemented the BADI
SCMG_BEFORE_VALID_C for the transaction UDM_DISPUTE.
I pop up some messages when a case is changed....But the problem is the pop up message comes twice.
So the BADI is being called twice...
Does any one know how to resolve this issue...
Thanks,
Chaitanya K

Hi.
Try to apply a concept of EXPORT and IMPORT allow follow.
BADI calling.
Data:      gv_flag_set type c,
              gv_flag_get type c.
  gv_flag_set = 'X'.
1.First time.
  Method A.
   /*begin of method
   IMPORT gv_flag_get = flag_set FORM MEMORY IS 'Z_ID1'.
  IF gv_flag_get IS NOT INITIAL.
   "Perform your statement here for first time
ELSE.
  ENDIF.
   /*end the end of method
   EXPORT flag_set FROM gv_flag_set TO MEMORY ID 'Z_ID1'.
  Endmethod.
2.Second time.
  Method A.
   /*begin of method
   IMPORT gv_flag_get = flag_set FORM MEMORY IS 'Z_ID1'.
  IF gv_flag_get IS NOT INITIAL.
   "Perform your statement here
ELSE.
     "This is for the second time
  ENDIF.
   *end the end of method
   EXPORT flag_set FROM gv_flag_set TO MEMORY ID 'Z_ID1'.
  Endmethod.
Sayan,
Thanks for your reply.
I couldn't understand what should be the value of flag_set and it should also be declared right...
and u hve mentioned gv_flag_get is not initial. Then u should have a value X then only the first time it executes....
Thanks,
Chaitanya K
Edited by: chaithanya k on Jan 6, 2009 3:12 PM

Similar Messages

  • Function read_text for dispute management

    We are in SAP R/3 enterprise 4.7.  We are trying to find out how to get the text from Dispute Case Notes.  I found CASE_GUID field in SCMG_T_CASE_ATTR table.   Looks like there is correlation between this CASE_GUID field with TDNAME in STXH table.  However, I couldn't find the correct link.  As you know, when we run function READ_TEXT, this TDNAME will be used in Import Parameter-NAME. 
    Do you know how to find out the correct TDNAME in STXH table for Dispute Case Management?
    Thank you.
    Daud Hadi

    Hi Rich,
    Thank you for the quick response.  Unfortunately, the problem is how to decode the TDNAME.  I thought there is a correlation between CASE_GUID field with TDNAME, however, I couldn't find the correct link.  Below is a snapshot of STXH table based on a dispute case note.  The Dispute Case note number is actually 32.  The Case_GUID is 3FC4501BDCF000BC000000000A360416.  So, I thought it must be the first 7 char.  However, it is not always the case.
    Snapshot of STXH table:
    MANDT     142
    TDOBJECT     SCMG_CASE
    TDNAME     3FC4501CDCF000BC000000000A36041620060330223414
    TDID     0001
    Language     E
    TDTITLE     
    TDFRELES     620
    Created by     USHADIDA
    TDFDATE     30.03.2006
    TDFTIME     22:34:14
    TDLRELES     620
    Changed by     USHADIDA
    TDLDATE     30.03.2006
    TDLTIME     22:34:14
    How to find out the correct TDNAME value in STXH table?
    Daud Hadi

  • BADI's to activate for funds managment

    Hi All,
    While creating purchase order we have an error related to Funds managment.
    in the program we have the FM 'FM_ACCOUNT_DERIVE'.we have got an error like
    funds centre value as taken Current date.
    Through this FM only we got the current date value.
    SO do we need to activate any relaed BADI's to funds managment.
    Could you please help me.
    Thanks.

    Hi All,
    While creating purchase order we have an error related to Funds managment.
    in the program we have the FM 'FM_ACCOUNT_DERIVE'.we have got an error like
    funds centre value as taken Current date.
    Through this FM only we got the current date value.
    SO do we need to activate any relaed BADI's to funds managment.
    Could you please help me.
    Thanks.

  • Creation of RMS ID for Dispute management system

    Hi All,
    I have went into Create RMS ID IMG config and selected S_AREA_CMG. Under RMS_ID node, i can see UDM_DISPUTE RMS ID. How can i copy this RMS ID and create a custom RMS id for my client. Any help in this regard will be highly appreciated.
    Thanks
    Rajanikanth

    Hi Minu,
    Simply follow SAP help as below;
    SPRO > "Create RMS ID"
    Activities
    You can use the RMS unmodified or create your own RMS. To create your own RMS, proceed as follows:
    1. Choose S_AREA_CMG.
    2. Choose S_AREA_CMG -> RMS_ID.
    3. In the context menu, choose Create Parameter Value.
    4. Enter the parameter value and the short description.
    BR,

  • Dispute management reporting

    Hi all,
    i'm doing some research into the disputes management module for my company who wish to use it to manage around 7500 claims per month.
    I'm trying to identify what the reporting is like from SAP, but i cant see any standard reports for disputes management, only comments to say that the data is extracted to BI as standard.
    Is there no dispute management reporting directly out of SAP (ECC6)?  Alternatively does anyone have experience writing reports in SAP for disputes management cases?
    Thanks
    Phil

    The main area for dsipute management reporting is within the BI module.
    That is not to say there are not standard ERP reports - however they are very basic.
    The main report can be run by user, customer, reason code and status with drill down functionality into the dispute.
    The volume of disputes would mean you would ideally be suited to BI, as you would want summary reports.
    There is standard BI Business Content - but normally a client would enhance this to bring in billing and accounting information.

  • FSCM Dispute management workflow

    Hi All, I have activated the workflow WS01700044 for dispute management email and notifications.
    event:  NONPROFESSIONALUSERSET
    This event get triggered when dispute case is created or changed.
    Now my issue is when I create a case, it is sending a mail to processor of case. But if I change the processor in t-code UDM_DISPUTE, it trigger the event and workflow but it is ending with error because field RECIPIENT in event come blank hence email step goes into error.
    I have checked all email Ids are maintained in respective user profiles. Even it sends mail in create.
    IF anyone know how to correct it, plese let me know.
    Thanks,

    Hi -
    Even if you HAVE maintained an email address in the user profile, emails are not automatic.
    Check with your Basis person to make sure outgoing emails aren't blocked.
    You should also check the workflow status from within the case itself. The 044 workflow is pretty clear on showing that there will be a red box because a workflow event failed. Check there and report back here.
    D

  • Replication of a BP in CRM as a FI Vendor in ECC for Grants Management

    Hi,
    We are implenting SAP CRM 7 with SAP ECC for Grants Management, integrated with FI AP (we're not using PSCD).
    For BP replication we followed the next steps, however something looks it is incorrect because my BDOC still shows errors:
    The middleware settings had been completed between the CRM and the ECC system.
    - Site, Suscription and replication from CRM to SAP ECC are in placed
       -The next replication object are activated:
        -All Business Partners (MESG)   (BUPA_MAIN)
        -All Busines Partner Relationships (MESG) (BUPA_REL)
        -All Business Transactions (MESG)
        -Grantor Program Management
    Also we implemented the next steps:
    1) Define the number ranges for BP groupings in CRM: This number range would be internal in CRM and External in ECC.
    CRM (IMG) -> Customer Relationship Management -> Cross-Application Components -> SAP Business Partner -> Basic Settings ->
    Number Ranges and Groupings
    2) Since the BP would be replicated as a BP in ECC we define the same number ranges in ECC too:
    ERP (IMG) -> Customer Relationship Management -> Cross-Application Components -> SAP Business Partner -> Basic Settings ->
    Define Groupings and Assign Number Ranges
    3) Activate the post-processing framework: (Business processes CVI_02 and CVI_04 in Component AP-MD)
    ERP (IMG) -> Cross-Application Components -> General Application Functions ->Postprocessing Office -> Business Processes->
    Activate Creation of Postprocessing Orders
    4) Activate PPO Requests for Platform Objects in the Dialog:
    ERP (IMG) -> Cross-Application Components -> Master Data Synchronization -> Synchronization Control -> Synchronization
    Control -> Activate PPO Requests for Platform Objects in the Dialog
    Edited by: Lyda Osorio on Oct 9, 2009 7:25 AM

    For CRM I had the following FM activated:
    BPOUT     BUPA     100000     CRM_BUPA_OUTB_RENTED_ADDRESS     X
    BPOUT     BUPA     200000     BUPA_MWX_BDOC_CREATE_MAIN     X
    BPOUT     BUPA     300000     CRM_BUPA_OUTB_MARKETING_ATTR     X
    BPOUT     BUPA     400000     VEND_MWX_CREATE_MAIN_BDOC     X
    BPOUT     BUPA     1000000     BUPA_OUTBOUND_MAIN     X
    BPOUT     BUPR     100000     BUPA_MWX_BDOC_CREATE_REL     X
    BPOUT     BUPX     1000000     MDS_BUPA_OUTBOUND     X
    CLEAR     BUPA     1000000     BUPA_OUTBOUND_CLEAR_FLAGS     X
    CRMIN     BUAG     100000     CRM_BUAG_MWX_PROCESS_EXT_STRUC     X
    CRMIN     BUPA     90100     CRM_BUPA_INBOUND_SET_BUAG_FLAG     X
    CRMIN     BUPA     1000000     BUPA_INBOUND_MAIN_CENTRAL     X
    CRMIN     BUPA     1100000     CRM_BUPA_INBOUND_MAIN_MD     X
    CRMIN     BUPA     1200000     CRM_BUPA_BDOC_MAP_MAIN     X
    CRMIN     BUPA     1400000     CRM_BUPA_KOREA_INBOUND_MAP     X
    CRMIN     BUPA     2000000     ABA_FSBP_INBOUND_MAIN     X
    CRMIN     BUPR     1000000     BUPA_INBOUND_REL_CENTRAL     X
    CRMIN     BUPR     1100000     CRM_BUPA_INBOUND_REL_MD     X
    CRMIN     BUPR     1200000     CRM_BUPA_BDOC_MAP_REL     X
    CRMOU     BUAG     100000     CRM_BUAG_MWX_FILL_EXT_FROM_MEM     X
    CRMOU     BUPA     1000000     BUPA_OUTBOUND_BPS_FILL_CENTRAL     X
    CRMOU     BUPA     1200000     CRM_BUPA_OUTB_BPS_FILL_MD     X
    CRMOU     BUPR     1000000     BUPA_OUTBOUND_BPR_FILL_CENTRAL     X
    CRMOU     BUPR     1200000     CRM_BUPA_OUTB_BPR_FILL_MD     X
    CRMOU     BUPR     1300000     CRM_BUPA_BDOC_BPR_FILL_DATA     X
    EXTR     BUAG     100000     CRM_BUAG_MAIN_GET_ID_LIST     X
    MERGE     BUPA     1000000     MERGE_BUPA_CENTRAL     X
    MERGE     BUPA     2000000     MERGE_BUPA_FINSERV     X
    MERGE     BUPR     1000000     MERGE_BUPR_CENTRAL     X
    PXYIN     BUPA     1000000     BUPA_INBOUND     X
    R3AOU     BUPA     100000     BUPA_MWX_BDOC_UP_CURRSTATE_SET     X
    XIIN     BUPA     1000000     ABA_BUPA_MAP_PROXY_TO_DDIC     X
    XIIN     BUPA     2000000     ABA_FSBP_MAP_PROXY_TO_DDIC     X
    XIIN     BUPA     2100000     ABA_FSBP_MAP_PROXY_TO_DDIC_1     X
    XIIN     BUPR     1000000     ABA_BUPR_MAP_PROXY_TO_DDIC     X
    XIOUT     BUPA     1000000     ABA_BUPA_MAP_DDIC_TO_PROXY     X
    XIOUT     BUPR     1000000     ABA_BUPR_MAP_DDIC_TO_PROXY     X

  • Is there a new extractor for the new EHP3 Dispute management module?

    Hello all,
    Our R/3 colleagues have been installing the EHP3 on their system, to gain access (among other functionalities) to a new Dispute Management module.
    Now we want to extract this data to the Business Warehouse and consider the use of a generic extractor. Before developing it, we would like to make sure there is no standard extractor for this.
    Does anyone know if SAP provided a corresponding extractor?
    Thanks in advance for the answers.
    Best Regards
    Manuel SCHAFF

    Calendars which have been moved to MobileMe (and which therefore can be viewed by other devices logged in there) cannot be published to a Web Page URL as was possible before.
    Calendars under 'On My Mac' can be published as before, but will not sync to MobileMe.
    MobileMe Calendars can shared with other selected MobileMe users, with writing privileges if so chosen; and can be made available publicly in read-only form but can only be viewed in a CalDAV reader such as iCal itself or Google Calendar. Details here:
    http://docs.info.apple.com/article.html?path=MobileMe/Help/en/mm6b1a9479.html

  • Print and Softproof colors are bad for "Application managed color"

    Hello... Not sure if my problem is a Mac OS X issue, or a Lightroom issue. Either way I hope it is just user error.
    While printing, my prints look good using "printer managed color", both preview and printed output look good. I am used to using "application managed color" and am getting very poor colors, in both the preview and the printed output.
    I am somewhat familiar with color management, and understand the basic concepts of profiles.
    I have a new iMac 20" display, that is calibrated. I am printing on a HP 8450. It appears that both the printer and LR are trying to manage my color when I am trying to do a "application managed color" print. Not being familiar with OS X, I have not been able to determine how to disable the color management of my printer driver.
    If anyone has any suggestions, please help... I have been fighting this off and on all day...
    One other thing... off topic, but if anyone knows how to adjust a 20" iMac 20 RGB values, please let me know. I can't see how to manually adjust the individual channels.
    Thanks, Mike

    Well, it sounds like you are not getting all your ducks in a row on setting up LR for "application managed color". There aresome excellent step by steps in one or two other threads. A key point is using the individual icc profile for the specific paper not the generic.
    To properly calibrate you Monitor you should use a Calibration device, like a Spyder not tweek the numbers by hand/eye.
    It is just user error.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Defining Accounts for Materials Management

    Dear sir,
    Now, I have to Define Accounts for Materials Management, but I dont know what are procedure or group to match my account number. Can you explain the definition of following procedure:
    Expense/revenue from consign.mat.consum
    Expense/revenue from stock transfer
    Subsequent settlement of provisions
    Subsequent settlement of revenues
    Provision differences
    Inventory posting
    Change in stock account
    Inventory posting
    Revaluation of other consumables
    Del credere
    Materials management small differences
    Purchase account
    Purchase offsetting account
    Offsetting entry for inventory posting
    Account-assigned purchase order
    MM exchange rate rounding differences
    Differences (AVR Price)
    Cost (price) differences
    Price Differences (Mat. Ledger, AVR)
    Price differences (cost object hierarc.)
    Price Diff. from WIP Written Off (Mat.)
    Product cost collector price differences .....
    Many other, but you can explain some and give me example, and step by step giude me setup
    Thank you very much
    Faithfully,
    Hangvt

    Hi,
    Some of the companies are having a practice of paying payables with the rounding off rules. This rounding of in India could be from Rs.0.01 to Rs.10.00. For examble, there is a payable amount of Rs.125125.25 this can be rounded off to Rs.125125.00 or Rs.125130.00 while making payment. The balance amount should hit the rounding off difference account.
    The same things is applicable for receivables also.
    Over/under payment GL can be configured by using T Code OBXL
    There is an another use, for details see the below link,
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9b9a6455711d182b40000e829fbfe/frameset.htm
    There may be some more reason where you need to do this configuration,
    Disc. difference
    Incorrect cash discount rate
    To be paid without deduction
    Credit memo without backdated cash disct
    Cash discount period exceeded
    Reduction without doc.number allocation
    Incomplete payment advice note
    Payment amount is different
    Debit reduced not paid
    Debit reduced not paid
    Reduced twice
    Paid not reduced
    Damaged goods - disputed
    Goods damaged during transport
    Quant.delivered not same as order quant.
    Freight charges not paid
    Miscellaneous deductions
    Price variances - disputed
    Partial payment
    Returns
    Residual item creation
    Trade Promotion
    Payment differences on debit side
    Hope it clears your doubt.
    Regards
    A.Saravanan.

  • FSCM: Biller Direct using Dispute Management

    Hi,
    I've implemented SAP Biller Direct and I want to use the dispute management to create dispute cases directly from the webportal.
    Dispute Management is activated. Its already possible to create cases in the backend (and to modify these cases on the frontend), but if I try to create a new case directly on the frontend, I get the following message:
    "This service isn't available at the moment."
    I dont know what to do. The biller direct integration in the Dispute Management is definitely activated. Customizing is done as well.
    Any ideas?
    Regards
    Rainer

    Hi,
    have you activated all of the user id settings for Biller Direct? (XCM)
    where are the 'user id settings' ? I've configured the userinterface, connectionmanager and application settings.
    can you make any changes from Biller Direct to ERP?
    - Yes, I can change the administrative data (integrated with accounts receivable).
    - I can pay bills. Marked as 'arranged by Biller Direct' in the ERP. How can I post them, or is it done automatically?
    What version of ERP are you using 6.0 or an older version?
    Right, I'm using ECC 6.0.
    Have you got your BASIS / PORTAL guys to check the connections that everything is open? (JCO's)
    The connection works.

  • Hi.. FI dispute management

    hi..
    i am an Abaper, i wnt get basic concept knowledge on dispute management and credit memo
    can any one provide me the material on ths
    Thanks in advance

    Hi,
    Credit Memo:Assume a company sells an article for $500.The customer points out some defect;so the company agrees to waive $ 100 from the bill.This money [$ 100] is technically a credit to the customer.
    The company sends a letter informing the deduction of $ 100 from the bill;this letter [ normally this will be in some standard form] is called the credit memo.This is a memo which authorises the customer to pay a reduced amount as mentioned in the Memo.
    Dispute Management:Disputes are common in a business environment.The dispute could be 1] due to unlawful deduction of bill by the customer;2] Due to delay in the execution of a work;3] due to bad quality and  so on.The Disputes management is about solutions in the above [disputed] areas.
    In SAP the "dispute Management" is a functionality which acts as an add-on to the AR functionality.Here all the possible dispute scenerios has been visualised and solutions addressed.
    hope this helps.
    Regards,
    Ramesh

  • Is there a way to hide some reason codes in dispute management without deleting?

    Within SAP Dispute management (UDM_DISPUTE) we would like to remove some of the available reason codes in the drop down on the search screen and available to assign drop down, but not physically delete them.  Is there a way to do this? 
    I know if I physically delete them out of the Reason code list (SPRO -> FSCM -> dispute management -> Dispute Case Processing -> Case types -> Create Values for Attribute "Reason") then if an old dispute case that used that reason code is displayed, the four digit number code will be displayed rather than the description.  So we would prefer to not physically delete the code / description from the reason codes but somehow make them non-display, or inactive. 
    Any thoughts on this?

    Hello Stephen,
    you may consider the functionality "personal list", putting all valid reason codes in and leaving out those you do not want to show. Maybe your Authorisation / Security Team can also help you performing this exercise for all affected users at once.
    Regards,
    Christoph

  • Problem in adding Custom Provider for Work Management Service

    Hello,
    I'm facing an issue in adding custom provider for work management service. As you are aware, Work management service is a Provider model and we
    can integrate with other systems by adding custom providers. So with that confidence, i have started writing a connector as mentioned below.
    Step - 1: Added new provider xml in the below path
    "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG\WorkManagementService\Providers"
    Provider Name: provider.bizagitasklist
    Provider XML Content: 
    <Provider ProviderKey="DAA52AF3-A147-4086-8C0C-82D2F83A089D" OverrideProviderKey="" Assembly="adidas.TaskProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5d6f3e6be60a351b" > </Provider>
    Step -2: Added a class which inherits "IWmaTaskProvider" and implemented the override methods.
    public class BizAgiTaskListProvider : IWmaTaskProvider
    public string LocalizedProviderName
    get { return "BizAgiTaskListProvider"; }
    public string ProviderName
    get { return "BizAgiTaskListProvider"; }
    public Microsoft.Office.Server.WorkManagement.CalloutInfo GetCalloutInfo(IWmaTaskContext context, string taskExternalKey, string locationExternalKey)
    return null;
    public DashboardExtensionInfo GetDashboardExtensionInfo(IWmaBasicProviderContext context)
    return new DashboardExtensionInfo { ClassName = "SP.UI.SharePointExtension" };
    public BulkEditResult HandleBulkEdits(IWmaTaskContext context, BulkEdit updates)
    return null;
    public TaskEditResult HandleTaskEdit(IWmaTaskContext context, BaseAggregatorToProviderTaskUpdate taskUpdate)
    return null;
    public void RefreshSingleTask(IWmaTaskRefreshContext context, string externalKey)
    public void RefreshTasks(IWmaTaskRefreshContext context)
    //context.WriteProviderCustomData(
    Step – 3: Written a class to fetch the tasks from BizAgi System which has method to provide the task data.
    But I’m not able to feed those tasks in the class written in Step – 2 as I’m able to find any method which will take Tasks as Input and I’m not
    sure about the format of tasks.
    I’m able to debug the provider, and the breakpoint hitting in only one method and two properties.
    (LocalizedProviderName, ProviderName, GetDashboardExtensionInfo).
    Can you please help me to proceed further in implementing the above solution?
    Best Regards
    Mahesh

    Hi Mahesh,
    Although the implementation of work management service application is based on the provider model, I reckon the current SP 2013 RTM does not support custom providers. Only SharePoint task lists, Project server and MS Exchange are supported for now.
    Regards,
    Yatin

  • FSCM SAP 5.0 Dispute Management-record and case model-dispute cas model.xml

    Hello,
    I am using the W21: Dipsute Management Building Block Configuration Guide.doc
    At the first step, creating a case record model, the configuration guide refers to a file:
    6.     In the toolbar of the Modeler in the upper middle section select Model >> Load local file and open the file - dispute case model.xml -.
    I do not have this file available, does anyone have any idea how to resolve this?
    -     How can I obtain this file
    -     Is this file necessary, to create a case record model
    Thanks for your help.
    Kind regards,
    Santiago

    Hi Santiago,
    This was tricky for me too.  Execute tran UDM_DISPUTE.  Change your RMS ID (left side, middle box, icon with two overlapping squares) to UDM_DISPUTE. In the same box, expand Record and Case Record Models.  Double click on Modeler for Case Records in Dispute Management.  This brings up a search box.  Click on execute Search. Double click on the Dispute Management entry in the lower box.  This gives you the standard model.  You can download this, using the Other Model Functions.
    Then change to your custom RMS ID (ex. ZUDM_DISPUTE).  Expand Record and Case Record Models.  Right click on Modeler for Case Records in Dispute Management and select Create.  Then upload the standard model into your RMS.  Then you can customize the model as you wish.  Hope that helps! 
    Beth

Maybe you are looking for