Status distribution incorrect in GOA

Hi,
i've created a shopping cart, then bid invitation followed by Bid submission to bid acceptance. Then i created a contract from this bid response successfully. But the problem is when i distribute this contract to R/3, distribution fail with status "Distribution incorrect" I don't understand the missing link. Am using SRM server 5.5 (SRM 5.0) with ECC 6.0.
Kind Regards,
Maggie

Hi Goithoma,
I faced exactly same problem and coded a BADI to solve this issue.
Actually Condition type in SRM and ERP is different and that is the reason for this.
BADI Name: bbp_ctr_be_create
Sample Code is
METHOD if_ex_bbp_ctr_be_create~contract_interface_fill.
  TYPES : BEGIN OF ls_mapping,
  cond_type_old TYPE kscha,
  cond_type_new TYPE kscha,
  END OF ls_mapping.
  DATA : lw_ct_be_text TYPE bbps_ctr_text.
  DATA: ls_be_items TYPE bbps_ctr_item,
  ls_be_cnd_ct TYPE bbpbapicondct,
  ls_cnd_hd TYPE bbpbapicondhd,
  ls_cnd_it TYPE bbpbapicondit,
  ls_cnd_qs TYPE bbpbapicondqs,
  ls_cnd_vs TYPE bbpbapicondvs,
  ls_mapping TYPE ls_mapping,
  lt_mapping TYPE TABLE OF ls_mapping,
  lv_tabix_ct TYPE sy-tabix,
  lv_tabix_hd TYPE sy-tabix,
  lv_tabix_it TYPE sy-tabix.
Condition Type mapping from SRM to ERP system.
  ls_mapping-cond_type_old = '01CT'.
  ls_mapping-cond_type_new = 'PB00'.
  APPEND ls_mapping TO lt_mapping.
  ls_mapping-cond_type_old = '01RA'.
  ls_mapping-cond_type_new = 'RB00'.
  APPEND ls_mapping TO lt_mapping.
  ls_mapping-cond_type_old = '01RH'.
  ls_mapping-cond_type_new = 'RA01'.
  APPEND ls_mapping TO lt_mapping.
  ls_mapping-cond_type_old = '01RP'.
  ls_mapping-cond_type_new = 'RA00'.
  APPEND ls_mapping TO lt_mapping.
go through all service items (product_type 01 = normal material,
product_type 02 = service)
  LOOP AT ct_be_items INTO ls_be_items.
additional loop on local condition table if product_type = 02
if 02 --> change SRM condition 01CT to PRS
only valid with services !
    IF ls_be_items-product_type = 02.
      LOOP AT lt_mapping INTO ls_mapping
        WHERE cond_type_old = '01CT'.
        ls_mapping-cond_type_new = 'PRS'.
        MODIFY lt_mapping FROM ls_mapping.
      ENDLOOP.
    ENDIF.
    LOOP AT ct_be_cnd_ct INTO ls_be_cnd_ct.
      lv_tabix_ct = sy-tabix.
      LOOP AT lt_mapping INTO ls_mapping
        WHERE cond_type_old = ls_be_cnd_ct-cond_type.
        CLEAR ls_be_cnd_ct-cond_type.
        MOVE ls_mapping-cond_type_new TO ls_be_cnd_ct-cond_type.
      ENDLOOP.
      MODIFY ct_be_cnd_ct FROM ls_be_cnd_ct.
    ENDLOOP.
    LOOP AT ct_be_cnd_hd INTO ls_cnd_hd.
      LOOP AT lt_mapping INTO ls_mapping
      WHERE cond_type_old = ls_cnd_hd-cond_type.
        CLEAR ls_cnd_hd-cond_type.
        MOVE ls_mapping-cond_type_new TO ls_cnd_hd-cond_type.
        MODIFY ct_be_cnd_hd FROM ls_cnd_hd.
      ENDLOOP.
    ENDLOOP.
    LOOP AT ct_be_cnd_it INTO ls_cnd_it.
      LOOP AT lt_mapping INTO ls_mapping
          WHERE cond_type_old = ls_cnd_it-cond_type.
        CLEAR ls_cnd_it-cond_type.
        MOVE ls_mapping-cond_type_new TO ls_cnd_it-cond_type.
        MODIFY ct_be_cnd_it FROM ls_cnd_it.
      ENDLOOP.
    ENDLOOP.
  ENDLOOP.
ENDMETHOD.
Regards,Nishant
Please reward points if this helps.

Similar Messages

  • Distribution Incorrect for GOA

    HI:
       I created a GOA in SRM and  need it to be distributed to R/3. but there is nothing exist in R/3.I checked the status of this GOA.the status says 'Distribution Incorrect ' and there is a message occurs in the monitor,that is "Could not determine backend system for contract".
          I have checked all configuration both in SRM and R/3 .It seems that everything is OK.I am just wondering do I need to specify backend system for GOA somewhere in SRM? If it is ,please kindly tell me where.tks.
    Message was edited by:
            hong pan

    Hi
    <b>Please go through the following SAP OSS Notes -></b>
    Note 550071 FAQ: EBP - Shopping Cart
    Note 893493 Improvements in the data mgmt of the ICH purchase order
    Note 763980 ECS: Reading values from the R/3 Logistics back end
    Note 604420 Composite SAP note SRM 3.0 SP1 group
    Note 376348 Contrct documentatn:Changes for EnterpriseBuyer 2.0
    Do let me know.
    Regards
    - Atul

  • SRM GoA with status as "Distribution Incorrect" althogh contract is created in ERP

    Dear SRMers,
    We are using the classic scenario with SRM 7.0.2.
    I am facing a problem with Global out line agreements in SRM where the status of the GoA is showing as: "Distribution incorrect".
    We have verified that the respective IDOC of type BLAORD is generated and posted in the backend R/3 system and the respective Contract is also created in the R/3 system(ME33K).
    Can you advise me why this wrong status and can we correct this status to: "Distributed"
    or Is it a standard product error?
    Looking for your valuable advise.
    Thanks in advance.
    -Loknath

    Hi Loknath,
    Try to check transaction RZ20. It should show the real errors behind the "distribution incorrect status".
    I hope this helps,
    Marta

  • Status : 51- Incorrect function module IDOC_INPUT_MATMAS01 called up

    Hello,
    File - IDOC
    in MONI, checkered flag is shown up and when I go the R3 server, WE05, I get error message
    Status : 51
    Incorrect function module IDOC_INPUT_MATMAS01 called up
    I am using MATMAS04 without extension and updated the same in WE57. also checked in WE42 (MATM)
    now, how do I proceed furthur related the above error message?
    Regards,
    Nikhil.

    can very much
    check your partner profiles PROPERLY. If u have the same IDoc type in 2 different partner profiles, check the 2nd one for it's process code. Isn't it the one, which is called after your Idoc is received? Processing code in partner profile is not based only on Idoc Type, but also on Message Type, Message Code and Extension. If the 2nd profile contains the process code, which is called, then check your incoming idoc for header values. May be this is causing your problem.
    Peter

  • Sales order cannot be rejected -problem log status item status is incorrect

    Hi,
    I need to reject this particular sales order, but when i try to reject it says to check the problem log which states that the item status is incorrect. It says subsequent documents exists for some lines even though no documenst are attached.
    There were a delivery attached to this order earlier but that has been archived. I ran repors SDVBUK00 etc but nothin seem to sort this issue..
    I just need to reject the whole sales order. does anyone know any reports or somethin to rectify this issue.
    Thanks
    Keshini

    Dear Keshini,
    Could you please update with the process of Delivery Document Archieved?
    I mean, had you reversed the delivery (T. Code: VL09) and then deleted the items from reversed Delivery Doc (T. Code: VL02N), before deleteing the Delivery Doc?
    Was there any subsequent document for Delivery Doc.?
    Best Regards,
    Amit
    Note: Also, check with Copy-Control settings for Order-to-Delivery (T. Code: VTLA)
    1. Field: Update Document Flow is marked ticked at
    Item (Dialog Structure) --> Item Category --> Control data
    2. Field: Pos./neg. quantity with entry "+"

  • Process chain status shows incorrect status

    When ever i receive bad data requests from R/3, BW pulls the error requests into a separate PSA and pass-thru the good once in another PSA and then into datatarget.
    However the overall status is green for the job/package and the package when executed in ProcessChain does not show an errors. But the errors are not noticed until user notices it in the qyuery.
    How to capture such errors and notified, is their any automation possible? I have setup e-mail on process chain failures but these kind of errors are not captured because the overall status of request is GREEN.
    Here is the status on infopackage.
    Incorrect data records - error requests (total status GREEN)
    Diagnosis
    Data records were recognized as incorrect.
    System response
    The valid records were updated in the data target and can be used in reporting.
    The incorrect records were not written to the data target, but were posted retractively under a new request number in the PSA.
    Procedure
    Check the data in the error requests, correct the errors, and post the error requests.

    Hi Gopikrishna,
    Please check if "Error Handling" in the Update Tab of your Infopackage has been enabled, I guess it is.
    If this has been enabled , then the error recs will be isolated and only the Correct records will be posted into the Data Target. It is the responsibility of the BW Administrator to identify such errored records, correct them and Post it back to the DAta target. Because error handling is used, the Monitor will show Green, as all the error recs have been separated.
    To avoid this, you have to remove Error Handling from the INfopackage, then you will see the Load failing and the Process Step in the process chain would turn RED with the corresponding error messages.
    Regards,
    Praveen.

  • Update status is incorrect

    When I run update status reports, some computers show "not needed" for an update that is clearly needed. For instance, if I run a compliance report and look for the status of KB2775511, I get a lot of computers showing "Update is not required"
    - however, these computers don't have KB2775511 installed, and clearly need it.
    In fact, each client believes it needs the update because it's listed as "Missing" when I check the CCM_UpdateStatus WMI class at "root/ccm/SoftwareUpdates/UpdatesStore". Furthermore, if I deploy the update via SCCM to one of these computers,
    the computer recognizes it needs the update and installs it. So it seems that the report (or wherever the reports gets its information) is what's at fault here.
    The other odd thing I notice about the report is that the computers with incorrect statuses have very recent dates for "Last State Received", and no date for "Last State Change". This is different from computers that are correctly
    reporting their status, which have values for both, typically with older dates.
    Any idea why my reports are incorrect?
    Eric Hodges

    Hi,
    Have you checked the following log files:
    StateMessage.log(Client)
    It records details about software updates state messages that are created and sent to the management point.
    MP_Relay.log(Site system server)
    It records the transfer of files that are collected from the client.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • System Status- Site Status- Distribution Points Missing

    Quick question,
    I seem to be missing some DP's from Site Status, if a DP is installed and running, I'm presuming that it should appear in the Monitoring\system Status\Site Status workspace....only I have some DP's that don't appear, what would cause this?
    many thanks

    They should show-up there eventually. Did you check the Distribution Point Configuration Status
    node to see if the distribution points are up-and-running already?
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Work Status Saved Incorrectly

    In SAP Note 1941785 say that's in BPC 10 MS in previous version respect to SP 12 Work Status Are Saved Incorrectly in sql tables.
    What does it means? Have You Had Issue With Work Status in BPC 10 MS ?
    Thanks
    Samuele

    Anybody has problem with work status ?
    Thanks
    Samuele

  • CONTRACT DISTRIBUTION CCTR Vs GOA

    Hi All
    Learnt that SAP has some improvement on DISTRIBUTION for CCTR contract ? Can any one explain how it is Indeed helps compare to GOA.
    In GOA --> in the Header it self we go to distribute Porg, plant , Doc Type and Release value.
    How new enhanced  CCTR Contract Distribution works. I believe seperate folder for DISTRIBUTION in CCTR.
    what steps needs to be followed on simple and comlex distribution?.
    Muthu

    Hi Muthu,
    From what i know, CCTR can be referenced and used both in SRM and ECC, wheras, GOA can be used IN ECC only (after it is created and distributed from SRM).
    Pricing would be controlled from SRM.
    You need to activate Business Function, set the appropriate doc types and condition types in ECC.
    CCTR Distribution / qty usage updates works using PI while GOA uses IDOCs.
    Additional fields for say CCTR number / item number appear in ECC after Business function activation. You also need to add the workflow user in the Org structure (Local POrg/Pgrp).
    Not sure on the Simple and Complex scenarios though.
    Cheers - Akash

  • EPICS alarm status is incorrect

    I am using LV2010SP1 with the DSC module and EPICS Server/Client. I have used EPICS in DSC before, but only for passing values. Now I am interested in alarms and alarm status and I am getting strange results. I have attached a zip file with  a project that illustrates the problem. The server publishes a single integer, and in DSC I enabled alarms with the default thresholds: below 10 is LOLO, 10-25 is LOW, 25-75 is NO_ALARM, 75-90 is HIGH and above 90 is HIHI. When I run the server and look at the values of the shared variable and the EPICS Server variable using Distributed Server Manager then everything looks good. On the client side, though, the alarm status readings are messed up. The status changes at the correct levels, but the status reads wrong. LOLO shows up as STATE, LOW shows up as COS, HIGH shows up as LOW and HIHI shows up as LOLO! STATE and COS are not even legitimate options for status. Here is a screen shot of the Distributed System Manager display. Has anyone else encountered this problem? I have tried Int16 and Int32 with the same results. I will try DBL next, but eventually I need this to work for integers.
    Rich
    Attachments:
    EPICS Alarms.zip ‏19 KB

    Rich:
    So, it turns out that COS and STATE are valid values for the STAT field in EPICS, but they definitely don't make sense for the alarm states of the bound shared variables.
    (Brief mention of some of the STAT field values can be found on aps.anl.gov here)
    I've filed this under Corrective Action Request (CAR) #297362 with R&D. In the meantime, is it possible to use the server's STAT value (instead of the client's) as a workaround?
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

  • Status Bar Incorrect

    In mail, the status bar does not show the last time/date of update. Instead it shows the previous update time.

    I should be more specific. It is on the main "Mailboxes" page where it shows the mailboxes in the top and the accounts down below.

  • Display currency in header status ME23N incorrect

    Dear All,
    I need your advice
    I create PO, MIGO and MIRO in currency "USD".. but when I checked the status in PO header, the invoiced amount is not in USD currency but the invoiced amount is in local currency.
    How to fix it? so, the invoiced amount will be in USD currency
    Thank you,
    tweety.

    Hi
    If you want the currency to be USD then during MIRO you have to choose the currency key to USD and then proceed further.
    Hope this is clear
    Regards
    Jagadish

  • SAPDB in status STOPPED INCORRECTLY due to file system failure

    Hi community,
    we have a problem with our SAPDB server.
    The file system on which the whole database is installed disappeared form the list of filesystem mounted because of hardware problems,  the database instances crashed. Now the problem should be technically solved, the filesystem is mounted again and files should be not corrupted
    The first problem was to start the x server, If I tried to start it replied with the following error:
    en950_GetProgramExecPath failed:
    OS_ERROR  0: No system errortext for ERRNO 0
    RTE_ERROR 1: Open Registry:No such file or directoryIndepPrograms
    I resolved the problem looking at the file in directory /var/spool/sql/ini and changing the extensions of two files:
    SAP_DBTech.ini from Registry_dcom.ini.cnt01
    SAP_DBTech.ini from SAP_DBTech.ini.cnt01
    Now the x server starts correctly, but the state of the 2 SAPDB instances appears as STOPPED INCORRECTLY
    My questions:
    - Why the configuration files had that (wrong) extension ?
    - What is the correct procedure to try to start the instances in this case?
    Regards, Valerio

    > The file system on which the whole database is installed disappeared form the list of filesystem mounted because of hardware problems,  the database instances crashed. Now the problem should be technically solved, the filesystem is mounted again and files should be not corrupted
    SHOULD is the keyword of the last sentence!
    > The first problem was to start the x server, If I tried to start it replied with the following error:
    >
    >
    en950_GetProgramExecPath failed:
    > OS_ERROR  0: No system errortext for ERRNO 0
    > RTE_ERROR 1: Open Registry:No such file or directoryIndepPrograms
    >
    > I resolved the problem looking at the file in directory /var/spool/sql/ini and changing the extensions of two files:
    >
    > SAP_DBTech.ini from Registry_dcom.ini.cnt01
    > SAP_DBTech.ini from SAP_DBTech.ini.cnt01
    Hmm... one thing is for sure: the MaxDB software does not rename these files!
    > Now the x server starts correctly, but the state of the 2 SAPDB instances appears as STOPPED INCORRECTLY
    Did you had a look into the KNLDIAG files?
    > My questions:
    > - Why the configuration files had that (wrong) extension ?
    No idea? Storage/Filesystem issue?
    Bad user?
    > - What is the correct procedure to try to start the instances in this case?
    Depending on how much is broken here... reinstall the software from scratch and either re-register the instances or perform a restore and recovery of them.
    regards,
    Lars

  • Idoc - Error Status 51: Incorrect function module called up

    Hi,
    In the receiver system for the custom message type, I got this error.
    Incorrect function module called up
    Can any one pls help me to solve this one.
    Regards,
    Bala Raja

    Hi Bala,
         Check the inbound function module attached to process code in receiving system. Generally in every inbound function module first check is coded for checking message type or for checking funciton module like below.In the receiving system go to WE20 and then select the partner and select inbound message type. in that double click on assigned process code.then you have to double click on displayed FM. In that fm check first few lines. You will find this error message.
    LOOP AT IDOC_CONTRL.
        IF IDOC_CONTRL-IDOCTP(6) <> 'DESADV'.
          MESSAGE ID 'E0' TYPE 'E' NUMBER '029'
          WITH IDOC_CONTRL-IDOCTP ' ' 'IDOC_INPUT_DESADV'
          RAISING WF_ERROR_PROCESS.
        ENDIF.
      ENDLOOP.
    Thanks & Regards,
    Kalyan.

Maybe you are looking for