How to extract User status for Sales and purchase contracts

Hello,
We need to load the User status linked to sales and purchase contract.
I think that there is no datasource in BI content.
What is the better solution ?
- Enhance a standard datasource like 2LIS_11_VASTH with a status field (This solution is not ok for Purchase contract)
- Create a spécific datasource to extract this status
- Others
Thanks for your help
Best regards
Christophe

Hi,
In your scenario its better to use generic extractor to get the reqd data. This data can than be stored in a DSO on the BI side.
And you can look up for the user status using a routine .
Regards,
Rahul

Similar Messages

  • Extracting User Status for Sales Orders

    I am trying to extract user status transactional data for sales orders (at both the header and item level).  I have been following SAP note 300300 to configure the status extractors and map the BW objects to sales order status data sources (2LIS_11_VASTH & 2LIS_11_VASTI).  I think I have set up both R/3 and BW correctly according to note 300300 and the IMG documentation, but I am not getting any values in the info source for the new user status info objects, when I run the extract.
    Has anyone successfully done this?  If so, do you have any documentation or pointers on how I can get this to work?  Or, am I better off creating a generic extractor?  Thanks for your consideration.
    Sincerely, Hashi Chakravarty

    Hello Ravi,
    well yes, I can derive the status for that order in the update rules if i show the status as an attribute of the 0pm_order; but basically there will be only the last status shown.
    My problem:
    a. i report on day 1, the status of the order is REL
    b. on day 2 i load the master data for the orders, new status is TECO
    c. on day three i want to report in the past and see the status of day 1; that's not possible in this scenario because i'll see the current status (TECO).
    So that's why I want to have the statuses in the cube...
    The 2lis_17_i3hdr extractor is only sensitive to CRT and TECO statuses, but not to the others (like REL / BLC and so on... :_(( )
    I could read the statuses from the JEST and TJ02T tables...but still, if a document status is changed, no delta record is written in the queue...
    Thanks,
    Tudor

  • How to release user status for sales documents automatically

    Hi All,
    We have configured status profile for third party sales document type. This will stop creating PR from sales order. After chaning the status from STP to GO, system will create PR. But the problem here is user is going and changing the object status manully.
    The business wants to release at a time many records automatically. Do we have any transaction code which we can use for changing the user status automatically for many orders?
    We have tried V.26, but this is just report we can not change the status automatically,
    Thanks in advance!
    Regards
    Lakshmikanth

    Hi,
    No standard program exists for it, as statuses are always customized.
    create a BDC program for status change and run in backgram as batch job.

  • Badi/user exit for sales and purchase order

    HI folks,
    I have to export the value of order type to a memory id for create and change transaction of sales order and the purchase order, I serached a lot for badis in purchase order and created implementation for that, but it didnt work. Please help me out....
    thanks in advance

    Hi,
    As written I need to export the value of order type into a memory id at the moment below transactions are hit:
    va01,va02, me21n, me22n.
    for va01 first u need to enter the order type and then press enter...at this event I need to export its value,
    for va02 the value of order is entered and then press enter,
    similarly I have to export the purchase order type during execution of ME21n and ME22n.
    I hope u will understand the problem better....If not please tell me

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • Cannot extract user statuses for Opportunity items

    Hi,
    Standard SAP Extractor does not extract User statuses for the Opportunity Items, Data Source name 0CRM_OPPT_I for 0CRM_C04 icube.
    According the OSS note We have to prepare our own enhancement of the extract structure to include the mapping of the user status group.
    We extended the related structure. There is no problem with this. We need a code sample for mapping of added field to extract structure.
    There is a BAdI for this purpose : CRM_CSDR_BWA_MFLOW
    I need to insert some ABAP code in this implementation.
    Does anybody can give some code sample for this.
    thanks,
    Yigit

    You can also configure the user status for Opportunity Item also. If you want to enhance the dataSource, here is the sample for BAdI:
    method if_ex_crm_bwa_mflow~enhance_data_source .
      data: it_extract type table of CRMT_BW_OPPT_I,
            wa_extract like line of it_extract.
      case i_datasource.
        when '0CRM_OPPT_I'.
          it_extract = ct_data[].
          refresh ct_data.
          loop at it_extract into wa_extract.
    Implement your logic here*****
    All the statuses stores in CRM_JEST table*****
            modify it_extract from wa_extract.
          endloop.
         ct_data[] = it_extract.
        when others.
      endcase.
    endmethod.

  • User status for Notification and Work order

    We generate Service Notification IW26. I have already configured user status like PMND (Planning order not done), AWOP (Awaiting ordered parts) etc. in the Work order a while ago. Now the user wants same User status to the Notification as well. I like to know from experts what is the value added to have the same user status for both Notification and Work Order?
    Do you have any suggestions?

    Hey Chandra,
    The customer intent behind this requirement must be to check in reporting / List Display Transaction about the Order Status. If they want to know looking at a Pending Notification List about the Order Status, you can always provide similar report using SAP Query Builder or with help of your Developer.
    Apart from that If the Requirement is to have these User Statuses in Notification itself, Please advice them that it will be extra activity while performing transaction.
    I dont see any other benefit of having User Statuses added to Notification as well.
    Do let me know if you have some more info on Why Customer is requesting this....
    Regards,
    Avi

  • Report for Sales and purchase tax (selection criteria-Tax code)

    Hi
    I have one query for sales tax details which gives me detail for all A/R invoices and taxes involved in it. But i want that while executing query system should ask tax code and gives detail of tax amount in front of item and invoice according to tax code selected.
    The query is:
    SELECT M.DocNum AS 'Inv.No ', M.DocDate as 'Date', M.CardName as 'Customer Name',L.Dscription,L.Quantity,L.Price, (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)', (SELECT Avg(TaxRate) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT % ', (SELECT Sum(TaxSum) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ', (SELECT Avg(TaxRate) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST % ', (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ', (SELECT Avg(TaxRate) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as ' TAXEXEMPT % ', (SELECT Sum(TaxSum) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as ' TAXEXEMPT ', (SELECT Avg(TaxRate) FROM INV4 where statype=8 and DocEntry=M.DocEntry) as ' VAT% ', (SELECT Sum(TaxSum) FROM INV4 where statype=8 and DocEntry=M.DocEntry) as 'VAT12.5 ', (SELECT Avg(TaxRate) FROM INV4 where statype=9 and DocEntry=M.DocEntry) as ' CST 2% ', (SELECT Sum(TaxSum) FROM INV4 where statype=9 and DocEntry=M.DocEntry) as ' CST @2 ', (SELECT Avg(TaxRate) FROM INV4 where statype=11 and DocEntry=M.DocEntry) as ' CENVCST % ', (SELECT Sum(TaxSum) FROM INV4 where statype=11 and DocEntry=M.DocEntry) as ' CENVCST ', (SELECT Avg(TaxRate) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as ' BED % ', (SELECT Sum(TaxSum) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as ' BED ', (SELECT Avg(TaxRate) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as ' Cess% ', (SELECT Sum(TaxSum) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as ' Cess ', (SELECT Avg(TaxRate) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as ' HCess % ', (SELECT Sum(TaxSum) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as ' Hcess ', L.LineTotal as 'Row Total (Rs.)',M.DocTotal as 'Doc Total' FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]') AND TargetType ! = 14 GROUP BY M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,L.Dscription,L.Quantity,L.Price,L.LineTotal,M.DocTotal ORDER BY M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,L.Dscription,L.Quantity,L.Price,L.LineTotal,M.DocTotal
    I want 2 queries which asks tax code during selection criteria for both cases sales and purchase.

    Hi Malhotra,
    Try this,
    1st remove the FROM/TO Doc. Date where Condition in your Query report.
    AND add the below where condition in your Query report.
    WHERE statype = '[%0]'
    OR
    Try this Query Report.
    SELECT
    M.DocNum as 'A/R Invoice No.',
    M.DocDate as 'Inv. Date',
    M.CardCode as 'Customer Code',
    M.CardName as 'Customer Name',
    M.NumAtCard as 'Bill No. & Date',
    ISNULL(L.ItemCode,'Service Item') as 'Item Code',
    L.Dscription,
    L.Quantity,
    L.LineTotal,
    L.TaxCode,
    L.[VatSum],
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OINV M
    LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
    WHERE
    (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]')
    AND
    L.TaxCode='[%2]'
    GROUP BY
    M.DocNum,M.DocDate,M.CardCode,M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    L.LineTotal,M.DocEntry,M.[DiscSum],L.TaxCode,L.[VatSum],M.WTSum,M.DocTotal
    ORDER BY
    M.DocNum,M.DocDate,M.CardCode,M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    L.LineTotal,M.DocEntry,M.[DiscSum],L.TaxCode,L.[VatSum],M.WTSum,M.DocTotal
    Regards,
    Madhan.

  • CRMD_ORDER - How to add user status for searching

    Hi Gurus
    Our requirement is that we want to search sales transactions in CRMD_ORDER by user defined statuses. Currently I can only search by system status (along with other standard criteria such as created by/direct processing etc). How do I add more search criterias so as to enable searching solely by user status?
    Please advise.
    Thanks

    Hi Jai,
    As per your requirement, i suggest u to check the Tx CRM_SRV_REPORT (standard Tcode)
    In this report you can change the layout of the screen after executing the report, and choose the user status from the layout.
    I hope this will help you
    Best Regards,
    Madhup

  • User Exit for Sales and Distribution

    Hi,
    I am creating some custom segments, Please provide me the include or enhancement name where i need to write the user exit.
    Module: Sales and distribution
    IDOC Type: idoc_output_orders

    Function EXIT_SAPLEINM_002
    Include ZXM06U02
    Enhancement MM06E001
    The last segment in table INT_EDIDD will tell you what was just appended, so use that to determine when to run your code to add the custom segment(s).

  • Syntax error while creating tax codes for sales n purchases

    Hi all,
    While creating the tax codes for sales and purchases, i got the below error:
    Report RB13A003 has a syntax error.
    What should be done?
    Thank you

    Hi,
    I believe, it's RV13A003 report and not RB13A003... What is the exact error message (or is it a dump)?
    Regards,
    Eli

  • User status for Service Issue{for particular Sales order} in CRM

    Hi Experts,
    I've an issue related to the User status in CRM.
    I've a Sales Order and I'm creating a service issue for it in CRM.
    For the service issue number has some user status and I want to know from where it is coming.
    Is there any configuration involved in it, or is it coming from the standard coding part.
    Please let me know how to find the user status for a service issue.
    Thanks
    Subbu

    Thank you PePe,
    I'm asking about the user status not the system status.
    The user status has only the values{open, worked & closed}.
    now for a service issue if it is rejected then the user status are automatically changed into "Closed".
    So if you have any idea in this please help me.
    thanks
    Subbu

  • How do we reset password for SAP* and DDIC user in SAP R/3 ECC 6.0?

    Hi,
    How do we reset password for SAP* and DDIC user in SAP R/3 ECC 6.0?
    I tried with acual method as below from client '000':
    DELETE FROM USR02 CLIENT SPECIIED WHERE BNAME = 'SAP*' AND MANDT = '001'.
    After this when I tried to logon '001' using SAP* with password PASS it is giving  the message that Incorrect logon and password.
    (Also when I checked for 'SAP*' in 001 it looks like it is not got created as I queried as below:
    SELECT SINGLE * FROM USR02 CLIENT SPECIFIED WHERE BNAME = 'SAP*' AND MANDT = '001'.)
    Can anybody throw some light on this? RewardS is guranteed for solutions!
    -B S B

    Hi again:
    I forget to tell.
    You must restart the system. So, that a new user with the name "sap*" gets generated with password "pass"
    Hope this wil help,
    Eric

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • BAPI/FM for setting the user status for the Project definition and WBS elem

    Hi,
    I have to set the User Status for the Project Definition and the WBS elements in that project.
    The User status to be set is the same for the project and wbs elements.
    Please let me know if there is any BAPI/FM to set the user status..
    Thanks in advance.
    Regards
    Shiva

    Hi Shkithija,
    There is a dump encoutered in the form "PS_FLAG_GET_GLOBAL_FLAGS" for 'chk_precommit_ok' in the "BAPI_PS_PRECOMMIT".
    But it is showing SY-SUBRC = 0 when used along with BAPI_TRANSACTION_COMMIT.
    May i know what are input parameters we need to pass it to "BAPI_PS_PRECOMMIT".
    Do you have any idea.
    Please let me know
    Regards
    vishnu

Maybe you are looking for

  • Credit Limit VS Posted Date Check

    Dear Experts Our client have a requirement on customer credit limit and I would like to seek for some good solutions. Here I provide one sample scenario: In SAP Business One a customer with a credit limit of $100,000 and account balance of $110,000.

  • Installing Windows 7 Service Pack 1

    Hello I am unable to install Service pack 1 for Windows 7 home premium (OEM edition) and a couple of other updates, in the past the macbook has downloaded and installed windows updates fine, In this instance it downloads but I get a error message err

  • JWS application won't start

    Hello, I'm having trouble getting by Java Web Start to work. I'm trying to follow along with this tutorial: http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html and I'm getting stuck at the point when the application is supposed

  • IMac g5 20" iSight no display loud fans white light

    Hi, Wondering if someone can help at all, I've recently been given an iMac which needs repaired, It seems certain parts have been stripped from it but want to make sure nothing else is wrong before buying replacements. When I plug in it, I get the wh

  • JAX-RPC and JSP

    Hi all, I have created a jax-rpc console app which works fine. (its a fairly simple online shop application). I would like to try and implement it via jsp but have never used jsp before. I've tried to follow the coffee-bean example, but the jsp has c