Automatically assign a contract to sc

Hi Experts
We are working in Classical scenario.
While creating a sc, when we click on the source of supply, we get a list 3 contracts.
All the contracts are proposed and none of them is automatically assigned.
Our requirement is that one of the these contracts should automatically get assigned as the source of supply, and when we delete this contract then we should get the list of 3 contracts to choose from.
thanks
gaurav

Hi Gaurav,
sorry, this is the  BAdI BBP_SOS_BADI_ICC and not BBP_SOS_CHECK.
Please check the function module BBP_PD_SOS_FIND. Here you can see, that the  BAdI is called twice:
- around the line 99:
*   Call BADI for customer specific search
- around the line 181:
*   Call BADI for customer specific checks
The implementation of the method BBP_SOS_CHECK should have therefore the result in the CT_FOUND_CONTRACT which can be manipulated.
Regards,
Peter

Similar Messages

  • Automatic PO from contract

    Hello!
    I want to create automatic PO (release order) from contract.
    What i want, is when I create a contract a release order to be automatically generated.
    Thank you in advance.

    Hi,
    you can get auto PO (release order) in case of MRP. For that, you need to assign the contract in the source list as a fixed source. Then all the PO s generated in MRP would get released against the contract.
    I hope, it is helpful.
    Regards,
    Ranjan

  • Customer Down Payment invoice (from delivery) not automatically assigned

    If I create a Down payment invoice from Sales Order (and I paied it) on the final invoice the sistem automatically assigne the down payment invoice on the final invoice for the order.
    If I do the same think but crerating the Down payment invoice from the delivery (and I paid it) when I create the final invoice I need to assigned it manually.
    SBO 8.81 PL 06
    I haven't found any set up for this, so I think is an error the sistem must work on the same way if the document is copied from the Sales order or delivey.
    Someone know if there is some set up? or I need to open an error message to SAP?
    Thanks

    My question is:
    If I make a sales order.
    I create a down payment invoice using copy from SO.
    I make the incomuing payment for the down payment invoice.
    I create the delivery from the SO
    I create the invoice from the delivery
    The system apply automaticaly the down payment invoice to the invoice (because I select a delivery that is linked to the so that I used to create the down payment invoice).
    If I make a sales order.
    I create the delivery from the SO
    I create a down payment invoice using copy from delivey.
    I make the incomuing payment for the down payment invoice.
    I create the invoice from the delivery
    The system DO NOT apply automaticaly the down payment invoice to the invoice (even if also this document is linked to the delivery that I use to create the down payment invoice).
    I know that I can select it manually. But I can select it manually also if I use the SO to create the down payment instead of the
    delivery. Why if the situation is the same in the firs case the system do it automatil^cally and in the second case I need to do it manually?
    Of course if I create a Down Payment invoice without selecting any document (SO, delivery..) the system don't know if you want to apply the payment to the final invoice.
    But If I select the delivey to create the down payment (the same if I select the SO): I want to apply the down payment to the final invoice of this delivery and not to another delivery.

  • Automatically Assign to user based on email

    Hi Guys
    One of our IT managers would like to be able to have service requests automatically assigned to members of his team based on emails he sends.
    At the moment we have an exchange connector set up that logs Service Requests for his team, and assigns it to the their support group. I'm trying to figure out the best way to further refine it to then assign it to a support person based on some criteria
    within the email itself. The way i figure it, I'll need to to do it via Orchestrator. 
    I'm thinking something like:
    Email generated Service Request triggers a runbook, that either pulls the email attachment out of the SR and then does (something) to resolve the AD User from the CC field and assigns it to that person. Then he can just CC the team member and it will assign
    it. The hard bit is figuring out how to resolve an AD user from a field in a *.eml file. 
    or
    He types the AD name of the user on say line 1 of the email, then orchestrator reads that line and looks up the AD user based on that. Seems easy enough but then he will need to make sure he uses either the absolutely correct spelling of their name, or type
    their SAMAccountName out. 
    By email CC field is the more user friendly option but I have no idea if that's even possible.
    Does anyone have any thoughts about how to go about this?
    Cheers

    OK so he has changed his request now after I spoke to him.
    He now wants any emailed service request to be automatically assigned to the sender.
    So basically I need to create a runbook to set the Assigned To user to be the same as the Affected User.
    Sounded easy enough, but the "assigned to" field is not present in the orchestrator update object action. I think this is now a question for the Orchestrator forum so i'll mark this off and start a new thread there.
    Thanks.

  • Automatic assignment responsible group partner function of Activities

    Hi,
    I need help on below requirement>>
    Automatic assignment responsible group partner function of Activities when status is set to u201CIncorrectly Assignedu201D.
    Thanks

    you can check with order status badi
    BR
    Radek

  • Automatic assignment of Support Team based on processor

    We have a help desk team creating Service Desk messages directly into SOLMAN (not from satellite system) using transaction NOTIF_CREATE and assigning processor. After they save the message, they open the message again in transaction CRM_DNO_MONITOR and change the Support Team manually based on the processor's Support Team. They are requesting if
    the assignment of Support Team can be done automatically based on the processor assigned during creation of message and
    when processor is changed/re-assigned after message has already been created.
    I've read some suggestions in the blogs and forums that partner determination can be done by creating your own BADI. 
    So I've created a new BADI "Z_FIND_TEAM" (copied from BADI CRM_DNO_PARTNER_1) and commented the logic which derives the support team based on the rule in transaction PFAC, and replace this with my own logic of getting the processor's Support Team. Then I assign this to the action. When I tested the action during creation of message (NOTIFCREATE), the action failed to get the support team because the CRM documents (where I'm getting the processor) is not created yet at the time that the BADI is executed.
    I  also tested the same action (but I didn't schedule it to run automatically) during changing of message (in CRM_DNO_MONITOR). The action successfully assign the correct Support Team when I already saved the new processor before choosing the action.
    But if I change the processor and do not save first before choosing the action, the support team of the old processor is assigned.
    In both cases, I need to get the value of the processor in the screen and pass this to the BADI.
    Can anyone help me how to pass the screen value of processor to the BADI.
    Or do you have other suggestions on how I can automatically assign the Suport Team based on processor.
    Thanks in Advance.
    Regards,
    Tess

    Hi Ragu.
    Thanks for your quick response.
    I've already tried assigning some standard access sequence in the support team's partner determination although the assignment of the support team always returns with the BP of the top organization unit in our org chart that's why I tried using the BADI afterwards.
    Our org chart is defined something like :
      IMS Support Team  org unit
          Help Desk  org unit
               Person 1
          Functional Team org unit
               Person 2
          Technical Team org unit 
               Person 3
    I've tried access sequence like "Organizational Data: Employee for an Org. Unit" and "Organizational Data: Organizational Unit for a User", but when I test this the support team is always defaulted with the "IMS Support Team's" BP Number (the top org unit).
    I'm not sure which access sequence I can use to assign the support team, for example, processor = "person3", the support team should be "Technical Team".
    Or do I need to create my own access sequence?
    I'm not familiar with these access sequence and not really sure how it works.
    Thanks.
    Tess

  • G/L is not automatically assigned to material component

    Hi All,
    We use transaction CJ20N in creating a meterial component, non stock item category(N), G/L is not automatically populated. Could you please tell me how does the system in SAP automatically assign G/L account in the material component. I have checked the valuation class for the material group and a G/L is assigned there but it is not assigning in the material component.
    Thanks in advance

    hi,
    yes i have checked the network profile and the g/l account is mandatory, therefore prompting the system for the g/l account to be assigned first
    also, the g/l account is assigned to the valuation class
    Edited by: UserID on Aug 8, 2011 8:09 AM

  • ASSIGN SALES CONTRACT TO SALES ORDER

    Hi,
    I have created a sales contract. now i want to assign that sales contract to sales order with same material and sold to party.
    But the price is not getting captured in material conditions after assigning it to sales contract.
    Assigning the contract through EDIT - ASSIGN CONTRACT - HEADER is done properly.
    But while assignining it through EDIT - ASSIGN CONTRACT - ITEM it gives error msg saying
    'Subsequent assignment for preceding doc. with schedule lines not possible'
    I am not able to rectify this error. Could you please help me in this case?
    Regards,
    Krutika

    Dear Krutika
    Go to VTAA, select your contract type and sale order type and execute.  Again select your item category and double click on schedule line.  Ensure that the schedule line what should flow in sale order is maintained there.  Block that schedule line and click on blue lens on top left and maintain the routines as follows:-
    Copying requirements:::501
    DataT::::::::::::::::::::::::::201
    thanks
    G. Lakshmipathi

  • Automatically assign user roles on user creation

    Hi,
    I have a scenario where i am creating database users in Oracle database and we need that no matter from where the database users are created they have a couple of roles automatically assigned to them.
    How can this be done?
    Quick response will be very helpful.
    UZ

    post and wait for a valid answer more than 20 minutes, search by yourself at oracle documentation less than 5 minutes. worth it?
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_8003.htm
    a trick --> group of roles = profile
    another trick --> profile can be add in the user creation
    Edited by: Fran on 26-feb-2013 2:17

  • Automatically assign output type sale order

    Hi
    when i am creating sale order ..manually assign the out put type .every time ..it has taken to time process
    i need automatic assign output type to sale order..is it possible ..pls guide me in this issue could anyone.
    thanks&regards
    sesidhar

    Hi,
    It is 101 % possible through condition techniques.
    what is common or require to create sales order - Answer is Sales organization.
    Create condition table V/03
    Select fields Sales organization & document type etc.from field catlog
    genrate this table.
    Now go to access sequence V/07
    Create new or find which access is asigned to your OUT PUT CONDITION TYPE
    Assign this newly created table in that access
    Now assign this access to your out put condition type say std - BA00
    Now go for condition record maintenance VV11
    Put output condition >>> key combination >>> select sales organization & enter >>> maintain all data save.
    Now when ever u create sales order with the sales organization,then system automatically asign this output type to order.
    Kapil

  • Automatically Assign Control Key for External Assignment

    Hi All,
    Please can someone advise how I automatically assign the External Processing Control Key at the operation level using the Work Centre.
    I have a Main Work Centre set up which is linked to every Functional Location. This Work Centre has a default Control Key PM01 - Plant Maintenance - Internal,  assigned.
    I also have a second Work Centre which has Control Key PM02 PLant Maintenance - External, assigned.
    When I create a Work Order the system uses the Control Key assigned to the main work centre and assigns this at the operation level.
    When I change the Work Centre for Operation 010, to the second Work Centre (PM02 Control Key) it doesn't pull this through to the operation. I have to change this manually.
    Could someone explain why this is the case and how I resolve the problem.
    Any help appreciated.
    Regards
    Chris

    Teshin,
    Thanks for the information. I have checked the OSS Note the issue is as discribed in the note.
    I will look to implement the program corrections shortly and will confirm that the problem is resolved.
    Many thanks for the feedback
    Regards
    Chris

  • Automatically assign cost center

    Using SAP 4.7
    We need to automatically assign Cost Center at the time of asset retirement through scrapping. User doesnt have to enter the cost center.
    I have tried additional assignment in asset - integration with GL Account but it fails to do.
    Can Please somebody help me out in this regard.
    Regards
    Sajid Hakeem

    Hello,
    >Cost center will be given in the asset master....you aware of it...ok...
    >At the time of scrapping the asset the scrap will go to necessary scrap GL for that you have to give cost center in OKB9...you aware of it but you dont want to happen like this...and you need to have a different cost center(ie., as in the asset master) ....quite complicated....
    > ok...to achieve this atleast should have different profit center for each assets..do you have? if so..... Then come to OKB9 in the acct assignment column give value 3 and in the subdialouge box click on Details per profit center wise ....there you can give cost center per prctr.
    Hope this helps.
    Regards,
    Velumani

  • Automatically assign conditional text to xml tag

    Hello,
    is there a way to automatically assign a "conditional text" to a xml tag. Either on xml import or with a script?
    Thank you all for your help.

    If you've got 10.2.0.2 or above you can use EVALNAME in your xmlelement statement...
    SQL> select xmlelement(evalname job, ename) from emp;
    XMLELEMENT(EVALNAMEJOB,ENAME)
    <CLERK>SMITH</CLERK>
    <SALESMAN>ALLEN</SALESMAN>
    <SALESMAN>WARD</SALESMAN>
    <MANAGER>JONES</MANAGER>
    <SALESMAN>MARTIN</SALESMAN>
    <MANAGER>BLAKE</MANAGER>
    <MANAGER>CLARK</MANAGER>
    <ANALYST>SCOTT</ANALYST>
    <PRESIDENT>KING</PRESIDENT>
    <SALESMAN>TURNER</SALESMAN>
    <CLERK>ADAMS</CLERK>
    <CLERK>JAMES</CLERK>
    <ANALYST>FORD</ANALYST>
    <CLERK>MILLER</CLERK>
    14 rows selected.In 10.2.0.1 you would get:
    ERROR:
    ORA-19039: Keyword EVALNAME reserved for future usethough it can be switched on for that version (an alter session statement) if you raise a support call with Oracle explaining why you can't upgrade yet.
    edit to add:
    if you need to convert the data you can just use an appropriate decode statement e.g...
      1* select xmlelement(evalname decode(job,'PRESIDENT','TOP BOSS','OIK'), ename) from emp
    SQL> /
    XMLELEMENT(EVALNAMEDECODE(JOB,'PRESIDENT','TOPBOSS','OIK'),ENAME)
    <OIK>SMITH</OIK>
    <OIK>ALLEN</OIK>
    <OIK>WARD</OIK>
    <OIK>JONES</OIK>
    <OIK>MARTIN</OIK>
    <OIK>BLAKE</OIK>
    <OIK>CLARK</OIK>
    <OIK>SCOTT</OIK>
    <TOP BOSS>KING</TOP BOSS>
    <OIK>TURNER</OIK>
    <OIK>ADAMS</OIK>
    <OIK>JAMES</OIK>
    <OIK>FORD</OIK>
    <OIK>MILLER</OIK>
    14 rows selected.

  • Automatically assign a BP Grouping for a BP Role

    Hi, everyone!
    I would like to automatically assign an specific Grouping range for a BP when creating it in an specific Role.  Now, the user has to select each them separately and sometimes makes mistakes because he selects a wrong Grouping for the Role he is selecting.
    Can this be done?  I will appreciate a lot your help.
    Thanks in advance.
    Adolfo Garay

    Thank you very much, Javier! I will try to explore this.  By any chance, do you have any example that could help me to do this?
    Anyone else have some examples that can be useful for this case?
    Regards,
    Adolfo

  • Automatically assign calendar

    Is there a way to automatically assign an invitation from a specific person to a specific calendar. My husband has two assistants who do his scheduling. I'd like to specify that the calendar items that come from Janet should go on one calendar and the ones from Cathy go to another... automatically, that is. I'm spending so much time editing!

    I've just migrated over from Outlook which did this.  Really missing this feature.  If you've solved this problem, please let me know.

Maybe you are looking for