Default marked for checkbox 'From Family Infotype' under infotype 0198

Hi all,
I need help here to check whether there is something wrong with my codes.
I want to make a default tick at check box 'From Family Infotype' from infotype 0198.
If a user enter Tcode PA30 and using infotype 0198, he will see the checkbox is automatically marked before he can proceed to key in other details by copying it from another record and save it.
Then, i enters the coding as below in include ZXPADU01 but it is not working as needed.
Pls help me to correct this. Thanks.
INFOTYPES:            0198.                                    
DATA: i0198 LIKE p0198.
FIELD-SYMBOLS: <fs_pnnnn> TYPE ANY.                   
FIELD-SYMBOLS: <fs_innnn> TYPE ANY.                   
CASE innnn-infty.
    WHEN '0198'. "Schedular Deduction Tax
    ASSIGN ('INNNN') TO <fs_pnnnn> CASTING TYPE p0198.
    CHECK sy-subrc = 0.
    MOVE <fs_pnnnn> TO p0198.
   IF p0198-subty = '01'.
     IF ipsyst-ioper = 'COP'.
       MOVE 'X' TO i0198-tctgf.
       i0198-tctgf = 'X'.
     ENDIF.
   ENDIF.
    IF ipsyst-ioper = 'COP'.
      IF p0198-subty = '01'.
       MOVE 'X' TO i0198-tctgf.
        p0198-tctgf = 'X'.
      ENDIF.
    ENDIF.
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
      EXPORTING
        pnnnn = p0198
      IMPORTING
        prelp = innnn.
ENDCASE.
Edited by: safarin on Jun 11, 2009 6:51 AM
Edited by: safarin on Jun 15, 2009 4:49 AM
Edited by: safarin on Jun 15, 2009 4:53 AM

Hi Sanda,
I think you can make use of the user exit "PBAS0001". Use one of the components of the exit. Create a project for the same in CMOD and activate it.
Do the business checks in this user exit's include.
Hope this helps you.
Regards,
Subbu.

Similar Messages

  • I want to create a distinct (default) ringtone for calls from people not in my address book?

    I want to have one default ringtone for calls from people who are not in my address book.  I would also have a distinct ( different) ringtone for those people IN my address book.

    Seastar214 wrote:
    I want to have one default ringtone for calls from people who are not in my address book.  I would also have a distinct ( different) ringtone for those people IN my address book.
    Then do that.

  • Websites that use java are not working. In the Java control panel, under advanced, default java for browsers "mozilla family" won't stay clicked

    I've recently gotten a new Windows 8 computer. Ever since, I've tried accessing certain websites (like www.cnet.com) and can't get the java scripts to load like for the drop down menus. When I hover over them they don't do anything. Other computers I have that run Windows 7 are working just fine.
    I've upgraded Firefox and Java to all of the newest versions but it's still not working. When I go to the Java control panel, under "Advanced" and under "Default Java for browsers", the check box next to "Mozilla family" won't stay checked. I'll check it, click "Apply" and "Ok" and then when I open it back up it's unchecked again.
    Help.

    cor-el -
    The dom.w3c_touch_events.enabled was already set to 0.
    I don't have a "dom.w3c_touch_events.expose" line. Is that something I should?

  • Saving default values for checkboxes

    Hi all,
    one of our customers has recently upgraded ´their NW7.00 (SAP ECC 6.0) system to basis SP18. As a result of this, it is no longer possible for users to save default values, in Web Dynpro ABAP applications, neither for checkboxes nor for radiobuttons.
    This worked fine before the application of the support package. The user could simply right click the UI element and select "Use current value sas default" from the context menu, as is still the case for all other input-enabled UI elements.
    This option is simply no longer available in the context menu for checkboxes & radiobuttons.
    I have had a look through the OSS notes in the SP and also the "Side-Effects" report, but can't find anything to indicate that this has been done deliberately by SAP.
    Before I raise this as a question to SAP, does anbody out there have any more information on this issue. Is it a bug or a feature?
    Thanks,
    Mike Speight

    Hi Mike Speightl,
    You can save the default values in the Webdynpro by using the Method (WD_DO_INT).
    For exp :
    If Emp is your Node name.
    ID and Name are your attributes in which you wish to put default values after execution:
    lo_el_emp->set_attribute( exporting name = 'ID' value = '1001' ).
    lo_el_emp->set_attribute( exporting name = 'NAME' value = 'SAP' ).
    When you execute your application, it will display default values in ID : 1001
                                                                                    Name : SAP
    Just before loading any view, this method will be executed :  WD_DO_INT
    If you are referring to default chkbox selected after executing then refer to the concept   Initialize lead selection
    If this is not the issue then please let me know.
    Regards,
    Kittu
    Edited by: Kittu on Nov 16, 2009 4:05 AM

  • Changing default color for arrows from the Shapes palette.

    I'm building a tutorial website for how to buy kitchens from my cabinetshop.
    I use a lot of arrow type lines from the Shapes Palette.
    After I create the arrow-line I have to re-color it to red with the Graphics Inspector.
    Is there a way to set red as the default color for this object?

    No. Send a feature request to Apple via http://www.apple.com/feedback/iweb.html.
    OT

  • Default Values for checkboxes

    I have a report page with two regions: one is for the filters (organization, date, range, etc.) and one is the actual report (set to display only if the report returns rows). I have a Checkbox list that consists of two checkboxes - one for day and one for night. I use them to filter the report based on either Day shift, Night Shift, or both (PL/SQL reports). How can I set the default value of the checkboxes so that both are checked (and the report shows both day and night shift data)?
    Item is P1302_SHIFT, LOV (STATIC2:Day;1,Night;2)
    Thanks.

    For the HTML Form Element Attributes for P1302_SHIFT specify
    checked=true
    This will make the checkboxes render as selected
    For your query add a line to the where clause like
    and ':' || shift || ':' in (':' || :p1302_shift || ':' )where shift is the database column that holds the shift value.
    varad

  • How do create ids for kids on family share under 13

    I want to create  My kids id's on the family share plan. How do go about that if they are under 13?

    If you are the family organiser then you can do it via Settings > iCloud > Family on your iOS device, or on a Mac with Yosemite on it via Systems Preferences > iCloud > Manage Family : Family Sharing and Apple IDs for kids - Apple Support

  • How to use copy default values for material from vendor master in Account Group

    Dear all:
       In define AccountGroup for vendor ,there is a field named DURAS which means default values,who can tell me how to use it?
       Any informations are appreciated!

    Hi Katherine,
    I have tried using default value as B in the customizing
    If i maintain default values in the vendor master record, it will automatically adopt in the purchase info record.
    Here i tried using sales person & telephone no field in vendor master record & it automatically adopts to purchase info record.
    Region sales person and telephone no i have maintained in vendor master record, it automatically fetches to info record for the particular account group. I am not sure if there is any relation between vendor master and material master record.
    Regards
    Subbu.

  • Set default value for checkbox in XML definition

    Hi,
    I'ld like to set a default value to a checkbox (bound to UserDataSource) within the XML definition of my form.
    Is this possible, and if so, how??
    I'ld also like to know if there is a description available of all possible tags/combination in XML batchactions.
    Kind regards,
    Joeri

    Hi Joeri.
    I'm afraid you can't do that via XML, I think the only way to ensure that you have your box checked is through a UserDataSource, so use the Collections tab to connect your checkbox to an appropriate UserDataSource, and in the code, you can re-bind the checkbox to another datasource.
    I hope my idea was clear
    Best regards.
    Younes

  • Default Namespace for Assign/From/Literal

    For BPEL code fragments as follows:
    <process
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"..>
    <assign>
    <copy>
    <from>
    <literal>
    <bar />
    </literal>
    </from>
    <to variable="myFooBarElemVar" />
    </copy>
    </process>
    May I know what is the namespace of bar element?
    (Is it unqualified, or it is using the namespace of process, i.e. http://docs.oasis-open.org/wsbpel/2.0/process/executable?)

    Hi Jack,
    The example you posted below it will use the "http://docs.oasis-open.org/wsbpel/2.0/process/executable" namespace.
    Thanks
    Sander

  • Audio only with default Quicktime for Windows from FCP7

    This has happened before and I know one solution is to Export>Quicktime Conversion
    However I'm curious to know what is going on when I Export>Quicktime Movie and then give this file to someone to open on a Windows PC they only get sound and no visuals.  They have Quicktime Player.
    Wondered if this is a bug on my system or if others have experienced this,  The movie file plays fine on my iMac.

    Dwyerfen wrote:
    However I'm curious to know what is going on when I Export>Quicktime Movie and then give this file to someone to open on a Windows PC they only get sound and no visuals.  They have Quicktime Player.
    What codec are you working in (Sequence Settings) ? The export method you described will produce a master file with the same codec. That codec must also be present on the Windows machine to play it back. In this case it would appear that they do not have it.

  • How do I change my default back to Safari from Firefox?

    I installed Firefox on my Macbook. Somehow, as part of the install, it became the default browser for links from Mail. I'd rather use Safari as my default app. Is there a place to change default browsers, and more broadly, is there a place to assign default applications in general?

    Also:
    In case you need to use Firefox in the future (when Safari doesn't display a page or web form correctly) it's advisable to go into Firefox->Preferences and uncheck the box that says "Always check to see if Firefox is the default browser on startup" button so it won't annoy you or accidentally reset Firefox to the default browser when you next use it.

  • I have justed upgraded CS2 to CS5. How do I set artboard crop or trim marks for printing?

    I have justed upgraded CS2 to CS5. How do I set artboard crop or trim marks for printing?  It was under the "OBJECTS" menu in CS2, but I can't find it in CS5.

    it actually works the same way but better you don't see it that way but with perhaps more experience you might catch on and say "oh now I see that' all I have to do.
    Multiple artboards, which you did not have in CS 2 , changes the equation.
    When you open a new document you can set up a gangup in the new document dialog then say for a business card then do one business card in the first one.
    Then copy the art and text of that first one and in one command paste that art in all of the artboards with one command, you can then make another artboard that encompasses all the artboards and you now have a gang up say six up you can now print all a once as a gang up or print a range of the artboards or specific artboards.
    As a matter of fact now that you can paste on all artboards with one command AI CS 5 actually has a step and repeat feature that works verticaly and horizontally at the same time. And an improved version is easily had.
    Also since you probably know how many you need of this first artboard then you can simply make one rectangle for for the first artboard and give it a crop area effect and when you do your copy include the rectangle and then paste on all artboards and there you are
    look at the video, see how cool. less complicated not more complicated. And as other users explore this function I bet they come up with even better ideas.
    http://mysite.verizon.net/wzphoto/Artboards.mov
    I am going to make one adjustment here instead of doing a command c to copy the first artboard it would be better to do a command x to cut the first one since the command paste on all artboard does exactly that. So if you do a command c and a command option shift v then you have two rectangles and art and crop marks pasted on top of each other. Probably won't do any harm but might be confusing in the layers panel.

  • Mark for redaction utilities are not in my Tools

    I'm trying to a make redactions to a PDF and I don't believe the "mark for redaction" utilities are in my Tools.
    Is this a Mac Yosemite 10.10.2 issue?
    My trial expires in 2 days and if I can't redact there is no reason to buy the program. I have been doing this for over 7 years, but on a PC.
    Any suggestions
    Cal

    Hi calw5594682,
    Do you mean 'Mark for redaction' option is missing under your tools pane?
    Please let me know what version of Acrobat are you using?
    Regards,
    Rahul

  • Change Default Application level setting for checkbox value from "On"/"Off" to 1/0

    Hi,
      I am creating livecycle designer forms. In that the checkboxes take a default value of "On'/"Off" and I have to change it to 1 and 0 in all the boxes on layout checkbox property.
    In livecycle i have to change it in Object-Binding tab.
      Is there an application level setting where I can set the default to 1 and 0 instead of "on/"off" at the app level itself? this way every new form will have 0 and 1 instead of off/on
    I export the form data to XML and push it to database and it needs 1 and 0.
    I need the app setting for both Adobe Acrobat 9 Extended Pro
    Please help

    It is 1/0 by default .....if you drag a checkbox from the object library onto the canvas and you are getting on/off as your default, then you have modified th eobject. You can set the object the way you want (anf property not just binding) and then you can drag the object back onto the Library palette. This will ask you to name it and if you choose the same name it will overwrite the one that is in the library.
    Paul

Maybe you are looking for