Upadation of user status and text for perticular order line item.

Hi Frens,
I got stuck while updating the status field.
After Posting IDOCs,
I am getting the order response data in ' XML ' file format from OSS through XI.
Here we have to check the rejacted and commited records.
For that,We have created two new status fields for the sales order type ZTA0 and Item category ZTA4.
OSSM (send with error)
OSSU (send without error)
Depending of the status from OSS the either OSSM or OSSU should be automatically updated.
Further we have created a new text type ZOSS (error message from OSS). This is also to  be updated with a relevant text if status OSSM is trigged.
If status is OSSM is trigged an e-mail to the responsible person.
I am posting 4 idocs.(ZOSS_CREATE ,ZOSS_Change,ZOSS_Cancel,ZOSS_Complete ).
Depending upon which idoc is giving errors , mail should be triggered to corresponding person who created or changed the Sales order.
Need Help on this.

Hi Amitav,
I think you need to develope a simple workflow for this.
After IDOC processing, in case of any error, IDOCAPPL.inputErrorOccurred or somthing similar event gets triggerd.
You need to develope a workflow which will have above mentioned event as triggering event and will check for your IDOC types.
Further, the user name, who changed the order must be there in one of the field of IDOC data.
This workflow will have  one step to send a mail to the above user name.
You can call another background task, which will further call a method ( you need to check which object you are trying to update and see if a mehtod is available on that for updating the status or else create one ) to update the status.
Thanks,
Ram
Message was edited by: Ram Manohar Tiwari

Similar Messages

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • User Exit and BADI for Sales Order

    Dear Experts,
                        please give me available user exits and BADI for sales order .i want to take the data from sales order at the time of sales order posting .

    Hi,
    In debugging you can find some Enhancement Spots where you can implement your code. This lets you ignore the need for access key, but its a time consuming process spotting out the exact enhancement point.
    Regards
    Karthik D

  • User Exit for Purchase Order Line Items.

    I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything.  I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document.  Any direction you can point me into would be greatly appreciated.  Thanks.

    Thanks for pointing me in the right direction.  I was able to create my first BADI using the PROCESS_ITEM method.  The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

  • What is table name in SAP R/3 for PM order line item data

    Hello,
    I am extracting data for PM module and Interested in PM order line item data. Table AUFK is for PM order header master data.
    Is there any other table for PM order line item master data?
    Thanks,
    Ishak

    Hi Ishak,
    The item table is AUFP.
    Thanks.

  • What is the Program for Sales Order Line Item Rescheduling

    Hi,
    There is a background scheduled job which does sales order line items rescheduling but I could get the name of the Program/Function Module by looking at the Jobs log. Can any one please help me?
    When does the rescheduling happen? Does it happen while creating delivery for the order? I need to understand the rescheduling the process to solve a bug in the User Exit / Screen Exit.
    Appreciate your help in Advance.
    Thanks,
    Kannan.

    If you know the job name, than you can find out the associated program name.
    Go to SM37.
    Select your job from the list
    Select "Step" ... here it will show you the program name
    Put cursor on the program name and Go to > Variant to know what was the input to run this job.
    Regards,
    Naimesh Patel

  • Multiple Payors for One Order Line item. Is it possible?

    Hello SD Gurus
    I am trying to see if SAP allows inputting multiple payors for each sales order line item? We have a requirements, where the net value at the line item level will be split up in 1 to 4 payors and then we need to generate the invoices seperately for each of the payors based upon the dollar amount allocated.
    If you have come across such scenario please let me know to accomodate such requirements.
    Thanks much
    Jai

    Hi Aj
    Thanks for your quick response. I was think on the same lines and you have confirmed that we will have to split the line into several lines on sales order.
    I am trying to do that now in our ECC box i.e item 10 with payer 1 and item 2 with payer 2. But as soon as I try to change the payer on item 2, i get the following error message which relates to credit management being active.
    I am assuming once we decativate CM, we should be good to go. PLease confirm. Also once its time for billing, will SAP automatically split the billing into different invoices per sales order line item based upon number of payers on the line items?
    PLease confirm your thoughts.
    Regards
    Jai

  • Conditions KONV table for Sales order Line item.

    Hi Friends,
    What are the key fields bw vbap and konv table.
    requirmnt is : need to fetch conditions ( from KONV table ) for the sale order line items.
    thanks in advance.
    Jai.

    Hi,
    1. Fetch field <b>KNUMV</b> from table <b>VBAK</b> for that particular Sales Order No i.e <b>VBELN</b>.
    2. Goto <b>KONV</b> & based on <b>KNUMV</b>, <b>KPOSN</b> and <b>KSCHL</b> (condition type), fetch the required condition details along with its net price (KONV-KBETR)  and net value (KONV-KWERT).
    KONV-KPOSN = '00000' -> Header Condition
    KONV-KPOSN = '00001' -> VBAP-POSNR = 10
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • System Status & User Status Fields/Tables for PM Order

    Hi All,
    May I know the PM Order System Status & User Status Field Names & Tables??
    Sundar

    Dear,
    Table- JEST  to get the status of the order &
    Table- TJ02T to get the text for the internal status & TJ30 to get the text of external status.
    regards
    sunil

  • Multiple production orders for sales order line item

    hello Guru's
    In our case Requirements are created in 2 ways
    Case 1:
    1)     Sales Orders are created at Plant level with schedule line category CP
    2)     Sales Orders are created at Depot level
    In the above mentioned 2 cases the requirements are taken as inputs and the process is carried at plant level 
    Step 1: Automated MDO3.
    Sales Orders are created if there is short fall of the Quantity at the Depot and Plant Sales Orders are raised against the plant for which the requirements are generated and MRP run is carried out at Single Item single level.
    Step 2:
    For the results of the step1 are then transferred and Production orders are created for the planned Orders.
    The issues is whenever there is change in confirmed quantity or change in confirmed  date the requirements are considered again as inputs and the multiple production orders are getting generated for the single requirement
    Actually we dont want this to have multiple production orders
    regards

    Hi,
    Can you let us know the strategy group used for this material ? If i understood the query correctly, each time there is a change in the sales order (i.e. increase in qty), there is a triggering of new planned orders to meet that demand.
    Regards,
    Vivek

  • How to set partial delivery for Purchase Order line item

    Hi Team
    We have created a PO for 100 quantity along with 25% over delivery tolerance.  We have done 5 GRNs totaling for 95 quantity.  when we try to do another 10 quantity, system not accepting the GRN.
    I want to set the partial delivery for this line item.  Please help how to do this.
    regards
    Ravi

    where did you check the underdelivery tolerance of 0?
    the PO is the place to check, changes in material master will notz effect existing POs.
    if you removed the delivery complete indicator and the item still does not show up in MIGO, then set the "propose all items in MIGO settings"
    if it still does not show up, then you might have other restrictions like confirmations , last goods receipt etc.
    the error 'Document does not contain any selectable item" is often discussed in this forum, you will find numerous threads that list what you have to check.

  • Sale Order MRP Run for All Order Line Items

    Greetings...
                     I have One Sales Order , in which i have ten different Line Items .
    Now I have to Run the MRP on basis of Created sales Order so that all Line items wi get consider insingle MRP Run on sales order base MRP Run.
    How to take MRP Run of One Sale Order for all Line Items.???
    In MD50 , we can have sales Order with Item..

    In MD50 you can give only one item at a time.
    Its a standard transaction meant to accomodate changes relevant for MRP after plant level MRP run  related to specific sales order Item.
    so either you need to do it multipal times by changing material or you need to go for MD02.
    Please explain bussiness case in detail why you want to restrict your MRP run for items in a specific sales order.
    Regards

  • Calculate excise for purchase order line items ( for  import only)

    Dear all,
    please help me to calculate excise duty form  ( imports only)  purchase order for its line item.
    i can calculate for domestics PO using "BADI_TAX_CONDITION"  .\
    But I need to calaculate custom duty also . so this BADI does not work .
    So, please help me to calculate excise in Import PO .
    Regards,
    Nayan

    Thanks for pointing me in the right direction.  I was able to create my first BADI using the PROCESS_ITEM method.  The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

  • DB table to get system status and text for PO.

    Hi All,
    I need the table to get system status for a production order and system status text .Please help.

    Hi Prem,
    JEST table is for system status for a production order and TJ02T table is for system status text.
    Try with these fields in the above tables.
    u2022     OBJNR   like JEST-OBJNR object number
    u2022     STAT      like JEST-STAT  Object status
    u2022     INACT    like JEST-INACT indicator status inactive
    u2022     TXT04    like TJ02T-TXT04 individual status of an object
    u2022     TXT30    likeTJ02T-TXT30 object status.
    Hope it helps you.
    Regards,
    Anusha V.
    Edited by: Anusha on May 26, 2009 10:22 AM

  • Revenue Recognition based on User Status of assigned Sales Order line item

    Dear Community members,
    We have requirement to recognize / de-recognize revenue posted to WBS for calculation of RA, based on the 'User status' of the assigned Sales Order line item.
    To elaborate requirement further -
    1) WBS Element - XXX - 10 ( with operative indicator - Plan/Bill/Account Assign)
    2) Sales Order(SO) Line Items assigned to the above WBS -
    - SO No -  123 Line Item 10 - Actual Rev - $ 300 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    - SO No -  124 Line Item 20 - Actual Rev - $ 400 - User Status - COMPL(Meaning this work is Complete , all payment received thus actual revenue for RA at WBS is $400
    - SO No -  125 Line Item 10 - Actual Rev - $ 800 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    As per WBS reports Actual Revenue posted to WBS XXX-10 is $ 1500 ( $300$400$800) , however since two SO line items ( SO 123 /line item 10 and SO 125 / line Item 10 ) are NOT having User status 'COMPLETE', the actual revenue posted by those line items $ 1100/- ($300 + 800)  should not be included as Actual Revenue for RA at WBS level.
    Thus Actual Revenue for RA at WBS XXX-10 should be $ 400 /- ( the revenue posted by SO 124/line item 20 which has user status as 'COMPLETE')
    How do above can be achieved?? Is there any standard solution for this?? Is any SAP Note available for this (I too am looking for one but not found any ) ?? do we need any enhancement , Customer exit etc
    Thanks in advance
    with regards

    Hi,
    Thanks. You are right that the 'Completed Contract Method' would defer revenue recognition. However, the status checked would be of the RA object (WBS Element in this case, as RA key is on WBS and RA is being calculated on the WBS).
    However, our requirement is to check the user status of the Sales Order Line items assigned to the WBS element and filter the revenues posted based on the active user status of individual Sales Order Line item.
    Please give you inputs.
    Thanks in advance
    With regards

Maybe you are looking for

  • Infotype authorizations at Company Code level

    The project I am working on has two company codes 1000 & 1100.  The user requirement is that a person working in one company should be able to make changes only to employee data of employee's in his/her company and to have only read authorizations fo

  • Making Markings in .PDF File

    I'm playing a cool game.  It's an old RPG-type game that uses the manual, which I have in .PDF. In that .PDF, there's, like, a list of quests and stuff.  I'd like to be able to check stuff off on the page of the book in the .PDF.  You know, as if usi

  • The import was stopped, an error occurred during the phase DDIC_ACTIVATION

    Dear all, When I import the SAP_BASIS support package SAPKB70019 , it appears the error as below : The import was stopped, since an error occurred during the phase DDIC_ACTIVATION, which the Support Package Manager is unable to resolve without your i

  • I would like colored tabs; is it possible with Firefox? And or, each new subject have a different color tab.

    I would like colored tabs; is it possible with Firefox? And or, each new subject have a different color tab.

  • Standar IDOC Extension

    Hello Group:         I Need to Extend the Standard Idoc BUPA_INBOUND_MAIN_SAVE_M03.         I created the New Segment with their fields in the WE31.         Now, I want to Create the Extension in the WE30.         But the Error is appearing: