Mark a user status in production order automatically through user exit.

Hi all,
I have a requirement....I have a user profile which has got 4 status one of them is MFAR.
I need to check this status through an exit automatically so that it appears in the status line
and does not allow for goods receipt at the time of order creation through CO01 .
I have earlier tried with EXIT_SAPLBSVA_001 but this is only for formatting the text line whether I want to display that status.So it is not working for my case.
I could not find any exit for checking the checkbox for user status MFAR.
Thanks and Regards
Sweta

Hi Anup,
Have you used this exit for the purpose I mentioned as this is not just a simple header field it is status.
How do I mark any user status as active through this exit. Can you give any idea?
Thanks and Regards
Sweta

Similar Messages

  • User status for production order

    From which table i can get the USER STATUS for a  production order?

    Hi
    Use the TableS:
    JEST  - Pass OBJNR of the Production ORDER (AUFK, AFKO tables)
    or from
    TJ02
    TJ02T
    reard if useful
    regards,
    Anji

  • Update user staus on production order

    Hi,
    Can you please let me know if it is possible to update the user status on production order while saving.
    I have tried with exit PPCO0007 but with no success.
       header_exp-astex = 'X'.
       header_exp-asttx = 'XDIS'.
    I have checked exit PPCO0001,but this exit is trigerred after the log record has been saved and just before update.
    So this does not serve the purpose.
    Can some one advise here.
    Many Thanks.
    Regards,
    Babul

    Hi,
    I see in your code, you won't fill AUFNR.
    Try this because SAP check first if HEADER_IMP-AUNR = HEADER_EXP-AUFNR.
    HEADER_EXP = HEADER_IMP.
    header_exp-astex = 'X'.
    header_exp-asttx = 'XDIS'.
    Rgds

  • Activation of User status for Prod. order

    Hi,
    I have created a status profile with a status as a user status for production order. Now the thing is how to activate this user status for a specific transaction.
    the requirement is after settlement the user status should get activated for production order.
    Regards
    Amit Parkhi

    Hi Amit,
    As told by Ajay , after assigning Status Profile in OPJH you can assign User Status to production order as below:
    Pls. go through the following procedure for activating the User Status :
    Activating User Statuses
    Use
    You can activate a user status at order header and at operation level.
    Procedure
    Order Header Level
    Go to the order header.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Operation Level
    Go to the operation overview.
    Select the operation in question.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Pls. follow the above procedure as per rquirement and set user status accodingly.
    Pls. revert if any doubt and reward if useful.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Jun 23, 2008 8:10 AM
    Edited by: Tejas  Pujara on Jun 23, 2008 8:11 AM

  • Status of production order

    hi all
    i want to display the status of production order (latest) in my report for each production order...can somebody help me with the names of tables and fields
    help please.....points wil b rewarded.
    thanx.

    Hi!
    For checking the status changes, you can use the table: JCDS
    It is linked to the prod.order with its object number.
    The system statuses are in TJ02 and TJ02T tables. User statuse are in TJ30 and TJ30T tables.
    Regards
    Tamá

  • User Status for process orders

    Dear Experts,
    We are using user statuses for process orders & with this we are resricting or allowing certain business transactions.
    My question is can we automatically set the two consecutive user statuses ?
    Means when the GR for process order is done i have set the user status as GR.
    Next user status is CLSD.
    So after completing the closing of process order by settlement transactions can i set the staus as CLSD automatic?
    I am trying to do it but i am getting error as-
    "Status CLSD is not allowed (ACT 30000292 0010)"
    Your help is highly appriciated
    Regards
    Vivek

    Hi,
    1) Still your order is carrying cost, it has not settled properly
    2) you can check in CO02 itself, Go to tool bar at top
    3) here Go to > Costs > Analysis & check whether order is set to Zero
    4) you can check in KKBC_ORD also
    Also, pls refer below link
    Re: HOW automatic order status change to CLSD
    regards,
    Sankaran

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • Remove the user status in Sales order

    how to remove the user status in sales order header? could you give the function module or BAPI to get this?

    Hi,
    You Can try this-
    BAPI_SALESORDER_CHANGE,
    FM 'I_CHANGE_STATUS'
    Regards,
    Sujit

  • Production order: Automatic Generation of settlement rule .......

    Hi Gurus,
    I am trying to settle a production order to a cost center. I have already define a settlement profile with Cost center as the default reciever and assigned it to the Order type but when I tried to settle it, I have to create a distirbution rule manually every time. Is this some thing to do with the strategy sequence? I have done a lot of research but the system doesnt give me any option for autmatically generating a settlement rule or assigning strategy sequence to order type for production order. I found some thing for Internal orders, but still i cant do it. Would any of you please help me. I would appreciate if you put the steps with the trxn codes.
    Thanks

    Dear.
    As I know, there're no way to generate settlement rule of production order automatically such as that of WBS(network).
    In settlement profile, If you want automatic fuction, you can only set PA segment as receiver addionally.
    What you want to do is the price difference(PRD-PRF) of production order be settled? then, why don't you make automatic account assignment(OKB9)?
    Generally, assumed using PA segment as receiver, we don't make price difference account as cost element, But, In your case, If you want to settle all amount of that to fixed cost center, specify that cost element to cost center by OKB9 instead of adding cost center in settleme rule.
    Regards.

  • LSMW for changing user status on work order(IW32)

    Hi All,
    I have created a LSMW for changing user status on work order using transaction IW32. It does not change the status when i run the LSMW. In the recording for the LSMW, i select the radio button on the user status i want to select.
    When i run the LSMW in the foreground, it does everything except select the correct status.
    Is there a way to fix this or is it a problem with LSMW. I'm using ECC6
    Kind Regards
    Emanuel

    Hi ,
    I am not sure whether it would work with LSMW but if your on ECC 6.00 ,Enhacement Pack 3 then you have BADIs which allow you to make collective status changes in IW38 .The below are those BADIs :-
    BADI_EAM_RIAUFK20_FCODE_CUS1 :Implement Customer Function Code in Order List
    BADI_EAM_RIAUFK20_FCODE_SAP1 :Implement SAP Function Code in Order List
    Else if your on lower version then write up a batch programme which checks the PM Order types with specific status and sets user status using FM STATUS_CHANGE_EXTERN[This is used to set or delete User Status] in SE37 ..
    regrds
    pushpa

  • Statuses of Production Order

    Hi,
    What is the meaning of different statuses of production order?
    Regards,
    Prashant

    Hi,
    Mr. S. Kumar, pl. be carefull before posting in this forum. If you are not knowing anyone / any thread, you don't have right to use such abusing words.
    If you are not intrested in giving correct answers to other persons queries in this thread, atleaset do not post this type of answers to other person's threads.
    Pl. mind your language next time.
    Hope you will.
    Regards,
    Prashant

  • Set User status of Maintenance order

    Dear All ,
    I m trying to update the user status of Maintenance order via a report .I m using the BAPI "BAPI_ISUSMORDER_USERSTATUSSET" for it.
    Code details are as follows :
    USR_STATUS-STATUS_INT  = 'E0006'      "TJ30T-ESTAT
    USR_STATUS-STATUS_EXT = 'WIPR'        "TJ30T-TXT04
    USR_STATUS-LANGU           = 'EN'.
    CALL FUNCTION 'BAPI_ISUSMORDER_USERSTATUSSET'
                EXPORTING
                  NUMBER   = WA_FINAL-AUFNR
                  STATUS   = USR_STATUS
                  INACTIVE = 'X'
                IMPORTING
                  RETURN   = WA_RETURN.
    Bapi is executing successfully but it is not updating the status when I check it from IW33 .
    Suggest me for it....
    Thanks
    Alok

    Thanks SARAVANAN ,
    I have done the bapi commit . But it have some other problem and now I have done it.
    Thanks  for ur suggestion.

  • How to find system status for production orders?

    How to find system status for production orders?
    looked into table AUFK, AFKO and AFVC but none of these tables, carry
    system status as part of the fields(STTXT)
    I tried to filter in COOIS, but not much help
    Able to find system status information in COHV,Is there any other way where
    I can find system status information for production orders
    Kindly guide

    Hi,
    Look into table, JEST, JSTO, AFPO & AFKO. CAUFV filed OBJNR, TJ02T filed ISTAT.
    But, it is very difficult to combine the details like Order and System status.
    Take the help of your ABAPer to generate Report for you.
    Regards,
    Siva

  • 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!

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

Maybe you are looking for

  • Help with Lumia 920 Exchange/Outlook sync email be...

    Hello, I am pretty proficient with Windows Phones. Have had a Focus, and Lumia 900. Now have the 920. Love it, except will NOT sync with my work email, which is Outlook/Exchange. Didn't have a problem with the Lumia 900 doing it. And the 920 will syn

  • Reader 9.3.4 - bug, looking for the fix

    This reference article (CPS) confirms the bug of which I speak: http://kb2.adobe.com/cps/866/cpsid_86693.html#main_9_3_4_and_8_2_4 Acrobat and Reader updates that affect Enterprise workflows What's covered 9.3.4 and 8.2.4 9.3.3 and 8.2.3 9.3 and 8.2

  • Is it possible to change user in call transaction ??

    Hi experts, There is a custom RFC FM wich makes some call transacion (for example to ME21N) and is invoked from .NET. The user logged in that moment is 'USER1' but the client wants user 'USER2' to appear in standard tables (EKKO...) and in ME23N. It'

  • Report weblink prompt row id - Custom Object

    I am trying to run a report on a custom object and want to prompt the row id for the custom object. I can't seem to get it to filter with the prompt. I don't know if I need to reference the row id field by Custom Object 1.Row Id or by the renamed cus

  • BIP Filter

    Hi, I build a report in BIP but I am unable to filter the report cause its showing data for all the weeks and instead i need to see the report for the current week.....how can i achieve that for ex...report should show me week 37 data instead its sho