Plant substitution issue:

Hi All,
We are using RBATP rule for ATP check for some plants.
We have an order for X material at plant AB for 100 Qty. AB plant not have the stock, where as DC having it. In production system when i enter the above order it is not flipping to DC plant. This is not a regular issue, but coming once in 2 or 3 months..
Recently we have copied Production to our test system, where we do not face the issue.. really a weird scenario.
Any body have any clue !
Venkat Cheedalla

Dear Raj,
Thanks for your early reply,
As per standard behavior of system, in my case plant should be determine from customer master, but it is picking from material master.
why system giving preference to material master instead of customer master?
Is there any settings to change the priority to determine plant in to sales documents.
Thanking you,
Sudheer.U

Similar Messages

  • Substitution issue

    Hi all,
    I have a new requirement to fix a substitution issue. Here's the scenario:
    There's a substitution in place to derive the Location of a FI document from either the Cost Center or an Order, both in the Coding Block screen of FB01 or FB50. At the time of the document creation, the user can also manually enter the Location, overwriting the derived one.
    The issue now is - if the user comes back to this coding block screen after manually entering the Location and decides to change the cost center or the order, the substitution kicks in again and replaces the manual entry.
    Any thoughts on how to prevent this? I cannot ask the developer to check if the Location is already populated before deriving the value otherwise I won't be able to change its value if I initially enter one Order and then decide to use another one.
    Hope I made myself clear!
    Thanks!

    Hi
    If the user change Cost Center or Order, your substitution should check if the actual value of Location is equal to derived value from old Cost Center/Order:
    If it's equal than the subistitution should be triggered again else it can leave the current location (because it can suppose the user doesn't change it manually)
    Max

  • VO Substitution Issue

    Hi,
    I have substituted a VO in standard way and imported the substitution as necessary.
    The Original VO was created in Expert Mode and had a number of VL joining it to other VOs. The only change I have done is to add a new view attribute. For this I extended the seeded VO, pasted the original query and added a new column in the query.
    Now this VO is used to generate data for xml publisher report. After Substitution, the report does not even show the values of original VO.
    I dont have a page to see errors or queries. So my issue is how to debug what is going on?
    I have seen that site level personalization is in place for VO substiution. Please help me out with suggestions
    Thanks,
    Husain

    The issue I faced was resolved.
    Like I mentioned the VO is used to generate an xml that is later used as data in xml publisher report. The xml is generated using procedure hraderVO.writeXML().
    <HeaderVo>
    <HeaderVoRow>
    <Attribute1>data</Attribute1>
    </HeaderVoRow>
    </HeaderVo>
    Now if we substitute the HeaderVO with say XXHeaderVO then the xml generated is
    <XXHeaderVo>
    <XXHeaderVoRow>
    <Attribute1>data</Attribute1>
    </XXHeaderVoRow>
    </XXHeaderVo>
    Due to this the xml publisher template tries to find the tags <HeaderVO> and cannot find it. So the solution is to change the template variables to <XXHeaderVO>. After this change all my custom data are coming correctly.
    Regards,
    Husain

  • Plant replication issue in SRM

    Hi Experts,
    We  replicated around 70 plants from ECC to SRM.Each plant coressponds to unique company code only.
    The only similarity in all the plants is the adress details.
    After replication,faced the red error for about 5 plants out of the 70 stating "Location Already Exists, Partner: 00100025XX Plant: 1090 System: DE1XXXXXXX The Plant is a Duplicate in the same System Plant: 36XX".
    I maintained the Search term field in the adress details of those 5 plants and then replicated them from ECC to SRM.Those 5 plants got replicated succesfully.This was in Development environment.
    In quality system when i try to replicate the plants,am facing the same red error for 50 out of the 70 plants.
    I have checked in table BBP_LOCMAP and i find no entries related to plants which are said to be duplicate.
    Please advise.
    Thanks in advance
    Supriya

    Hello,
    Please find all of the information on plant replication and maintenance
    below.
    Firstly, see the note:
    563180 Locations - Replication of R/3 plants
    1. BBP_LOCATIONS_GET_ALL should be run once in your system.
    This cannot be scheduled as a report.
    2. For further replication of plants, please use
    BBP_LOCATIONS_GET_SELECTED.
    3. The reason for the error BBP_LOCATION004 is due to duplicate
    address data for plants. The system will check all address fields and
    look for duplicates, if any are found the system will issue this
    message and the plant will not be replicated.
    4. Once replicated plant address data etc should be maintained using
    the browser transaction 'Manage Business Partners' BBPMAININT.
    Please set this transaction up as a browser transaction
    for the SRM admin user.
    5. Plants can also be created in SRM using this transaction BBPMAININT.
    The can be assigned to R/3 plants.
    See note 563108:
    "You can also create individual locations via the Web transaction
    'Managing Business Partners' and assign them to an R/3 plant."
    Hope this information clarifies your issue.
    Kind Regards,
    Edel.

  • Profit Center Substitution issue in FI Invoice/JE

    Hi,
    I have one question and just wanted to check if you can help:
    We want to have All types of expense postings - e.g. journal entries etc.with cost object like WBS, cost center should be posted with PC from the SKU master and not from the cost object.  The PC should be over written by SKU Master PC. What happens is that it takes the PC from Cost object and when we created substitution to overwrite the PC from SKU, at the time of simulation it takes from substitution but as soon as we post it again defauts it from the cost object and we get the message type KI339 which says that PC is overridden.
    user exit:
    Prerequisite Title Posting:
    BKPF-BUKRS =5318 AND
    BSEG-MATNR <> '' AND
    BSEG-HKONT is expense account (within range)
    Substitute User Exit:
    Plant = 3047
    The Profit Center should be MARC- PRCTR where BSEG-MATNR = MARC-MATNR
    Thanks
    Venkat

    Hi Venkat ,
    Please refer below notes which has some important information on the substitutions and its usage
    409520   Goods/invoice receipt: Default account assignment ignored
    105024   Automatic a/c assignment (OKB9) does not work
    32654    High level automatic account assignment

  • Receiving plant - goods issue

    hi
    can someone tell any function module that gives me receiving plant # for goods issue that is already posted?
    I will reward point
    Thanks
    Nash.

    Hi Nash,
    Check LIPS-UMWRK field,some times it may be blank.
    Else Try WERKS in EKPO table with values from LIPS as given below
    LIPS-VGBEL = EKPO-EBELN
    LIPS-VGPOS = EKPO-POSNR
    regards
    Avi...

  • Veriable substitution issue in multimapping

    Hi Experts,
    I am working on the requirement where i need to create multiple flat files using multimapping for this. I am working on SAP PI 7.31 SP07, using SFTP adapter and messagetransformbean to create flat files.
    I am going for the variable substitution option as i want file name should be dynamic.(considering limitation of ASMA and dynamic configuration in
    multimapping)
    Getting the error "The variable substitution cannot be parse the message xml: Content is not allowed in prolog"
    Variable name- var1 reference- payload:NotificationAttachments,1,DocumentDetails,1,IncidentNumber,1
    Output struture-
    NotificationAttachments(1)
         ->DocumentDetails(0-n)
                   ->IncidentNumber(1)
                   ->DocNumber(1)
                   ->DocDescription(1)
                   ->Path(1)
    Please note one file can have multiple DocumentDetails.
    When i use reference for header data i.e. message:interface_name this works fine, but i want ot use IncidentNumber in file name from the payload.
    Can some one tell me is there something wrong on configuration, or there is some limitation here.
    Appreciate quick help.
    Thanks,
    Sandip

    Hello,
    May be u can check ur xpath? BTW, few days back i have seen a similar thread hope it's not somekind of bug (will cross check the same once i reach office)
    Variable Substitution in Receiver File Channel. PI 7.3
    Thanks
    Amit Srivastava

  • Variable substitution issue

    Hi all,
    I've a select against a view (V_XXX) which performs drammaticaly different if run in this two ways:
    SQL> SELECT COUNT(*) FROM METOD.V_XXX
    2 WHERE MATRICOLA LIKE '%'||LTRIM('310491A')||'%';
    --> 50 msecs.
    SQL> VARIABLE var VARCHAR2(10);
    SQL> EXECUTE :var:='310491A';
    SQL> SELECT COUNT(*) FROM METOD.V_XXX
    2 WHERE MATRICOLA LIKE '%'||LTRIM(:var)||'%';
    --> 17516 msecs.
    Explain plain shows that in second case all the joins present inside the wiev are parsed by oracle...whilst it doesn't happen using the direct select.
    Thanks a lot for help...
    Marco

    Optimizer is cost based...
    In any case the issue seems to be linked to the presence of db_links.
    The issue happens when my select runs against a view (on my 'local' instance) built against three synonyms, all of them are created against remote db objects through db_links.
    Building the same view directly inside the remote db and creating a synonym (with a db_link) on my istance, my select has the same performance using a constant or a variable in the where clause (so no issue!).
    If someone can explain, what is happening...
    Thanks, Marco

  • Font substitution issues when creating PDF from PS file in Distiller

    I am not sure if this post should go under Distiller Server, but it dont know if there is a difference between Distiller X and Distiller Server.
    Context: I am trying to convert postscript files on my PC that originate from a unique Mac built program and unfortunately receive the following error message:
    %%[ Warning: Helvetica not found, using Font Substitution. Font cannot be embedded. ]%%
    %%[ Warning: Helvetica-Bold not found, using Font Substitution. Font cannot be embedded. ]%%
    %%[ Warning: Helvetica-BoldOblique not found, using Font Substitution. Font cannot be embedded. ]%%
    When I try and convert the postscript font to a pdf in Acrobat Distiller X the font substitutes to Arial. I have a few versions of Helvetica on my PC but Distiller doesn’t recognise them.
    My question is: how can I tell Distiller, as a default, to substitute to the Helvetica loaded on my PC rather than Arial so that I eliminate the error message and get an accurate pdf.
    Any help would be greatly appreciated.
    Thanks.

    You can set the folders in distiller by going to Settings.  See these two pictures (click on them)
    hope this helps.

  • VO substitution Issue when any person is associated to the userId.

    We have done a customization to a seeded table by adding new columns. But it throws an exception "Invalid Column Index" in the scenarios mentioned below:
    1. When any person is associated with the user.
    2. When the view type is filtered with any 'Project Manager' to get the list of projects.
    Rest in all cases its working fine. If any of you had faced similar issue, please share your inputs. Its very urgent.
    thanks,
    Danish

    We have done a customization to a seeded table by adding new columns. But it throws an exception "Invalid Column Index" in the scenarios .
    "table" is it database table or OAF classic/adv table region?
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to prevent plant locking issue while calling a BAPI? Please help!

    Hi Experts,
       I have following scenario:
       BizTalk sends 4B2 PIP to XI via JMS adapter. XI then sends the same to ECC system via ABAP Proxy.
       4B2 PIP in our case contains one PO header and one line item.
       In ECC, ABAP proxy calls BAPI to process the GR (Goods Receipt).
       The problem is BizTalk can send many 4B2 PIPs simultaneously (Parallel). When The first PIP is getting processed in ECC the BAPI locks some plant data till it completes the GR. But if second PIP request comes when the first once is still getting processed then we get "plant is locked" error.
       How can we avoid this plant locking error? What is the best option to solve this?
      While calling BAPI in my ECC ABAP Proxy if I use qRFC as given by the code below then will it solve the problem?
      Will this use only one queue "QUEUE01" for all the 4B2 PIP requests?
      Will it create a new queue for every request?
      If we assume that there are 3 PIP requests already in a queue. If the GR processing for the first PIP returns some data error (not the locking error) in the BAPIRETURN then will the second PIP gets processed or will it wait till the first one is successfully processed?
       CALL FUNCTION 'TRFC_SET_QUEUE_NAME'
          IMPORTING
             QNAME = 'QUEUE01'.
      CALL FUNCTION '<CREATE GR BAPI>'
      IN BACKGROUND TASK
      EXPORTING
         TABLES ....
      COMMIT WORK.
    Thanks & Regards
    Gopal

    Man, you guys/gals are great! You notice everything...I sure appreciate all the help so far. I've updated a few things, but I still can't get x1 in the method to pass the right input to line 39. For instance, if I set a=2, b=4, and c=-30, then x1 should = 3 and x2 should =-5, but both keep showing -5. They are always equal for some reason, even when they are not supposed to be.
    I see what you were saying with d always equalling zero. I was looking in the main where it doesn't always = zero, but in the method it was always set to zero. Thanks...good eye!
    num1 = quad(a, b, c, 1);                              //line 39
    num2 = quad(a, b, c, 2);                              //line 40
    JOptionPane.showMessageDialog(null, "There are two real roots. They are root 1 = "+ num1 + " , and root 2 = " + num2 + ".");I also added this to the method so d won't always = zero
    d = (Math.pow(b,2) - (4 * a * c));I also have all of the variables declared at the top, but I forgot to copy and paste all of them and I updated the System.exit(0) to close the JOptionPane along with extra } 's to close the program correctly.
    Again, thanks a bunch.

  • Plant Maintenance_Goods Issue to Maintenance Order

    Dear Experts,
    Can you please suggest me how to map the following process in SAP PM.
    1.     Mostly Engineers assigned to Maintenance raises MRN (Material Requisition Note) to Engineering Warehouse.
    2.     Damage Items are returned as engineering scrap.
    3.     Based on MRN, spare parts are issued. ( For high value item over 65,000 INR , General Manger/Director Technical approval is required)
    Thanks&Regards;
    TRB

    Hi,
         Please check the below :
    Approval of orders based on permits.....
    "This method is used to automatically assign permits to MO based on maintenance activity types/planned cost of orders/actual cost of orders/estimated cost of orders....."
    1.create ct04characteristicand maintain values or value ranges 10k-20k,30k-to40k of some range if your going to call permits on planning cost here in additional tab mention the tableCSEVPERMIT & any field names
    ILART-Maintenance activity type
    PKOSTEN for planning cost
    USER4 for estimated cost
    IKOSTEN for actual cost.
    In Addtional data tab : Select Not ready for Input option .
    2.Create permit class and put the charc in permit class and for class type 049 maintain classification status in IMG.[Cross application components--> classification system->classes---->maintain object types and object keys(here plz read the note and maintain status for class type 049).
    3.Create permits using IPMD and put category , order status and goto classification and maintain permit class and select particular charc value for that permit.
    By the above process respective permits assume that you have given based on planned cost of the order get automatically assigned to the order,now you can maintain authorisation for the permit.Use eqpts which dont have permits and try this method......
    Hope this might have met you requirement.
    regards
    pushpa

  • Plant Attribute issue

    Hi all,
    i got the below issue,,
    DataSource 0PLANT_ATTR does not have the same status as the source system in the Business Information Warehouse.
    The time stamp in the source system is 03/10/2011 03:10:12.
    The time stamp in the BW system is 11/08/2009 23:39:40.
    can anyone give soultion what to do now..
    Thanks in advance
    Regards,
    Naresh

    Hi Naresh
    Try replicating datasource and once datasource changes are available in BW if you want to load new attribute values you need to change your transformation to extract the same.
    if you still continue to face this problem you can right click on datasource->display datasource in source system
    then login to ECC system from login prompt you get and then come back one step.
    in this process system automatically checks datasource and in case of incosistency does necessary changes.
    Hope this helps.
    Regards
    Sudeep

  • Profit Center Substitution issue in MIRO Invoice

    Hi Folks,
    I am trying to post MIRO invoice with reference to PO with following steps and the Profit center is taken from the cost object and it is NOT taken from the Material Master.
    1. Create Account Assigned PO with Account Assignment as K (Cost Center) and also I have given Material Number in it.
    2. The Cost Center has Profit Center 200051 and the Material Number has Profit Center 200077.
    3. We have made a User exit to pass the PRCTR from MARC to BSEG-PRCTR.
    4. Created substitution in GGB1 for the Userexit for a particular company code.
    When MIRO is posted the PC is taken from Cost Center(200051) and NOT from Material Master(200077).  We want system to pick up the PC from Material Master and not from Cost center.
    Is there any way to achieve this?
    Thanks in advance
    Venkat

    Hi Venkat ,
    Please refer below notes which has some important information on the substitutions and its usage
    409520   Goods/invoice receipt: Default account assignment ignored
    105024   Automatic a/c assignment (OKB9) does not work
    32654    High level automatic account assignment

  • Arabic Text - Font Substitution Issue - Urgent.

    Hi,
    We are using After Effects to create some Arabic Subtitles, we are using the Arabic Text script to make the arabic text to be written correctly (all joined up, flowing from Right to Left).
    We need to use a client's custom Arabic font on the project, and this font is being used correctly on most of the text, but on odd characters After Effects defaults the characters back to the "Adobe Arabic" font. If we try and select these characters and change the font back to the one we need to, as soon as I click enter, it substitutes the font back to Adobe Arabic.
    Is there a way to stop this?
    Thanks,

    Think I've narrowed down the problem a bit, After Effects can read the characters correctly, e.g:
    If I copy and paste the text in to after effects, the characters appear, but the flow of text is incorrect, and the arabic characters are not connected how they should be.
    To amend this, if i put the text through the Arabic Text script V2.0 from AE Scripts, the flow of text is corrected, but some of the characters are then substituted back to Adobe Arabic, and it is impossible to change them back to the font we need.
    I think the problem lies within the arabic text script!

Maybe you are looking for

  • Oracle Clinical - install.sh not working - says not found or Java runtime error.

    install.sh not working - need help Hi all, OS Solaris 8. Sun Sparc 20 - 256 MB 9.1 GB. I am using csh for this install as instructed for the user OPAPPS. I have installed Oracle 8.1.6 Rel 2 on the SUN Sparc. Everything is fine and a customised DB has

  • Query executing taking time

    Hi All, I am using jdev 11.1.2.0 I am having a VO and VC. when i am executing View criteria .There is no error in it. That query is executing within seconds in TOAD.But in application it is taking lot of time. And after some time web logic got crashe

  • Role of graphics card, processors and ram in conversions?

    Does anyone know what role if any a computers graphics card, processing power and ram has in the quality of conversions? I don't mean cases where a computer is unable to run a program (or handle a conversion in a reasonable time period). I mean will

  • Site-to-Site VPN Tunnel fails after upgrade 8.3(2) to 8.4(4)

    Hello Team Cisco, I upgraded an ASA 5505 from 8.3(2) to 8.4(4) this evening.  The 5505 is a backup and used to perform testing prior to production changes. After the upgrade was complete, a VPN tunnel began to fail.  I did a limited search online to

  • Write characters to file gives a file not found error

    It appears that it generates the error at the open file sub vi, but I have no problem with write to spreadsheet file which uses the same sub vi. Jim LV 2013