<?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: Question about infoset query with code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534357#M243896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the infoset, right click on the node which represents the table which you want to work with.  THis is on the left hand side.  Right click on it and choose, "Code for Record Process",  In the right hand side of the screen, you should now see an editor.  Here is where you can put your code to modify the field.  You can access the field directly like I've done above.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2006 00:50:50 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-08-10T00:50:50Z</dc:date>
    <item>
      <title>Question about infoset query with code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534354#M243893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always appreciate your help. Today, I have some problem. I made infoset query using SQ01 and got some data. Those data include WBS no but some of them didn't. So I tried to put some code into the infoset query that any data has not WBS has some value, for example 'X', in WBS no field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to know what field or table I should control to display value 'X' in WBS no field in case that WBS field has no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to put code at "END-OF-SELECTION(before display)" and control %dtab. But I met error message there is no such table %dtab. So, I define %dtab then during runtime, I also met error message %dtab has already been defiend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do? Is it impossible thing?? I'm wating for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 00:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534354#M243893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T00:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Question about infoset query with code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534355#M243894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of updating program, you can update infoset which is used. I assume you have created custom infoset for your query. We can add ABAP routines in Infoset. Have you tried this option? If you click on EXTRAS in infoset, you can add new fields. Add a custom field which will be populated with text or so 'No WBS Element', if there is no WBS element. You can write a small ABAP routine for this. This is one option for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 00:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534355#M243894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T00:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question about infoset query with code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534356#M243895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if you just want to fill the field if it is blank, you can do this in the Record Processing Section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not familar with the WBS number, so for this example, I will fill the BISMT in MARA during the "Recording Processing" Section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if mara-bismt is initial.
 mara-bismt = 'X'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 00:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534356#M243895</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-10T00:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about infoset query with code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534357#M243896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the infoset, right click on the node which represents the table which you want to work with.  THis is on the left hand side.  Right click on it and choose, "Code for Record Process",  In the right hand side of the screen, you should now see an editor.  Here is where you can put your code to modify the field.  You can access the field directly like I've done above.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 00:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-infoset-query-with-code/m-p/1534357#M243896</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-10T00:50:50Z</dc:date>
    </item>
  </channel>
</rss>

