<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to export values to a Module POOL Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592610#M1274828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try using IMPORT and EXPORT memory id.&lt;/P&gt;&lt;P&gt;Get syntax details by pressing F1 on IMPORT and EXPORT in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps in resolving your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2009 09:15:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-04T09:15:47Z</dc:date>
    <item>
      <title>How to export values to a Module POOL Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592609#M1274827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a customized infotype for an appraisal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have made a program which calls that infotype module program through transaction but it shows the error that no entry in table t589a for P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you guide me how to solve this issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just want to call the screen of that infotype which is seen in PA30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Saad. Nisar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: itab_empdata LIKE TABLE OF person.
DATA: itab_data LIKE TABLE OF person WITH HEADER LINE.
data: itab_info like table of pskey with HEADER LINE.
DATA:  ppernr TYPE pa0001-pernr.
DATA opt TYPE ctu_params.
opt-DISMODE = 'e'.
opt-defsize = 'X'.
opt-updmode = 'x'.
*----------------------Start of Selection Screen----------------------*
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) text-002 FOR FIELD pernr.
PARAMETERS pernr TYPE pa0001-pernr.
SELECTION-SCREEN END OF LINE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) text-008 FOR FIELD ename.
PARAMETERS ename TYPE pa0001-ename.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) text-003 FOR FIELD persg.
PARAMETERS persg TYPE pa0001-persg.
SELECTION-SCREEN COMMENT 20(15) text-009 FOR FIELD werks.
PARAMETERS werks TYPE pa0001-werks.
SELECTION-SCREEN END OF LINE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) text-004 FOR FIELD persk.
PARAMETERS persk TYPE pa0001-persk.
SELECTION-SCREEN COMMENT 20(15) text-005 FOR FIELD kostl.
PARAMETERS kostl TYPE pa0001-kostl.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) text-006 FOR FIELD orgeh.
PARAMETERS orgeh TYPE pa0001-orgeh.
PARAMETERS orgehtxt TYPE person-orgeh_txt .
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) text-007 FOR FIELD plans.
PARAMETERS plans TYPE pa0001-plans.
PARAMETERS planstxt TYPE person-plans_txt .
SELECTION-SCREEN END OF LINE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 100.

SELECTION-SCREEN: BEGIN OF TABBED BLOCK b2 FOR 6 LINES,
                  TAB (16) title USER-COMMAND '' DEFAULT SCREEN 100,
                  END OF BLOCK b2.

SELECTION-SCREEN BEGIN OF BLOCK block WITH FRAME TITLE text-001.
PARAMETERS intype TYPE pskey-infty.
SELECTION-SCREEN END OF BLOCK block.

INITIALIZATION.
  title = 'Employee Details'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;START-OF-SELECTION.
***********************************************************************
*AT SELECTION-SCREEN OUTPUT.
************************************************************************
AT SELECTION-SCREEN OUTPUT .
  LOOP AT SCREEN.
    IF screen-name = 'ENAME'
    OR screen-name = 'PERSG'
    OR screen-name = 'PERSK'
    OR screen-name = 'KOSTL'
    OR screen-name = 'WERKS'
    OR screen-name = 'ORGEH'
    OR screen-name = 'PLANS'
    OR screen-name = 'ORGEHTXT'
    OR screen-name = 'PLANSTXT'.
      screen-input = '0'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

  LOOP AT SCREEN.
    IF screen-name = 'ORGEHTXT'
     OR screen-name = 'PLANSTXT'.
      screen-output = '1'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;***********************************************************************
*AT SELECTION-SCREEN .
************************************************************************
AT SELECTION-SCREEN .
  ppernr = pernr.
  CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
    EXPORTING
      person_id             = ppernr
      selection_begin       = sy-datum
      selection_end         = sy-datum
    IMPORTING
      personal_data         = itab_data
    EXCEPTIONS
      person_not_found      = 1
      no_active_integration = 2
      OTHERS                = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ename = itab_data-ename.
  persg = itab_data-persg.
  persk = itab_data-persk.
  orgeh = itab_data-orgeh.
  plans = itab_data-plans.
  kostl = itab_data-kostl.
  werks = itab_data-werks.
  orgehtxt = itab_data-orgeh_txt.
  planstxt = itab_data-plans_txt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF pernr IS INITIAL.
    MESSAGE  'PLease Enter Employee Number' TYPE 'I'.
    " ELSEIF intype IS INITIAL.
    " MESSAGE  'PLease Appraisal Infotype' TYPE 'I'.
    "ELSE.
    "  EXIT.
  ENDIF.

  IF intype EQ 9112.
     CALL TRANSACTION 'Z9112' USING itab_info OPTIONS FROM opt.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please read &lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; before posting - post locked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 4, 2009 9:19 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 07:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592609#M1274827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T07:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a Module POOL Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592610#M1274828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try using IMPORT and EXPORT memory id.&lt;/P&gt;&lt;P&gt;Get syntax details by pressing F1 on IMPORT and EXPORT in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps in resolving your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592610#M1274828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a Module POOL Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592611#M1274829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you guide me with an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592611#M1274829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T09:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a Module POOL Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592612#M1274830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this standard  program,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;demo_data_ext_cluster_export&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;demo_data_ext_cluster_import&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anbu B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-module-pool-program/m-p/5592612#M1274830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:17:06Z</dc:date>
    </item>
  </channel>
</rss>

