<?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: Requested function PSDE is not available here. Message: V0104 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698912#M2018229</link>
    <description>&lt;P&gt;sorry Raymond for my ignorance but what is CH_SUBRC? I’ve know of SY-SUBRC but not the one you suggest and it doesn’t seem to come up on google?&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 05:44:31 GMT</pubDate>
    <dc:creator>MattRook</dc:creator>
    <dc:date>2023-05-22T05:44:31Z</dc:date>
    <item>
      <title>Requested function PSDE is not available here. Message: V0104</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698909#M2018226</link>
      <description>&lt;P&gt;Hi ABAP Experts, I hope you can help me with an issue and as a footnote, I am in my first year as an ABAP developer so I apologise in advance for my inexperience.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;The Scenario:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Our client have one-time customers and so they need the ability to fill out a one-time sales order for said customer.&lt;/P&gt;
  &lt;P&gt;We have an account group set aside for this situation/customer group and my task is to ensure that the name, street address, email and phone number fields are populated in the Sold-to Party part of the Partners tab of the header details in VA02.&lt;/P&gt;
  &lt;P&gt;If any of these fields aren't populated, a warning is presented to the user to fill that field/fields out.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167012-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;This is done using an enhancement spot within the Include: MV45AFZZ and more specifically FORM USEREXIT_SAVE_DOCUMENT_PREPARE where I have performed a check to determine that the customer belongs to a one-time account group and get their details. Then check the fields in XVBADR are populated.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;The Issue:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I have these warnings working perfectly,&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167013-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;However, in VA02, specifically after a warning pops up e.g. "Please enter a street address"; if I try to double click on the sold-to party line to fill out the required field, I get the error message "Requested function PSDE is not available here". &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167014-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;If I select another tab or go to any other screen, then return, I can double click on the sold-to party line and it opens up where I can then populate the field and the order is saved.&lt;/P&gt;
  &lt;P&gt;Going into the code where the error message V0104 is generated, I can see that I get MESSAGE E104 WITH FCODE and FCODE is assigned "PSDE". This message is generated from FORM T185F_LESEN.&lt;/P&gt;
  &lt;P&gt;Before I found it was the FCODE, I wondered if it was the sy-ucomm, so I had that to be cleared but didn't work (obviously)&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167015-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;My initial thought was to clear the FCODE, but I was told that was dangerous because I don't know where else it's being used (I can understand that), so would anyone have an idea of what to try that would be considered a best practice and not something that I will end up causing Armageddon.&lt;/P&gt;
  &lt;P&gt;Thanks in advance from a humble new ABAP coder &lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 00:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698909#M2018226</guid>
      <dc:creator>MattRook</dc:creator>
      <dc:date>2023-05-22T00:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Requested function PSDE is not available here. Message: V0104</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698910#M2018227</link>
      <description>&lt;P&gt;Try to change CH_SUBRC = 4 in your code. Why did you use a Warning message?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 05:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698910#M2018227</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-05-22T05:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Requested function PSDE is not available here. Message: V0104</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698911#M2018228</link>
      <description>&lt;P&gt;Hey Raymond, thanks for the suggestion. I’ll put that forward.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I used a warning message because that’s what the Functional Spec wants. I tried this with a message of type error too but I got the same issue. Without it, the user is able to save the one-time customer details without populating the mandatory fields&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also, I tried removing the RAISE warning and then nothing at all happens&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;thanks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 05:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698911#M2018228</guid>
      <dc:creator>MattRook</dc:creator>
      <dc:date>2023-05-22T05:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Requested function PSDE is not available here. Message: V0104</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698912#M2018229</link>
      <description>&lt;P&gt;sorry Raymond for my ignorance but what is CH_SUBRC? I’ve know of SY-SUBRC but not the one you suggest and it doesn’t seem to come up on google?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 05:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requested-function-psde-is-not-available-here-message-v0104/m-p/12698912#M2018229</guid>
      <dc:creator>MattRook</dc:creator>
      <dc:date>2023-05-22T05:44:31Z</dc:date>
    </item>
  </channel>
</rss>

