<?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 Logic Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-problem/m-p/5524621#M1262477</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;&lt;/P&gt;&lt;P&gt;     	FORM format_and_insert_txndtl &lt;/P&gt;&lt;P&gt;NOTE: Only 1 zcss_txn_dtl should be created per request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If message_code = u2018030u2019, u2018031u2019. u2018032u2019, u2018033u2019, u2018034u2019, u2018035u2019   &lt;/P&gt;&lt;P&gt;	Set zcss_txn_dtl-zstatus to u2018Cu2019 otherwise set zcss_txn_dtl-zstatus to u2018Fu2019. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Generate the Transaction ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Call function u2018NUMBER_GET_NEXT using nr_range_nr = 01 and object = u2018ZCSSu2019 to generate the next transaction id. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill up the fields in zcss_txn_dtl table &lt;/P&gt;&lt;P&gt;All fields not included in the data mapping should be spaces. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert the zcss_txn_dtl record and commit work.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2009 06:35:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-21T06:35:41Z</dc:date>
    <item>
      <title>Logic Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-problem/m-p/5524621#M1262477</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;&lt;/P&gt;&lt;P&gt;     	FORM format_and_insert_txndtl &lt;/P&gt;&lt;P&gt;NOTE: Only 1 zcss_txn_dtl should be created per request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If message_code = u2018030u2019, u2018031u2019. u2018032u2019, u2018033u2019, u2018034u2019, u2018035u2019   &lt;/P&gt;&lt;P&gt;	Set zcss_txn_dtl-zstatus to u2018Cu2019 otherwise set zcss_txn_dtl-zstatus to u2018Fu2019. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Generate the Transaction ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Call function u2018NUMBER_GET_NEXT using nr_range_nr = 01 and object = u2018ZCSSu2019 to generate the next transaction id. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill up the fields in zcss_txn_dtl table &lt;/P&gt;&lt;P&gt;All fields not included in the data mapping should be spaces. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert the zcss_txn_dtl record and commit work.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 06:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-problem/m-p/5524621#M1262477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T06:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-problem/m-p/5524622#M1262478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;use the following pointers to help solve your issues.&lt;/P&gt;&lt;P&gt;FORM format_and_insert_txndtl &lt;/P&gt;&lt;P&gt;" NOTE: Only 1 zcss_txn_dtl should be created per request&lt;/P&gt;&lt;P&gt;Here you can set the varaible g_flag = 'X' when one request is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If message_code = u2018030u2019, u2018031u2019. u2018032u2019, u2018033u2019, u2018034u2019, u2018035u2019 &lt;/P&gt;&lt;P&gt;Set zcss_txn_dtl-zstatus to u2018Cu2019 otherwise set zcss_txn_dtl-zstatus to u2018Fu2019. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
case g_msgcode.
when ' u2018030u2019 or u2018031u2019 or u2018032u2019 or u2018033u2019 or u2018034u2019 or u2018035u2019 .
wa_zcss_txn_dtl-zstatus = 'C'

when 'OTHERS'.
wa_zcss_txn_dtl-zstatus = 'F'.
endcase.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Generate the Transaction ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Call function u2018NUMBER_GET_NEXT using nr_range_nr = 01 and object = u2018ZCSSu2019 to generate the next transaction id. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill up the fields in zcss_txn_dtl table &lt;/P&gt;&lt;P&gt;All fields not included in the data mapping should be spaces. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
move-corresponding fields from wa to wa_zcss_txn_dtl .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert the zcss_txn_dtl record and commit work.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
insert wa_zcss_txn_dtl to zcss_txn_dtl.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mansi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 06:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-problem/m-p/5524622#M1262478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T06:55:18Z</dc:date>
    </item>
  </channel>
</rss>

