<?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: user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870687#M930302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;In the interface of this exit start date(GSTRP) does not exist. So what u ahve to do is EXPORT this date field from the exit where it is available and IMPORT the same in ur FM and use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the exit &lt;STRONG&gt;EXIT_SAPLCOKO1_004&lt;/STRONG&gt; for EXPORTING the date field. There are 2 structures IS_HEADER_NEW and IS_HEADER_OLD. Check in which one u r getting correct data and EXPORT from here and IMPORT the same from ur FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that EXPORTING and IMPORTING memory IDs and&lt;/P&gt;&lt;P&gt;variable names should be same.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar Vemuru on May 19, 2008 4:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 11:27:39 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-05-19T11:27:39Z</dc:date>
    <item>
      <title>user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870683#M930298</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;In CO01 transaction,there are 2 fields finish date(GLTRP) and start date(GSTRP).When I enter values in these fields and save the changes in this transaction, in debugging mode control goes to a function module Z_SER_SERIALNO_GET_NEW which is present in user exit EXIT_SAPLIPW1_001.Now I am using a date1 field in this function module.This field should contain the value given in the start date field.Is there any way to populate the date1 field with the value given in startdate in CO01 transaction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870683#M930298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870684#M930299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hyma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the start date field from the correpsonding table based on the  importing paramter of the function module exit EXIT_SAPLIPW1_001.&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;Sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 11:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870684#M930299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T11:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870685#M930300</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;Could you please give me an example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 11:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870685#M930300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T11:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870686#M930301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use this exit for CO01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLCOZV_001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLIPW1_001 does not contain the field you need in its parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 11:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870686#M930301</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-05-19T11:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870687#M930302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;In the interface of this exit start date(GSTRP) does not exist. So what u ahve to do is EXPORT this date field from the exit where it is available and IMPORT the same in ur FM and use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the exit &lt;STRONG&gt;EXIT_SAPLCOKO1_004&lt;/STRONG&gt; for EXPORTING the date field. There are 2 structures IS_HEADER_NEW and IS_HEADER_OLD. Check in which one u r getting correct data and EXPORT from here and IMPORT the same from ur FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that EXPORTING and IMPORTING memory IDs and&lt;/P&gt;&lt;P&gt;variable names should be same.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar Vemuru on May 19, 2008 4:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 11:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870687#M930302</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-19T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870688#M930303</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;The exit EXIT_SAPLCOKO1_004 is coming only in display mode.Now how can I give the export parameter here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 11:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870688#M930303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T11:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870689#M930304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;Then u have to put a break point in all available exits and see to what are all exits it is going. If u have date field in any exit then u can put ur code to EXPORT the date from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put break point in all the exits where ever u have structure CAUFVD as IMPORTING parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check below enhancements and BADIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PPCO0017&lt;/P&gt;&lt;P&gt;PPCO0016&lt;/P&gt;&lt;P&gt;PPCO0015&lt;/P&gt;&lt;P&gt;PPCO0013&lt;/P&gt;&lt;P&gt;PPCO0012&lt;/P&gt;&lt;P&gt;PPCO0010&lt;/P&gt;&lt;P&gt;PPCO0018&lt;/P&gt;&lt;P&gt;STATTEXT&lt;/P&gt;&lt;P&gt;PPCO0100&lt;/P&gt;&lt;P&gt;PPCO0023&lt;/P&gt;&lt;P&gt;PPCO0022&lt;/P&gt;&lt;P&gt;PPCO0021&lt;/P&gt;&lt;P&gt;PPCO0019&lt;/P&gt;&lt;P&gt;PPCO0002&lt;/P&gt;&lt;P&gt;PPCO0001&lt;/P&gt;&lt;P&gt;COZF0002&lt;/P&gt;&lt;P&gt;COZF0001&lt;/P&gt;&lt;P&gt;COIB0001&lt;/P&gt;&lt;P&gt;CCOWB001&lt;/P&gt;&lt;P&gt;PPCO0003&lt;/P&gt;&lt;P&gt;PPCO0009&lt;/P&gt;&lt;P&gt;PPCO0008&lt;/P&gt;&lt;P&gt;PPCO0007&lt;/P&gt;&lt;P&gt;PPCO0004&lt;/P&gt;&lt;P&gt;PPCO0005&lt;/P&gt;&lt;P&gt;PPCO0006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADIs.&lt;/P&gt;&lt;P&gt;AFABD_CHANGE&lt;/P&gt;&lt;P&gt;PPPI_SEL_ORD_EXT_REL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 14:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870689#M930304</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-19T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870690#M930305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is "When a Production Order is released, serial numbers get assigned to each finished goods unit. A serial number is a combination of the Plant, Month, Year and an indexed number. Sometimes, the month in the serial numbers assigned, is not consistent with the month in which the production is done. This is because the month in the serial number is the month in which the production order is released. To match these serial numbers to the month in which the units are produced, we have to modify the logic to take the order start date instead of the release date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a production order is released for a finished good, a user exit u2018EXIT_SAPLIPW1_001u2019 is called. This exit has a Function Module u2018Z_SER_SERIALNO_GET_NEWu2019 which takes plant and the current date as input and generates the serial number.&lt;/P&gt;&lt;P&gt;We have to modify this FM to pass the Production start date&lt;/P&gt;&lt;P&gt;[AFKO-GSTRP], instead of the production order release date, to match the serial numbers to the month in which the production is done".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In user exit EXIT_SAPLCOKO1_004 I found CAUFVD as IMPORTING parameter.Now how can I export the date field to the function module 'Z_SER_SERIALNO_GET_NEWu2019&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 04:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870690#M930305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T04:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870691#M930306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;In ur earlier reply u told EXIT_SAPLCOKO1_004 is called only in display mode! any ways if this is being called for ur requirement then put below piece of code in this FM includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA w_gstrp TYPE CAUFVD-GSTRP.&lt;/P&gt;&lt;P&gt;MOVE IS_HEADER_NEW-gstrp TO w_gstrp.&lt;/P&gt;&lt;P&gt;EXPORT w_gstrp TO MEMORY ID 'GSTRP'.&lt;/P&gt;&lt;P&gt;if new work area dont have correct date then check the old wa.&lt;/P&gt;&lt;P&gt;EXPORT IS_HEADER_OLD-gstrp TO MEMORY ID 'GSTRP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur FM write below statement.&lt;/P&gt;&lt;P&gt;DATA w_gstrp TYPE CAUFVD-GSTRP.&lt;/P&gt;&lt;P&gt;IMPORT w_gstrp FROM MEMORY ID 'GSTRP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 04:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870691#M930306</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-20T04:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870692#M930307</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;I have given below code in FM Z_SER_SERIALNO_GET_NEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA w_gstrp TYPE CAUFVD-GSTRP.&lt;/P&gt;&lt;P&gt;IMPORT w_gstrp FROM MEMORY ID 'GSTRP'.&lt;/P&gt;&lt;P&gt;When I checked in debugging mode,w_gstrp is not getting populated with any value.What would be the reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 05:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870692#M930307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T05:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870693#M930308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;Few questions...&lt;/P&gt;&lt;P&gt;1. Are u exporting the same in user exit where it is available.?&lt;/P&gt;&lt;P&gt;2.If yes then What is the sy-subrc value after EXPORT and IMPORT statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another work around is try importing outside ur FM i.e inside user exit include. now add one parameter in ur FM interface to get the value inside this FM. Now pass the imported value to FM. Make sure the EXPORT and IMPORT PARAMETER name and MEMORY ID should be same. i.e give the name w_gstrp in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 05:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870693#M930308</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-20T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870694#M930309</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;In exit EXIT_SAPLCOKO1_004 under include ZXCO1U18 I have added this code.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;DATA : w_gstrp TYPE CAUFVD-GSTRP.&lt;/P&gt;&lt;P&gt;MOVE IS_HEADER_NEW-gstrp TO w_gstrp.&lt;/P&gt;&lt;P&gt;EXPORT w_gstrp TO MEMORY ID 'GSTRP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In transaction CO01 when I enter the value for finish date and click enter,control is coming to this breakpoint and IS_HEADER_NEW-gstrp is not getting populated with any value because start date(gstrp) is not entered .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But actually if there is no break-point set and if we enter finish date and click enter,then the start date will be shown on the screen in CO01 transaction.So what can I do for populating the IS_HEADER_NEW-gstrp field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870694#M930309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T07:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870695#M930310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;This might be because of start date field is being populated some where else(May be in some other user exit) i saw there are somany user exits where we have this structure. &lt;/P&gt;&lt;P&gt;Check the place where it is being populated. Also check the user exit that is being called just before it isdisplaying the start date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can put a break point in all the exits available and execute ur transaction. Now check the EXIT FM parameters where ever control stops and if this start date is available or not. So if u find some place where u have start date then u can export from that place and import the same in exit FM where ur Z FM exist.&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;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:14:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3870695#M930310</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-20T07:14:37Z</dc:date>
    </item>
  </channel>
</rss>

