<?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: Error using HR_MAINTAIN_MASTERDATA when run program via background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654992#M1866631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a suggestion. Won't it be better if you use BAPI_HRMASTER_SAVE_REPL_MULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 20:00:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-10-13T20:00:44Z</dc:date>
    <item>
      <title>Error using HR_MAINTAIN_MASTERDATA when run program via background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654990#M1866629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've developed an upload program which reads the data from interface file and perform hiring for new employee. When i execute the program via foreground there is no error and the employee is hired successfully. However, when i set the program to execute via background, it will throw error "Fill in all required field".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the FM that i've inserted and it worked fine during foreground. Any ideas why in background it will throw such errors? Anyway i can debugged it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/561654" /&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Loo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654990#M1866629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-13T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error using HR_MAINTAIN_MASTERDATA when run program via background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654991#M1866630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the fact that this FM has a parameter dialog and the description of the error I'm guessing it carries out a GUI mediated file upload. When a program is run in background the server process isn't connected to any fronted application server so GUI mediated uploads are not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read a file in background you would have to upload to the application server and read it from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this isn't the problem then please provide the dump description,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654991#M1866630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-13T09:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error using HR_MAINTAIN_MASTERDATA when run program via background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654992#M1866631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a suggestion. Won't it be better if you use BAPI_HRMASTER_SAVE_REPL_MULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 20:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654992#M1866631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-13T20:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error using HR_MAINTAIN_MASTERDATA when run program via background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654993#M1866632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM HR_MAINTAIN_MASTERDATA is not released for customer use by SAP(Check this &lt;STRONG&gt;SAP Note 1913529&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Use the FM HR_PAD_HIRE_EMPLOYEE instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ashvin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 22:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654993#M1866632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-13T22:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error using HR_MAINTAIN_MASTERDATA when run program via background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654994#M1866633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the &lt;STRONG&gt;dialog_mode parameter&lt;/STRONG&gt; what your are passing for background ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the &lt;STRONG&gt;dialog_mode Parameter.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for foreground it is &lt;STRONG&gt;'1'&lt;/STRONG&gt; and for background it is &lt;STRONG&gt;'0'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below documentation for &lt;STRONG&gt;dialog_mode parameter,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;Description&lt;/H3&gt;&lt;P&gt;You specify here whether the action is to be processed in the background in general, whether the action is to be processed in the background until an error occurs, or whether the change is to be made in a dialog box.&lt;/P&gt;&lt;H3&gt;Value range&lt;/H3&gt;&lt;P&gt;You can submit one of three values: ‘0’, ‘1’, or ‘2’, which mean the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;'0' – The change is processed principally in the background. If an error occurs (in other words, an E message or A message), the entire action is canceled and the module returns a corresponding error message in the 'RETURN' structure.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;'1' – The change is processed in the background. If an error occurs, the system switches to a dialog box so that the user can correct the entries.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;'2' – The change is processed in a dialog box.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Default&lt;/H3&gt;&lt;P&gt;The default value is ‘0’, meaning that the process runs in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Raghunadh Kodali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 05:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-hr-maintain-masterdata-when-run-program-via-background/m-p/10654994#M1866633</guid>
      <dc:creator>former_member226225</dc:creator>
      <dc:date>2014-10-14T05:25:20Z</dc:date>
    </item>
  </channel>
</rss>

