User Exit - adding defualt WBS Element in addi.tab for IW31 - Servi.Order

I am facing a problem with adding WBS Element in Addit.Data tab for Service Order creation using IW31.
At the time of creating service order using TCODE IW31, I have to maintian default values like WBS ELEMENT, for this I am using a USER EXIT "IWO10010".
The problem is getting dump error. Becuase, it is NUMC type and I am passing the value with character + numeric. Like "EX/1232/22".
Field length is NUMC - 8.
"CAUFVD-PSPEL"
If I create manually without using user exist, the field WBS Element is accepting the value and service order is creating successfully with WBS Element.
This is also same as CAUFVD-PSPEL.
I Couldn't understand How the SAP system will works?
Any solution for this.
Note: Creating Service Order IW31, Passing WBS Element with user exist with same field (CAUFVD-PSPEL) giving dump error showing "Passing Character values". If I create manually, and enter character + numeric in the same field CAUFVD-PSPEL, system creating service order without any error.
Help me out
thanks
Sekhar

self answered

Similar Messages

  • Can I use User Exit u2013 IWOC0004 u2013 Change Single-Level List for TCODE IW37N?

    Hi All,
    Can I use User Exit u2013 IWOC0004 u2013 Change Single-Level List for TCODE IW37N?
    In documentation of the User Exit I can see that I  can use this user Exit for IW37(Program - RIAFVC20) , but I want to use this for IW37N (RIH_ORDER_OPERATION_LIST).
    Please tell me is it possible.
    With best regards,
    Narendra

    Hi Pete Sir,
           I am on 4.7 , how to work with it. I am going to use screen exit IW0110018 and I want to add User fields in the IW37N.
    Thanks with best regards,
    Narendra

  • Find WBS element of level 3 for all WBS elements underneath

    Hello
    I need to find WBS element of level 3 for WBS underneath (level 4, 5, 6, 7........). What is the esiest way to do it?
    Shall I use WBS element structure CP-1061-01-01  ..... or a techinal id of wbs element.
    Thanks

    Hi,
    Check the below link it may help you
    http://help.sap.com/saphelp_dimp50/helpdata/EN/d3/a5112fe32311d1a6ab0000e83235d4/frameset.htm
    Regards,
    Marasa.

  • User exit to restrict WBS creating Network / PR

    Hi All,
        I want to know user Exit for WBS to restrict from creating Network or PR . Basically I want to restrict 1st & 2nd level of WBS from creating PR & my client not ready to use any manual method to restrict the same so I want to know any User Exit for the same .
      Thanks

    Hi,
    Let me again take your queries point wise.
    1. Is  there any User exit available to restrict the network for only 1st & 2nd level WBS  because my user are not ready for  User status or  for any manual process  .
    Answer:- Try
    CNEX0009 (Material Components in Network)
    CNEX0026
    PPC00008 (Enhancement in adding and change in Components)
    2. Is it possible to give only display  authorization  for only 1st & 2nd level WBS   to some user ( only for those who creates Network in project structure)
    Answer:-  Yes, try executing SHD0 and create a transaction variant and later on do the changes like which field to make display only and which one to not.
    OR
    Ask Basis guys if they can help you out in this case.
    3. Any way if I creates Network but not possible creates Activity or not possible to assign Material to that Activity ( to restricts Creates PR  or Reservation through CJ20n )
    Answer:- Try OPSG settings as I mentioned in my earlier post.
    OR
    Try in OPUA, OPUB and OPUC and search if you hide activity based on INFLUENCING FIELD on LEVELS of 1 or 2 only.
    OR
    Change Procurement Parameter Indicator of Res/Pur. req to NEVER
    OR search in OPUK (Not sure if this can help you)
    OR Try using user staus and set it to level 1 and 2 only. You need to use all Object Types of Network. There would be 3 object types related to network and then use the business transaction as Material Purchase Requisition. Set this to Forbidden and then set this user status to WBS/Network.
    Have a look at the following screen shot.
    I hope this may help you..!!
    Regards,
    Amit

  • Problem in catching the User status of a WBS Element

    Hi All,
          In CJ20n transaction we need to catch the User status for a particular WBS element when it gets changed to 'Technically Completed(TECO)' so that we can create an asset.
         At present we are using the method <b>'AT_SAVE'</b> of the BADI <b>'WORKBREAKDOWN_UPDATE'</b> in which we are unable to catch the user status since the user status is not getting updated in the JEST table at that time.
        We have tried calling a function module in Update task but in that also the JEST table is not getting updated.
    Please provide us the solution.
    Thanks and Regards,
        Siva

    Hi Siva,
    Try the following BADIs
    WBS_FIELDS_FOR_ASSET
    WBS_MULTIPLE_ECP
    If these do not solve your purpose, then there is a work around..
    1). Goto the transaction CJ20n -> goto the User Status Screen -> On the User Status check box press F1 -> Goto technical information. Get the Structure and field name of the Status.
    2). This structure will be filled up with the current value during the program execution. You can get the value from this Structure.
    Hope it helps...
    Lokesh

  • User exits to update a Zfield in AUFK table for T-code KO01(Order Creation)

    Hi all,
    I have a custom field(zZTEST) in aufk and coas struture(zztest) in order to display in the output generated by kok5 for order.
    The reason for adding in coas struture is the ALV output in kok5 uses coas structure
    I know aufk table gets an entry while creating an order in ko01.
    When i save the order (i.e when i succesfully create an order) i have to pass a value to aufk-zztest so that the custom field in aufk for that internal order created has an value.
    I was looking at the user exits available for ko01
    i found 5 user exits for ko01
    Exit Name---Description
    COOPA002---Customer function for master data maint. - internal
    COOPA003---User-Defined Fields in the Order Master
    COOPA004---Customer function: Print order master data
    COOPA_01---Customer check modules for internal orders
    KKAZ0001---Customer check modules for internal orders
    I have written the code break-point in all the includes associated with this USER EXITS.
    Out of this only only 2 includes gets triggered when i click General data and investments tab .
    I have the code in both of them and the aufk tables gets updated when i save an internal order and i can see the value in kok5 output as well.
    To be frank this is what i want.
    But my only worry is that when we create a new internal orders we don't have any data to be filled i.e mandatory fields in General data and INvestments tab.
    i.e. user can create an internal order without even going to these tabs(General data and INvestments tab) in that case the custom field doesn't get updated and as a result of that i don't see that value in KOK5 ALV output.
    Let me know what can be done or is there any other way that this can be achieved or the way i approached is right or wrong or am i am missing any user exits and the system is at 4.6c.
    Thanks
    Venkat

    Hi,
    Any suggestions on this post
    Thanks

  • Is there any user exit/ badi to populate the partner bank type for   F-63.

    Is there any user exit/ badi to populate the partner bank type (field name BSEG-BVTYP) in transaction F-63. There is exit ‘ZFI_FOAP_CDITEMS_00001011’ having BKPF and BSEG as only import parameters so I can’t change the value for BSEG-BVTYP.
    So could you please let me know any exit where I can change the value for BSEG-BVTYP for transaction F-63?
    Thanks in Advance,
    Steevan

    hi,
    Below r the user exit related to transaction  F-63.
    Check out if any of them will solve ur Query..
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    Reward points if helpful,
    Regards,
    Brijesh

  • Creation of WBS Element in level 2 for transation CJ01.

    Hello All,
    I am able to create WBS element for only one level for the transaction Cj01 through BAPI "BAPI_BUS2054_CREATE_MULTI"
    Can anybody tell me how to create the WBS element in the level 2 below the first WBS element.
    Thanks,

    Hi
    Check the link:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0451304650DB10061726740868935361End?blog=/pub/wlg/9659
    Regards,
    Sreeram

  • SO Pricing User Exit - How to know which item is selected for re-pricing.

    Hello Experts,
    I have to modify material data when user does a update pricing in VA02, the problem is...How do I know which item is selected for re-pricing (in MV45AFZZ)? I am using user exit USEREXIT_PRICING_PREPARE_TKOMP.
    For Ex: If my order has 3 items and 2nd one is selected and then 'Update' is done on 'conditions' tab. Above pricing user exit is triggered 3 times for all items, so I cant check XVBAP.
    Your help will be appreciated.
    Thanks,
    Sagar

    Hi J@Y,
    Thanks for reply. But USEREXIT_PRICING_PREPARE_TKOMP is triggered for all items, so how do I know which is current item?
    If you see in debug mode, xvbap-posnr and tkomp-kposn will have 10,20,30 everytime (for 3 times). How do I know if user has selected 20?
    Thanks,
    Sagar

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • How to change WBS Element in FI Entry for Asset

    Hi all,
    I have a scenario where an asset has been capitalized with  WBS element 1. After several months we realized that it has to go to WBS element 2.
    We update the Asset Master Data with a new WBS Element 2.
    Depreciation from this date onwards is posted to WBS Element 2 (this is expected), but in FI the asset acquisition cost is still in WBS element 1.
    Does anyone know how to rectify the FI document with correct WBS element i.e  WBS Element 2
    Any advice would be greatly appreciated
    Regards
    Pramod Saraswat

    Hi Pramod,
    In posted document you cant change the WBS element.
    In order to post on WBS 2 , you have to reverse the acquisation entry posted on WBS1. Then update correct one in  asset master then post acquisation.
    Ravi

  • WBS element field in SO for milestone billing

    Hi,
    I am using Milestone billing. When I am trying to create the Sales order the WBS element field is greyed out. Pleae advise.
    Regards,
    Santanu

    Hi Shantanu,
    I think you need to remove the assignment of the requirement type KE from your item category. I gues you are using TAO as the item category for Milestone.
    You go to Sales and DistributionBasic FunctionsAvailability Check and Transfer of RequirementsTransfer of RequirementsDetermination Of Requirement Types Using Transaction.
    Hope it helps.
    Shivaji.
    Edited by: Shivaji  Paul  Choudhury on Mar 2, 2009 4:21 PM

  • User exit/BADI to have a validation in MIRO for item level

    Hi Experts,
         My requirement is to do a validation in MIRO (Invoice Verification) transaction, when the user enters the PO details ( T.code - MIRO ) and if the material group in the line item belongs to specific set of material groups, then I want to show a popup stating to choose a different GL account.I am searching for a suitable User exit to implement the above change which I have mentioned. So Could you please suggest me any User exit or BADI Which can be used to incorporate my changes.
    Thanks in advance.
    Regards,
      Srinivas

    Hi,
    check this thread:
    BADI IN MIRO
    Best regards.

  • How user exit is used to populate the Profit center field in  Sales order?

    Hi All,
    Please let me know :
    How the user exit is used to populate the Profit center field in the Sales order?
    Please gurus answer as quickly as possible as I require this urgently.

    Hi,
    To derive the correct profit center in the Sales Order, you customize in 0KEM.
    Trust this helps much and do encourage our efforts!
    Cheers!

  • WBS element&Cost center required for Account 11111000000 Profit center 1234

    Hi,
    While realeasing the billing document we are getting the subjectted error.
    We do maintain the cost centre in the sales order, however no idea about the WBS elemnt.
    Pls help.
    Regards,

    For information, if you want to post any data to WBS element, the Account Assignment indicator should have been ticked which you can do in OPSA or try in T.Code CJ20N where you can input manually.
    For more information on WBS element, go through this thread
    [WBS Element  |WBS Element]
    thanks
    G. Lakshmipathi

Maybe you are looking for