<?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: Understanding the Source Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166896#M121995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could u tell me what the functionality of the FM that is being called inside this program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2006 10:39:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-03T10:39:28Z</dc:date>
    <item>
      <title>Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166890#M121989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Pasted below is the Source Code of a Conversion Routine(CONVERSION_EXIT_ABPSP_INPUT).Can anyone tell me the fnctionality of this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sajan.M &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if flg_exists_abpsp = '?'.&lt;/P&gt;&lt;P&gt;    call function 'FUNCTION_EXISTS'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              funcname           = 'CONVERSION_EXIT_KONPR_INPUT'&lt;/P&gt;&lt;P&gt;         exceptions&lt;/P&gt;&lt;P&gt;              function_not_exist = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      clear flg_exists_abpsp.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      flg_exists_abpsp = 'X'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  check flg_exists_abpsp = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'CONVERSION_EXIT_KONPR_INPUT'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            input  = input&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            output = output&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            not_found = 1.&lt;/P&gt;&lt;P&gt;  if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    MESSAGE E021(ABPS) WITH INPUT RAISING NOT_FOUND.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 09:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166890#M121989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T09:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166891#M121990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function calls the conversion exit CONVERSION_EXIT_KONPR_INPUT - in case this exit exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 09:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166891#M121990</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-01-03T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166892#M121991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This piece of code is,&lt;/P&gt;&lt;P&gt;first, checking if there exists a FM 'CONVERSION_EXIT_KONPR_INPUT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After ensuring this FM is existing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is calling the FM 'CONVERSION_EXIT_KONPR_INPUT' to convert KONPR into internal form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 09:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166892#M121991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166893#M121992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Code flow will be something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It checks whether the Flag flg_exists_abpsp = '?', If it is true..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) It executes the FM FUNCTION_EXISTS and checks whether the FM 'CONVERSION_EXIT_KONPR_INPUT' is exists in your repository or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) If it exists, then the Flag flg_exists_abpsp = 'X' and it will executes the same conversion routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekanth G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 09:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166893#M121992</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2006-01-03T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166894#M121993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the inputs. &lt;/P&gt;&lt;P&gt;This is one other code that its drilling down into, i.e the "CONVERSION_EXIT_KONPR_INPUT" program.&lt;/P&gt;&lt;P&gt;Will be helpful if you can let me know if you can let me know the pseudo code to understand the functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sajan.M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION CONVERSION_EXIT_KONPR_INPUT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             INPUT&lt;/P&gt;&lt;P&gt;*"       EXPORTING&lt;/P&gt;&lt;P&gt;*"             OUTPUT&lt;/P&gt;&lt;P&gt;*"             PRPSWA LIKE PRPS STRUCTURE PRPS&lt;/P&gt;&lt;P&gt;*"       EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"             NOT_FOUND&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;  DATA: CON_NULL(1) VALUE '0'.&lt;/P&gt;&lt;P&gt;  DATA: INIT_POSID LIKE PRPS-POSID VALUE '00000000                '.&lt;/P&gt;&lt;P&gt;  DATA  LOC_POSID  LIKE PRPS-POSID.                         "P30K050296&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK NOT INPUT IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Dummy-Nummer für nicht gefundene int. Nummer?             "P30K050296&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF NOT PRPS_BUF_NOTEXIST-OBJ-PSPNR IS INITIAL.&lt;/P&gt;&lt;P&gt;    READ TABLE PRPS_BUF_NOTEXIST WITH KEY INPUT BINARY SEARCH.&lt;/P&gt;&lt;P&gt;    IF PRPS_BUF_NOTEXIST = INPUT.&lt;/P&gt;&lt;P&gt;      OUTPUT = PRPS_BUF_NOTEXIST-OBJ-PSPNR.&lt;/P&gt;&lt;P&gt;      CLEAR PRPSWA.&lt;/P&gt;&lt;P&gt;      EXIT. "Function&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*.konvertiere externe nummer in uneditierte form.......................&lt;/P&gt;&lt;P&gt;  CLEAR GET_BUF.&lt;/P&gt;&lt;P&gt;  CLEAR PRPS_BUF.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CJPN_PROJEKTNUMMER_UNEDIT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            INPUT  = INPUT&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            OUTPUT = GET_BUF-POSID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;if get_buf-posid eq init_anz or&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   get_buf-posid is initial or&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   get_buf-posid eq init_posid.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  clear prps.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  output = get_buf-posid.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  exit.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR PRPS.&lt;/P&gt;&lt;P&gt;  PERFORM FILL_PRPS_BUFFER USING SPACE SPACE.&lt;/P&gt;&lt;P&gt;  IF PRPS_BUF IS INITIAL.&lt;/P&gt;&lt;P&gt;*.vielleicht handelt es sich um eine Vorläufige PSPnummer?&lt;/P&gt;&lt;P&gt;    MESSAGE E021 WITH INPUT RAISING NOT_FOUND.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    RAISING NOT_FOUND.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  OUTPUT = PRPS-PSPNR.&lt;/P&gt;&lt;P&gt;  MOVE PRPS TO PRPSWA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 10:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166894#M121993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T10:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166895#M121994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually &lt;/P&gt;&lt;P&gt;it is checking for flg_exists_abpsp = '?' &lt;/P&gt;&lt;P&gt; if it so then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           it is calling the FM&lt;/P&gt;&lt;P&gt;              CONVERSION_EXIT_KONPR_INPUT&lt;/P&gt;&lt;P&gt;   and getting the exception as 1 it function does not exisits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if that function exists&lt;/P&gt;&lt;P&gt;   it is clearing the flag and coming out of the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;     setting the flg_exists_abpsp to 'X' &lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then after checking whether it is X or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is X then only it is calling the FM&lt;/P&gt;&lt;P&gt;          CONVERSION_EXIT_KONPR_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can understand from this is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if flg_exists_abpsp = '?' &lt;/P&gt;&lt;P&gt;then FM  is going to be checked whether it is existing or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 10:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166895#M121994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T10:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166896#M121995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could u tell me what the functionality of the FM that is being called inside this program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 10:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166896#M121995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T10:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166897#M121996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This FM converts the internal code for a WBS element &lt;/P&gt;&lt;P&gt;into the external code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input is always a numeric value (8 chars) and output is the WBS code that you see for instance in CJ03 (master data display). Exact coding depends on mask (tcode OPSJ), but can be for example like: A.AAA.1022999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Pascal Roemaat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 09:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166897#M121996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T09:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the Source Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166898#M121997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if you can help me wiht that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need use the FM CONVERSION_EXIT_ABPSP_OUTPUT, but in my BW (version 3.1) not exist the FM CONVERSION_EXIT_KONPR_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know can I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 22:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/understanding-the-source-code/m-p/1166898#M121997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T22:10:51Z</dc:date>
    </item>
  </channel>
</rss>

