Jasig CAS + Beehive (third party SSO)

Hello,
We are currently evaluating Beehive and one of the requirements we have is to integrate it with a third party SSO provider (Jasig CAS). I have followed the steps defined in the Oracle Beehive Pluggable Authentication http://www.oracle.com/technetwork/middleware/beehive/plugauth-096705.html#compiling_and_packaging_plug-in and managed to get the sample sso identity plugin "working" (its working enough to redirect me to a login page).
Now the question that I have (i hope you can provide some guidance) is that in order for me to integrate it with the "CAS Client", i need to add some filters to web.xml but everytime I do that, and I restart beehive, the BEECLIENT doesnt start.
I don't know if its because I am missing a .jar (I copied the CAS .jar's to $ORACLE_HOME/j2ee/lib/ext) or if there is something I can enable (DEBUG MODE) on beehive which can help me troubleshoot the issue. Is adding additional filters in web.xml possible?
This is more or less what I wanted to add (note , i tried this in the following file: $ORACLE_HOME/j2ee/BEECLIENT/applications/teamcollaboration/teamcollaboration/WEB-INF/web.xml)
<filter>
          <filter-name>CAS Authentication Filter</filter-name>
          <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
          <init-param>
               <param-name>casServerLoginUrl</param-name>
               <param-value>https://login.server.com/cas/login</param-value>
          </init-param>
          <init-param>
               <param-name>serverName</param-name>
               <param-value>https://beehive.server.com</param-value>
          </init-param>
          <init-param>
               <param-name>renew</param-name>
               <param-value>false</param-value>
          </init-param>
          <init-param>
               <param-name>gateway</param-name>
               <param-value>false</param-value>
          </init-param>
     </filter>
     <filter>
          <filter-name>CAS Validation Filter</filter-name>
          <filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
          <init-param>
               <param-name>casServerUrlPrefix</param-name>
               <param-value>https://login.server.com/cas/</param-value>
          </init-param>
          <init-param>
               <param-name>serverName</param-name>
               <param-value>https://beehive.server.com</param-value>
          </init-param>
          <init-param>
               <param-name>proxyCallbackUrl</param-name>
               <param-value>https://beehive.server.com/proxyCallback</param-value>
          </init-param>
          <init-param>
               <param-name>proxyReceptorUrl</param-name>
               <param-value>/proxyCallback</param-value>
          </init-param>
     </filter>
     <filter>
          <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
          <filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class>
     </filter>
     <filter>
          <filter-name>CAS Assertion Thread Local Filter</filter-name>
          <filter-class>org.jasig.cas.client.util.AssertionThreadLocalFilter</filter-class>
     </filter>
     <!-- ************************* -->
<!-- Sign out not yet implemented -->
<!--
     <filter-mapping>
          <filter-name>CAS Single Sign Out Filter</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
-->
     <filter-mapping>
          <filter-name>CAS Authentication Filter</filter-name>
          <url-pattern>/protected/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
          <filter-name>CAS Validation Filter</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
          <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
          <filter-name>CAS Assertion Thread Local Filter</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
          <filter-name>CAS Validation Filter</filter-name>
          <url-pattern>/proxyCallback</url-pattern>     
     </filter-mapping>
Thanks in advance!

Richard,
Thanks for the reply. Let me expand of what I am trying to accomplish:
1. User goes to https://beehive.server.com/teamcollab
2. The Beehive PAM plugin kicks in and the user gets redirected to https://cas.server.com/cas/login/?service=https://beehive.server.com/teamcollab
3. Once the cas.server.com authenticates the user, it redirects the browser back to https://beehive.server.com/teamcollab/?*ticket=RANDOM_NUMBERS*
At the very least, I need to be able to readthe "ticket" parameter and validate the RANDOM_NUMBERS against cas.server.com so that I can get the username (no cookie involved here) back from the CAS server.
This is the code I was trying:
public String getIdentity(HttpServletRequest req, Map<String, String> props) throws IdentityException {
String ticket = req.getParameter("ticket");
          AttributePrincipal principal = null;
          String casServerUrl = "https://cas.server.com/cas";
          if(ticket == null || "".equals(ticket))
               throw new IdentityException("Service Ticket is Null or empty", null);
          Cas20ProxyTicketValidator sv = new Cas20ProxyTicketValidator(casServerUrl);
          sv.setAcceptAnyProxy(true);
          try {
               String legacyServerServiceUrl = "https://beehive.server.com/teamcollab";
               Assertion a = sv.validate(ticket, legacyServerServiceUrl);
               principal = a.getPrincipal();
          } catch (TicketValidationException e) {
               e.printStackTrace(); // bad style, but only for demonstration purpose.
          String authuser = principal.getName();
          if(authuser == null)
               throw new IdentityException("User is null", null);
          return authuser;
But when I tried that, my browser (frefox) detected an invalid redirect and nothing worked. I don't know how to troubleshoot this piece of code (do you know how to increase debug level and or dump vairiables to a log file, and if so which log file its going?)
Since I got the "invalid redirect" from firefox, i tried adding the cas filters (to web.xml) which in essence should allow me to just do something like String username = request.getRemoteUser(); and that is when beehive crashed.
So based on your response, I should stay away from changing web.xml (good because I didn't want to modify it to begin with) but do you have any recommendation as to how to debug the code ? I would like to echo something like "Service Ticket Received is: blah blah blah" to $ORACLE_HOME/beehive/logs/oc4j/BEECLIENT/log.txt or a similar log
Thanks for your help.

Similar Messages

  • Third party SSO with a custom login module

    Hello everyone,
    I've found a few posts on the forum with questions similar to mine, but none have been answered.  I'm using a 3rd party authentication product along with a custom implementation of the AbstractLoginModule interface.
    The setup is standard: A 3rd party agent is installed on a reverse proxy web server to SAP. The agent is configured to protect SAP resources, and it handles the login screens and authentication. Once the user has been authenticated, the AbstractLoginModule implementation kicks in, decrypts and validates an SSO token, retrieves the username from it and creates an SAP Principal.   
    The login ticket template is configured as follows:
    1.  EvaluateTicketLoginModule   SUFFICIENT
                        2.  MyLoginModule                      REQUISITE
                        3.  CreateTicketLoginModule       OPTIONAL
    One of the integration's key requirements is that direct interaction with standard SAP authentication must be avoided.  More specifically, the user should never need to enter an SAP password.  I'm only seeing two problems, both of which violate this requirement.
    The first is in cases where there is no existing SAP user that matches the authenticated user.  In this case, the third party token and SAP Principal are created, the abort method is called, and the user is redirected to the SAP login page.   I need to either bring to user back to the third party login page or to a custom error page~.
    The second problem occurs when an SAP password change is required. Again in this case, an SAP form is displayed after the module has created the Principal (although once the user changes the SAP password, all's well). If I were to disable mandatory password changes, would this apply to fat client access as well? If so, then it's not a viable option.
    The general idea in both instances is that the SAP I'd appreciate any help or suggestions.  
    Thanks
    ~ Since the SSO token applies to applications outside of SAP, I may add a login module parameter to make this a configurable choice. (I.e. allow the administrator to decide whether to inform the user that SAP authentication failed while preserving the SSO token, or to destroy the token and force re-authentication). However, if there is a way to configure the "bad credentials" URL outside of the module's code/parameters, it may be better to place the choice there.

    Hi Julius,
    Thank you for the quick response - and on a Sunday, no less!
    I have considered verifying that the user existed in SAP before creating the Principal.  One might argue that that would be the common sense thing to do.  The reason I've held off is that the error should be so rare that it may not justify the overhead.  There's a requirement to have a one-to-one username mapping between SAP and the authentication application.  It would be more efficient to assume that this requirement has been met and to handle the Exception when it hasn't been.  Of course, that doesn't mean that it's the right way to go.
    +_Julius Bussche wrote:_+
    For the first concern, if they can access the logon page directly (anyway) you could disable it as you do not want any password based logons (right?) and redirect it to your external page or an error page.
    Yes, this is what I'm hoping to do, but I'm not sure how to do it.  Here are some comments and questions about this:
    1. What's involved in disabling the login page?  I would think you'd need to replace it with something else rather than just switch it off.   Could I limit this change to the login ticket template so that other templates (basic authentication, for example) are still available?
    2. Keep in mind that users will never get past the "real" login page unless they have been authenticated.  This complicates matters because we're dealing with a scenario in which the user has already been authenticated but doesn't exist in SAP.  Therefore, it wouldn't make sense to go back to either login page.   
    3. What's involved in redirecting to an external page?  Is this an explicit redirect in the module code, or can it be decoupled from the module?  It's not a big deal, but it would be nice to avoid mandatory module parameters for relative paths to error pages.   
    I think the question I'm after is: "Can I simply change an SAP login URL parameter to point to a custom error page, and allow everything to work as it does now (where SAP handles the redirect)".  If so, could I limit the scope of the change to the login ticket template?  What would be even better is if I could configure SAP's response to this error.  Somewhere, it's currently configured to display the login page.  Ideally, I'd be able to configure it to display myErrorPage, and then set myErrorPage to the appropriate URL.  
    +_Julius Bussche wrote:_+
    For the second concern, I assume that there are no valid passwords involved here which might have expired, so as long as the user does not have the option to activate a password again and anyway cannot logon via password as the option is not presented... then you should be fine here as well with a forward proxy. Not sure which Java APIs are offered here, but you could check this together with the existence check and react to both prior to accessing SAP "from the outside".
    The problem here is that the SAP passwords are needed outside of the integration.  It's true that whether an SAP password has expired is irrelevant to the integration.  However,  this is a Web-based integration; SAP passwords must still be available to users who have access to other clients.  With this in mind, could I create a user password policy that disables password expiration and automatic password change, but only apply it to Web client access?  If not, do you know how I might override SAPu2019s behavior?
    Once again, thank you for taking your time to help me out.  I am very grateful.
    - John

  • Excise configuration in case of Third party sales

    In case of third party sales of a excisable material, where the goods are supplied directly to customer by the vendor.
    However the customer invoice is sent to the customer my organization
    How will the excise entries take place?
    Because in this case goods are not supplied from my depot, Also i need to charge the customer for excise, since the goods are excisable.
    Can I claim the excise benefit for the above sale process?
    Please revert
    Regards
    Sudhir Chavan

    As the goods are not delivered from your factory premise and are delivered for vendor.
    Means in system there is no outward goods movement from your plant.
    So, logically you should not create Excise invoice for this.
    But, you may need to consider VAT/CST based on the sales.
    And that doesn't require any excise invoice.
    Thus, no requirement of Excise configuration in case of Third party sales.
    Yes, from procurement point of view, you would be paying excise to the vendor for this purchase.
    Regards
    JP

  • How to raise customer invoice in case of third party sale from PS

    Dear All,
               In case of third party sale from project systems module, PR is raised which is further converted to PO and once the material reaches at client place GRN is done.Based upon the GRN the actual cost is booked to the project.How should I raise the customer invoice against the materials received by the customer?
    I went through the Forum and based upon the threads there, I came to know that one option is to  create sales order for the same items and do order based billings.But for this I have to enter the same materials items again in the Sales order which is nothing but duplicacy of data.
    Is there any alternative to this? Or some other way by which the PO line items be copied to sales order so that I can save time while creating sales order.
    Regards,
    B P Singh

    Hi Virendra,
                       Business scenario is like this.
    I have created project and activities.Have assigned materials as 3rd party sale in NWA. I have released the project.PR are getting followed by PO.On doing the GR the actual costs are getting booked on NWA.
    My concern is how to bill the Items(the same material components) which are assigned to activity.
    As per your input I need to do Resource Related billing.Thanks for the input.It is no longer required to assign materials in DIP to Carry out RRB. 
    To carry out RRB do I need to create Sales Order first ? If  No then how to do RRB? If Yes  I need to create a Sales Order with all the material components which I have assigned at activity level. So I was looking for some alternative so that SO creation becomes less tedious.
    Regards,
    B P Singh

  • Purchase requsition creation to be stoped in case of Third party

    Hi All,
    I have a requirement that in case of third party order the Purchase Requisition should Not be created if the order has a header level Delivery block.
    How to fulfill this requirement?
    Thanks & Regards,
    Amrish Purohit

    Hi,
    You can block the purchase requisition by making the delivery block active in Schedule line by giving the delivery block reason.
    go to >> Img>> SD>>Sales>>Sales doc>>Schedule line>>Sche.line type.
    ex. CS schedule line.
    Reward point if helps
    Manoj

  • Third Party SSO to Peoplesoft

    What are steps in setting up Third Party SSO to Peoplesoft? A user is to click a link on an external website and he will be automatically logged on to Peoplesoft (provided that some encryption/decryption method is performed, which I have already done on the SignOn Peoplecode)
    I do have some documents to read but got mixed up with different approaches. I know I did one thing right, that is, to create a SignOn Peoplecode.
    Are nodes needed to be setup? Do we need a redirect html? What are the other configurations needed?
    Thank you,
    Jeremy

    SSO is a commonly requested 'issue' with multiple solutions, which mostly depends on the third party systems abilities.
    I would say start by reading thid doc
    E-SEC: PT 8.x How to Setup External Single Signon Solutions with PeopleSoft [ID 617999.1]
    https://support.oracle.com/epmos/faces/DocContentDisplay?id=617999.1
    Also pay attention the to links provided at the bottom of this doc with muliple solutions.
    Hakan

  • Cost in invoice in the case of third party drop ship scenario

    Hello ALL
    We have third party drop ship scenario where vendor drop ships the goods to customer on our behalf and once we get the confirmation from vendor we bill the customer.  The sales order line has TAS item category.  When we raise the invoice the cost and billing quantity (because billing quantity is 'E' in copy control) comes from the goods receipt.  The PO is an import PO and has custom duty (delivery cost conditon) as well.  The custom duty is significant and hence when we create billing doc from sales order we want the custom duty also to come along with the material pirce as cost to the billing doc. Currently, the billing doc has material price from goods receipt as cost. 
    Can we get both price and custom duty as cost through some config or some change in PO pricing schema?  Or is there an user exit that can be used to manipuate the same?
    This is a common scenario in India and hence if anybody has come across this already and can share the solution, it will be great.
    Thanks in advance.
    Rajeev Jain

    Hi,
    You can do like this.
    Create a cost condition type ( copy of VPRS) and place it properly in the pricing procedure. sub total field must be B to collect the cost. Place a account key and maintain the G/L account for it also.
    In the requirement you can develop a new requirement saying that in case of TAS item category system should check for the cost of the item from a PO, and you can get the total of customs and price to by writing a logic. To develop the program and logic discuss with your developer.
    Thanks,
    Venkat Cheedalla

  • Auto trigger of Purchase requsitions in Sales Order in case of Third party

    Hi,
    In a third party sales scenario, where do we set the automatic creation of Purchase requsitions when we create a third party sales order. I checked the Item category configuartion but couldn't figure it out anywhere.

    Hi Ronaldo,
    In Scheldule Line Category, for the Purchase Order Type,Please select the Options Related to Purchase Requestion.So that we you create the Order automatically the Purchase Requisation Number will get generated.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • SSO with third party solution C.A.S

    Hi,
    Is there any feedback regarding implementation of third party SSO solution with SAP BW, R/3.
    We are imptemting to use C.A.S Solution based on LDAP Sun One, users are different in both systems.
    Regards

    UP

  • In Third party sales, Part of MM..?

    Hi guru's
    Can explain about third party sales and what is major part of work for MM in that.
    1.Please send me the overall flow in Third party sales process  with Transaction codes.
    thanks
    sap-mm

    THIRD PARTY SCENARIO
    in third-party order processing, your company does not deliver the items requested by a customer. Instead, you pass the order along to a third-party vendor who then ships the goods directly to the customer and bills you. A sales order may consist partly or wholly of third-party items. Occasionally, you may need to let a vendor deliver items you would normally deliver yourself.
    Process Flow
    the processing of third-party orders is controlled via material types. Material types define whether a material is produced only internally can be ordered only from third-party vendors, or whether both are possible. For example, a material that is defined as a trading good can only be ordered from a third-party vendor. However, if you manufacture your own finished products, you may also want, from time to time, to be able to order the same type of product from other vendors.
    Processing Third-Party Orders in Sales
    Third-party items can be created automatically by the system, depending on how your system is set. However, you can also change a standard item to a third-party item during sales processing manually.
    Automatic third-party order processing:-
    if a material is always delivered from one or more third-party vendors, you can specify in the material master that the material is a third-party item. During subsequent sales order processing, the system automatically determines the appropriate item category for a third-party item: TAS. To specify a material as a third-party item, enter BANS in the Item category group field in the Sales 2 screen of the material master record.
    Manual third-party order processing
    In the case of a material that you normally deliver yourself but occasionally need to order from a third-party vendor, you can overwrite the item category during sales order processing. For a material that you normally deliver yourself, you specify the item category group NORM in the material master.
    If, as an exception, you use a third-party material, change the entry TAN to TAS in the ItCa field when processing the sales document. The item is then processed as third-party item.
    If address data for the ship-to party is changed in the sales order in third-party business transactions, the changed data will automatically be passed on to purchase requisition and also to the purchase order ,if one already exists. In the purchase order, you can display the address data for the ship-to party in the attributes for the item.
    You can only change the address data for the ship-to party in the sales order for third-party business transactions, and not in the purchase order.
    Processing Third-Party Orders in Purchasing
    when you save a sales order that contains one or more third-party items, the system automatically creates a purchase requisition in Purchasing. Each third-party item in a sales order automatically generates a corresponding purchase requisition item. During creation of the requisition, the system automatically determines a vendor for each requisition item. If a sales order item has more than one schedule line, the system creates a purchase requisition item for each schedule line.
    Purchase orders are created from purchase requisitions in the usual way. For more information about creating purchase orders, see the Purchasing documentation. During creation of the purchase order, the system automatically copies the delivery address of your customer from the corresponding sales order. In a sales order, you can enter purchase order texts for each third-party item. When you create the corresponding purchase order, the texts are automatically copied into the purchase order. The number of the purchase order appears in the document flow information of the sales order.
    All changes made in the purchase order are automatically made in the sales order as well. For example, if the vendor confirms quantities and delivery dates different from those you request and enters them in the purchase order, the revised data is automatically copied into the sales order
    you process third-party items by creating a normal sales order. In overview for the order, you can then overwrite the default item category (TAN in the standard system) with the special item category for third-party items: TAS
    Billing Third-Party Orders
    If relevance for billing indicator for the item category has been set to B (relevant for order-related billing on the basis of the order quantity) in Customizing, the system includes the order in the billing due list immediately. If, however, the indicator has been set to F (relevant to order-related billing on the basis of the invoice quantity), the system does not include the order in the billing due list until an invoice from the vendor has been received and processed by the purchasing department. In the standard system, item category TAS (third-party order processing) has been given billing-relevance indicator F.
    In the first case, the third-party order is considered to be completely billed only when the invoiced quantity equals the order quantity of the sales order item. In the second case, each time a vendor invoice is received, a customer invoice is created for the quantity in the vendor invoice and the order is considered to be fully invoiced until the next vendor invoice is received.
    If you have activated billing-relevance indicator F for item categories in Customizing, billing can refer to the goods receipt quantity instead of the incoming invoice quantity.
    You can control whether the invoice receipt quantity or the quantity of goods received is relevant for billing in Customizing for copying control for billing at item level.
    FOR YOUR PROCESS Individual Purchase Orders WELL GIVE THE RIGHT SOLUTION
    Individual purchase orders are used when your customer orders goods from you that are not in stock and must be ordered from one or more external vendors.
    Process Flow
    During sales order entry, the system automatically creates a purchase requisition item. The purchasing department creates a purchase order based on the requisition and the vendor ships the goods directly to you (unlike third party order processing, where the vendor ships directly to your customer). You then ship the goods to your customer. While the goods are part of your inventory, you manage them as part of the sales order stock. Sales order stock consists of stock that is assigned to specific sales orders and cannot be used for other purposes.
    Process Flow for 3rd Party Sales
    Customize the third party sales in summary:
    Prerequisites for 3rd party sales,
    Purchasing org,
    purchasing group,
    assign the Purchase org to company code
    assign Purchase org to plant,
    should not maintain the stock in material, it should be trading goods,
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO
    7. Goods receipt MIGO
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and, therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing *--
    i think this will be helpful to you

  • Intercompany invoice not getting created in third party processing

    Dear Gurus !
    I am facing a problem in creating the intercompany invoice in case of third party order processing.
    In our organisation , for any type of sale two billing documents are creared :
    1) Commercial Invoice under the co. code for which sales org. is maintained at the sales order bookin level .
    2) Intercompany Invoice under the co. code in which plant is maintained which is used at the sales order level as delivering plant.
    So, as per the configuration req. for third party processing  , i have created Sales order ( with automatic Purchase requistion generated ) , Purchase order creation with reference to the Purchase requisition , goods reciept ( MIGO ) and invoice reciept ( MIRO ) , then billing doc. or commercial invoice ( VF01 ) with the generation of accounting document and finally the intercompany invoice ( VF01 ) .
    But i am facing the problem in final stage , that is , intercompany invoice creation .
    Error Message : No open billing quantity has been determined .
    I have checked the copy control for sales order to intercompany invoice and still not able to resolve it .
    Please reply which setting needs to be done for this .   
    Awaiting your response , that what copy control settings is required .
    Thanks .....

    Hi Buddi / Mahesh / Kiran ,
    It ' s good to see all of your opinion . But my problem has not been resolved .
    I am implementing third party processing in my organisation , where the customer is an export customer ( outside India ) . Hence , this is a merchant export .
    All the configurations / Customisations have been done for this process .
    The process is running fine till commercial invoice , but the problem is in intercompany billing doc. creation.
    I am again repeating - Error message : No open billing quantity has been determined.
    Explanation of the process :
    1) The order has been booked with item category TAS alongwith the item cat. group as BANS for the material used in the order .
    2) The sales area is 1020 / 30 / 35 . Here , 1020 is sales org . under company code 0079 , 30 is export's distribution channel and 35 is the division for components .
    3) The delivering plant used in the sales order is 1009 which is under co. code 0077. The price / condition record maintained for this material is in USD / EUR as it is a case of merchant export .
    4) The purchase requisition is generated automatically when the order is saved . It can be seen at VA02 - > Item details - > Schedule Lines .
    5) With the help of this PR no. , i have created a purchase order for vendor which is maintained under co. code 0077 asking for material in plant 1009 which we need to export / supply to the customer.
    6) The value of material per piece in the P.O. is coming from the material master record -> Accounting 1 view - > Moving av. Price .
    7) Now, the Purchase order is saved . With the help of this P.O. no. , goods reciept ( MIGO )is done .
    8) After MIGO , Invoice reciept or MIRO is done under company code 0077.
    9) After MIRO , customer ' s invoice is created through VF01 .
    Remember : This is an order relevant billing , no delivery or PGI will happen here because the material is not coming into the plant 1009 .
    10)The billing document ( order - related billing doc.) is created and the accounting document is also created under co. code 0079 in USD .
    Till this stage , everything is running successfully as per business requirement , but i am facing the problem in the final stage , that is creation of intercompany invoice under co. code 0077 which is in INR .
    In all other sales document types used in our industry , the process is same , that is : a) Sales order creation b) Delivery and PGI c) Billing doc. creation with accounting doc. under co. code 0079 and finally d) Intercompany invoice with accounting doc. under co. code 0077 and excise invoice creation with reference to intercompany invoice.
    In the above, problem is not there becuase orde is delivery relevant , hence copy control is maintained for interco. billing to delivery type.
    But in the new process , that is , third party processing , sales order relevant billing is done . so i suppose there will be a copy control for intercompany billing and sales doc. type , but i am not able to resolve it .
    Hence , please understand the process before suggesting .
    Thanks and awaits reply........

  • Excise & taxes in Third Party

    Hi,
       How can we handle Excise & taxes in case of Third party Senerio.
    for both The case of Third party (with Notification & w/o notification).
    Regards
    Pavan

    Hi
    In case f third party PO's only the goods processing & delivery is differing when compred to the Standard PO process.
    So all the taxes will be appluicable as you have performed for a Standard PO
    The goods receipt has the same effect as a goods receipt for a purchase order with account assignment:
    No stock update is made, as the goods receipt is posted to consumption
    The value of the purchase order is posted to a GR/IR clearing account for the purposes of Invoice Verification.
    The goods receipt can be tracked in the PO history.
    You enter the invoice in the same way as an invoice for a standard purchase order.
    If you posted a statistical goods receipt for the purchase order, the invoice receipt results in an offsetting entry on the GR/IR clearing account, which is cleared.
    If the customer is to be billed in Sales and Distribution based on the invoice quantity specified in the vendor invoice, this quantity is used as the basis for the billing document in Sales and Distribution. The billing document can only be posted once the vendor invoice has been posted.
    Thanks & Regards
    Kishore

  • Third party sale scenario: COGS not allowed as automatically posted.

    Dear Gurus,
    I have come across this error during execution of third party sale scenario.
    When the user enters a PO with reference to PR which is in reference to SO, one error pops up which says COGS cannot be automatically posted only.
    When I deselect the "Post automatically" tick, the PO can be saved.
    Process we are following during third party sale process:-
    1. Sales order.
    2. PR with reference to Sales order.
    3. Purchase order with reference to PR.
    4. Statistical GR with reference to PO.: COGS Dr. To GR/IR Clearing account Cr.
    5. Sales Invoice: Customer Dr. To Sales Cr.
    6. MIRO: GR/IR Clearing account Dr. To Vendor Cr.
    I have my own doubts on the statistical GR part. Can you pls. validate the same.
    Also in case of third party sale, what will be the CO object as COGS is not created a cost element. (SAP standard)
    Regards,
    Harnish Shah

    Hi
    Please check the steps for 3rd business process.
    Sales Order:VA01
    List of Sales Order:VA05
    Purchase Order with reference to Purchase Requisition: ME21N
    Inbound Delivery:VL31N Material Receipt:MIGO
    Result Recording Work list:QE51N
    QM Usage Decision:QA32
    Activities due for Shipping `Sales Orders, fast display` VL10A (VL01N)
    Post of Goods Issue (PGI):VL02N
    Post of Goods Deliver:VLPOD
    Post the Billing doc VF01 or Maintain the Billing due list-VF04
    Release Billing Document for Accounting VFX3
    Delivery Document list ZVL05
    Edit Work list for Invoice List VF24
    Output of Billing Document VF31
    Customer Payment F-28
    As per my knowledge once psot the PGI,System will upddate COGS  values.
    Regards
    asuvamsi

  • PO with third party

    Hi Gurus,
    There is a third paty purchase order with reference to sales order
    Goods Receipt was done without facig any problem material & account documents were reated----
    the problem is
    "In MB5B transaction  the Goods Receipt material document was not appearing, &
    The stock was also not showing"
    can u tell me wat could be the reason????
    Thanks & Regards,
    Subbu

    Hi Subbu,
    Third party purchase is meant for material which is not dealt by you. It is ordered on you by customer and then you order back to back to a vendor to supply directly to your customer. Because there is no value addition done in that material at your premises, it does not need to come to your premises.
    This is what is considered by SAP while designing third party purchase. So because material does not come to your premises, you do not need to do a valid goods receipt.
    So in case of third party only a statistical goods receipt is possible. It does not hit your plant stocks.

  • Generate PO from third party sale order

    Hi expert,
    When we save a Third Party sale order, it will generate a purchase requisition to buy items for us. I wonder if there are any methods to generate Purchase Order directly (Not via PR) from sales order ?
    Thanks so much.
    Edited by: Truong Tran on Feb 26, 2009 12:30 PM

    Hi,
    As you know - only PR will be automatically getting genreated in case of third party sale order or individual purchase order.
    This is because of the schedule line category - CB and CS.
    When the item category is TAB/TAS - it will determine the schdule line categor CB/CS which leads to generate PR automatically.
    There is an item category 'ALES' (Create PO Automatic - check box in VOV7 - will be checked) - which will create both PR and PO.
    I have not used that item category yet.. I think - though we use ALES item category - it won't create automatic PO.
    Except ALES item category.. - I do not have idea on ALES item category..
    (i.e., PO will never be automatically created without using the transaction.)
    Thanks,
    Venkatesh.S.P

Maybe you are looking for

  • Moving Loops to an External Drive..possible?

    Hey there.. Just upgraded to GB3. My previous version included 2 of the Jam Packs and I just bought the World Music pack. But my Powerbook is running a little low on disk space so I want to move all my loops to an external drive. Is there a simple wa

  • HTTP Service XML to ArrayCollection

    Hi, How do I convert the results from a remote XML List file called using the HTTPService method into an arrayCollection for sorting filtering etc. ??? (I assume it is the arrayCollection please feel free to suggest a better method) I have this worki

  • Duplicate Queries and Query Components in BI Production Box

    Hi: We have a situation where we have duplicate queries and query components in our Production BI box. The problem was caused by transports.  We have a development landscape and a support landscape where both are transporting separately up to the BI

  • Deny device by IP on switch port.

    Is there a method of preventing a device with an IP address of 172.25.*.1 (* = any number) from being allowed on the network? The problem I am facing is the end user incorrectly configuring a device and using the .1 gateway address. We run DHCP and h

  • Creating Views

    Hi Frds, I wants to create views with the table T001P , T500P  and with my Z table. So kindly tell me wat are fields wants to add in the Z table for creating views with the table T001P and T500P... Thanks BY Pari