WBS Element  in selection screen

hi,
WBS Element in selection screen of the report need to be added from BSEG table of field PROJK.
requirement is
for eg- if you take a WBS Element suppose 11020017 and you put in BSEG table give the values as
BUKRS= 0010
GJAHR =2008
PROJK =11020017 it gives a message WBS Element 11020017 does not exist.
where as this WBS element if you insert in Function module  CONVERSION_EXIT_ABPSP_OUTPUT
input as 11020017 , you will get output as 1000050-01.
and again goto BSEG table and give the values as
BUKRS= 0010
GJAHR =2008
PROJK =1000050-01, now u will get the value of  WBS Element as 11020017 .
in the report the bussiness requires WBS Element in selection screen , the user gives the value of WBS Element in selection screen 11020017,it gives a message WBS Element 11020017 does not exist, the user should give this value1000050-01, but user doesnot know this value,user knows only 11020017 value.
now if the user gives in selection screen 11020017 it should work i mean it must convert  to 1000050-01.
how to use function module in selection screen.help with code
thanks in advance

Hi,
     Use in following way, declare a parameter P_PROJK as character type, if you declare it as TYPE BSEG-PROJK system will defaultly check in dadabase table.
PARAMETERS : p_projk(10) TYPE c.
AT SELECTION-SCREEN.
  CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
    EXPORTING
      input  = p_projk
    IMPORTING
      output = p_projk.
START-OF-SELECTION.
  BREAK-POINT.
Regards
Bala Krishna

Similar Messages

  • How to color the text element in selection screen

    hi,
    i am going to pass some text element in selection screen output  and my requiremnt is text element should be given some colour.
    plz guide me.
    regards
    muthuraman.d

    Hi...
    Dont Declare your field as OBLIGATORY.
    Instead perform the validation in AT SELECTION-SCREEN event. But validation should be only when Particular Radiobutton is selected.
    And Generate only Error Message (Type E).
    Try this code:
    AT SELECTION-SCREEN on <yOUR mandatory field>.
       IF PA_UPD = 'X'.
             IF <YOUR MANDATORY FIELD>  IS INITIAL.
                  Message 'Entry is must in this field' type 'E'.
             ENDIF.
       ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    IF pa_udp = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ABC'. "#CCE
    screen-active = 1.
    ELSEIF screen-group1 = 'DEF'.
    screen-input = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_rep = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ABC'. "#CCE
    screen-input = 0.
    ELSEIF screen-group1 = 'DEF'.
    screen-active = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDIF.
    <b>Reward if Helpful</b>

  • Text elements and selection screen

    I changed the selection screen using enhancement frame concept. But I can not change the selection text that displays on the selection screen.
    Does anybody know how to do it?

    Hi
    I was able to change the selection screen, my issue before was that I was implementing changes to an Explicit enhancment that was not switched on so the code was not being processed.
    I used the explicit enhancement MGV_GENERATED_RIAUFK20 # 14 on my system. It has the initialization piece in it. To add the frame header to the selection screen I used a read and insert on the text-pool and for the individual fields I used the FM selection_texts_modifiy.
    Hope this helps
    John

  • Change WBS element from Sales order

    Hi...
    I have created one sales order with WBS element assignment then I have created billing document and released to accountingu2026.
    Accounting and controlling documents are fineu2026
    After creation of accounting document system is allowing to change or delete the WBS element at sales order item levelu2026same time profit centre field does not allow to change or delete
    We donu2019t want to user to change WBS element after creation of accounting documentu2026that field should be shown in greyu2026
    Please help me to solve this issueu2026
    Thanks,
    Raj

    Hi,
    You can create a Transaction Variant for the transaction VA02 in which you have to maintain the WBS Element field as output only.
    1. Go to SHD0, enter VA02 in Transaction & give a name to the transaction variant and press Create.
    2. Enter an order no., go to the item "Account Assignment" tab.
    3. Check "Output Only" against WBS Element in the screen listing all the tabstrips & Fields.
    4. Exit & Save.
    You will be returned to the SHD0 screen.
    Select the "Standard Variants" Tab under "Standard Vriants" tab. Press activate to activate the Transaction Variant.
    Go to VA02 to test the variant. You will get the WBS Element disabled.
    Revert in case of any doubts.
    Regards,
    Vijay

  • FBL1n - WBS Element

    Hi All,
    My client needs report for payment made and balance against WBS Elements.
    My process is PR>PO>SES>MIRO>Payment to Vendor.
    I tried FBL1n , after adding WBS elements (field selection) the values are blank.
    What is the reason for values coming blank?
    I am not using cash flow and dont want.
    Actually MIRO is account assigned to WBS Elements through Service Entry Sheet. So logically when i am making payment through F-53 against MIRO,the values should appear in WBS element in FBL1n
    Please suggest.
    Regards,
    Pravin

    if you are using Funds Management then you can find the in FM line item report.
    I doubt you can find in FBL1n, but i think in MM have report on vendor payment history and you can include additional fileds there, not sure on report name.
    You assign WBS to cost elements,  was wondering whether you can list WBS for B/s items.
    Thanks,
    Chanru

  • Settling the WBS element costs to an AuC

    Please Explain the procedure for settling the WBS element costs to an AuC & then to asset?

    Hi,
    Please follow the below sequence of steps for this:
    1) For WBS element where the asset has to be created, AUC willbe created automatically when the WBS element is in release status to get this investment profile should be assigned to WBS element in Control Tab
    2) You can see in the system status show as AUC to see the AUC number follow the path
        EDIT-> WBS element -> Investment program--> Asset under Construction where you can see the AUC which is created automatically
    3) Once the above two steps are through, for settlement to AuC goto transaction CJ88 give the WBS element number select the processing type as partial captalization and execute all the costs pertaining to that. WBS elements will be automatically settled to the AUC which is created for that WBS element
    Thanks,
    Prithwiraj.

  • Selection screen validation  - one field based on another field

    Hi all,
    i'm getting Month in Select option and Year in Parameter.
    When i execute the report, it should check whether one is entered without the other one. If so, it should throw error message. 
    How to do this in selection screen ?
    this is what the coding should be...
      if s_month[] is not initial and p_year is initial.
        Message 'Enter Payroll Year' type 'E'.
      endif.
      if s_month[] is initial and p_year is not initial.
        Message 'Enter Payroll month' type 'E'.
      endif.
    But under which event i should write this..
    can anyone pls help me..
    Regards,
    Shanthi

    Hi Shanti,
    Define your selection-screen elements between
    SELECTION-SCREEN BEGIN OF BLOCK <block name>
    Select-options....
    Parameters:
    SELECTION-SCREEN END OF BLOCK <block name>
    You specify ur code in AT SELECTION-SCREEN ON BLOCK <b1>.
    This would help you if either one of the entry is missing...
    And even you can mention in AT SELECTION-SCREEN event...
    But if you have any other parameters there its not necessary for the user to specify if he had entered...
    As month and year are interrelated for your program its better you go for the first procedure ie in BLOCK event.
    Hope this would help you,
    Regards
    Narin Nandivada.

  • New Tab in WBS Elements & need to pull fields from Std SAP Tab to the New

    Hi All,
    I would like to create a new TAB in WBS Element & I need to pull fields from Basic data tab,Origanization Tab,Control Tab & user Fields Tab  to the New Tab.
    Basically my clients wants to see all the fields (based on the requirement) in one TAB.So user will directly  go to the Custom Tab & enter the input data & save.
    So Kindly guide me how to proced.I tried WBS Layouts ,but am confused.
    Any ABAP work is required?or can we do it in PS Configuration itself?
    Thanks
    Suresh

    Configuration:
    Project System>Structures>Operative Structures>Work Breakdown Structure (WBS)>User Interface Settings>Layout of WBS Element Detail Screens>Define Layout of WBS Element
    Detail Screens
    Do do something as below:
    Project Profile:000CAP1
    Act Cat:*     
    Tab Page ID: TAB01     
    Tab page Title:Basic Data
    ICON_HEADER
    Details Screen 1: 2 (WBS Element Basic Data)
    Details Screen 1: 5 (WBS elements, organization)
    Details Screen 1: 8 (WBS Element: User Fields)
    Regards
    Sreenivas

  • Project/WBS element documents - in CJ20N

    Hello everybody,
    I have a requirement to implement documents into PS module.
    The tasks are:
    1) attach document to proj. definitioon/wbs element
    2) select the right document from list of templates
    3) automatically fill in the data
    4) possibility od manual change - mainly in CJ20N
    5) verisons & statuses
    I have in my mind three possible solutions, but as I've never done that before, I can't decide which one will satisfy my needs.
    a) Documents assigned to WBS element (cv01n can create such a document - I don't know how to maintein them)
    b) Somehow connect documents from Business document navigator (OAOR transaction)
    c) Somehow connect Smartforms to definition/wbs element
    Can anyone give me an overview and/or the way how to accomplish this task?
    Thanks for any suggestions.
    Petr

    Hi, Thanks for your reply.
    Two questions:
    1) How do I connect it to the CJ20N (project Builder) to be able to change the document over there
    2) Can I put there fields of the generated document, which I must fill manually (keyboard) - because the information can't be retrieved from the system
    Thanks
    Petr

  • CJ20N - status release WBS element

    In transaction code CJ20N - projects, when you release the status of an WBS element, which BADI is called ?
    I need to transfer fields from the WBS element to the screen assets under construction, and especially to the tab 'allocations'.
    Regards,
    Alex Glorie

    HI
    Welcome to SDN
    [ Click This|Re: User Exits and Badi]
    Regards
    Pavan

  • Problem in Include WBS Element Screen

    Actually i got some steps for CJ01(Create Project).
    It is saying that after going to WBS Element Overview screen and  making all the entries for WBS element and description select the INCLUDE button .
    I tried a lot but i am unable to search that include button.
    Please help me.

    I also tried a lot but i didn't find any solution for this.
    The step also says that a message will appear like(in case i have entered 6 WBS elements and after selecting INCLUDE button)
    '6 WBS elements were included'
    in the create project: project definition screen.
    Can anyone tell me that when this type of message appears while creating WBS .

  • ****Selection of WBS element Similar to LDB ( PSJ )****

    Hi,
    I need to select WBS element (PRPS-PSPNR)
    Based on the following fields on the selection screen
    Project PSPID
    WBS element POSID
    Network/order AUFNR
    Activity  ACT01-VORNR
    Materials in network  AFVC-ISTRU .
    Help needed urgently .
    High Points will be given for sure .
    Thanks In Advance

    You can use the table "AFVC"

  • ALV Filter Selection w/ error "WBS element 0000000000000000 does not exist"

    Hello,
    In a few ALV reports, we have WBS Element column showed in ALV list and WBS Element defined as type BSEG-PROJK, which has conversion routine ABPSP.
    When WBS Element is used for ALV list Filter, in Selection screen, error message "WBS element 0000000000000000 does not exist" is pop up as we hit Enter key or click on u201CSelection optionsu201D button with no value entered in Input fields.
    We get same error even after we enter an existing WBS Element in Low selection input field and hit Enter key.
    Itu2019s ok if we enter existing WBS Element value in both Low and High selection input fields.
    We know we have workaround by entering both Low and High input field, and we can fix ALV reports by using character based WBS Element, such as PRPS-POSKI.
    BUT, as users told me, they donu2019t have this problem before and it just happened. We checked the recent Transports and couldnu2019t see anything relevant.
    Could any of you let me know if you have any clue or if thereu2019s any other way to fix it besides changing report by report.
    Thank you.
    SL

    Hello,
    In a few ALV reports, we have WBS Element column showed in ALV list and WBS Element defined as type BSEG-PROJK, which has conversion routine ABPSP.
    When WBS Element is used for ALV list Filter, in Selection screen, error message "WBS element 0000000000000000 does not exist" is pop up as we hit Enter key or click on u201CSelection optionsu201D button with no value entered in Input fields.
    We get same error even after we enter an existing WBS Element in Low selection input field and hit Enter key.
    Itu2019s ok if we enter existing WBS Element value in both Low and High selection input fields.
    We know we have workaround by entering both Low and High input field, and we can fix ALV reports by using character based WBS Element, such as PRPS-POSKI.
    BUT, as users told me, they donu2019t have this problem before and it just happened. We checked the recent Transports and couldnu2019t see anything relevant.
    Could any of you let me know if you have any clue or if thereu2019s any other way to fix it besides changing report by report.
    Thank you.
    SL

  • Capturing elements value in the selection screen for LDB during run time

    Hi,
    I have a program where LDB is used.
    Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
    Specially, the company code and the period values.
    Please reply . Its too urgent.
    Regards,
    Binay.

    I got it

  • How to deal with dynamic selection screen elements when macros are used?

    Hello experts,
    This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the output. I actually did everything required except for the one thing that is going out of my reach.
    There are a certain fields which are coming when they are not supposed to get displayed. I don't understand the code because of its obsoleteness. Neither can I debug it because it is just data declaration.
    This is the code where there is a fault. If I copy the entire code into a new Z report, I'm getting new fields like Entry Date, Document Type, Reference Transaction,  Reference key, Logical system.
      DEFINE selection_screen_line.
      selection-screen: begin of line.
      parameters &3 like &4 default 'X' modif id mc4.
      selection-screen: comment (30) &1 for field &3 modif id mc4.
      selection-screen: comment pos_low(10) text-019
                        for field &2 modif id mc4.  "neu
      parameters &2 like rfums_alv-variante modif id mc4.
      selection-screen:
          position pos_high.
      selection-screen: pushbutton (15) text-028
                        user-command &5 modif id mc4.
      selection-screen end of line.
    END-OF-DEFINITION.
    Kindly, suggest me the right solution.

    In the program attributes ( SE38 > RFUMSV00 > GOTO > Properties ), you will find a logical database BRF declared. The include DBBRFSEL is part of the selection screen of this logical database.
    The selection screen is actually the selection screen of this logical database.
    Under the Logical Database field, there is a Selection screen field where you can input which selection screen of the logical database to be used.
    But, this is just to change the selection screen that is displayed. To completely suppress it you need to remove logical database declaration from the properties of the program and call it inside your program through function module.
    You cannot just remove it from the declaration because many of its variables are used in the program.
    So call it using function module as the first step in INITIALIZATION section of the program.
    The syntax and function module to call it in your program can be found in the following thread :
    How to hide the selection screen of a Logical datebase?
    Regards,
    Ashish

Maybe you are looking for

  • Output of Billing Document

    I have a problem with the printing of a billing document. I di set up the output determination of a billing document, but when I try and print, the Issue Output To window pops up with the Print Preview button and the print button. When I click on the

  • Performance issue in SQL while using max

    Hi I have log table which desired changed date. if any transaction entered for the changed date and less, then the name and location should be shown based on change log table. if change log entry has two values for a same date for a customer then nee

  • Samrt forms Purchase order template

    Hello guys, we are having a SAP 4.7 system and we want to do your purchose orders via SmartForms. But there is no template in the system. Are there any notes for example were I can get this.... Thanks BR Christian

  • Adobe Reader LE 2.5 in HTC Touch HD has no reflow options in the menu or right click document options

    Adobe LE 2.5 bundled with HTC Touch HD does not show reflow option in the menu at the bottum or the right click options over the document. Can any one help please

  • Problems when I publish

    Hi! I use Iweb but now when I try to publish it says unknown problem. I recently had to replace my harddrive and I used an external harddrive for a complete backup. So in 10 min the computer was up and running again. Everything seams to work except t