tag:blogger.com,1999:blog-21576470069179761042024-03-14T15:19:48.901+08:00Song Huang - SAP這是我記錄與SAP相關資訊的地方Song Huanghttp://www.blogger.com/profile/10106823250963956888noreply@blogger.comBlogger155125tag:blogger.com,1999:blog-2157647006917976104.post-2153246822697325042023-04-19T11:32:00.002+08:002023-04-19T11:32:15.875+08:00[Link] Digital Access Adoption Program (DAAP)<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em;">
<span id="parent-fieldname-description">Making the Move to Digital Access</span>
</div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em;" />
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;"><p style="background-color: white; line-height: 22px; margin: 0px; max-height: 100000px; outline: none; padding: 0px;"><h8 style="line-height: 24px; margin: 0px; max-height: 100000px; outline: none; padding: 3px 0px;"><span style="margin: 0px; max-height: 100000px; outline: none; padding: 0px;"><span style="font-family: arial;">Introducing DAAP</span></span></h8></p><p style="background-color: white; line-height: 22px; margin: 0px; max-height: 100000px; outline: none; padding: 0px;"><span style="font-family: arial; font-size: x-small;">The Digital Access Adoption Program was announced at SAPPHIRE Now in May 2019. The DAAP was designed in close collaboration with user groups to provide the insights needed to enable customers to make the decision to move to the Digital Access licensing model with transparency and complete confidence.<br /><br /></span></p><p style="background-color: white; line-height: 22px; margin: 0px; max-height: 100000px; outline: none; padding: 0px;"><span style="font-family: arial;"><span style="font-size: 15px;"><a href="https://discover.sap.com/digital-access/en-us/index.html#section_5">https://discover.sap.com/digital-access/en-us/index.html#section_5</a></span></span></p></div><div id="parent-fieldname-text" style="border-collapse: collapse; font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-72718804383362331382023-04-19T11:29:00.000+08:002023-04-19T11:29:04.620+08:00[Link] SAP Extends SAP Digital Access Adoption Program Through End of 2022<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; line-height: 1.5em; margin: 0em 0em 0.5em;">
<span id="parent-fieldname-description">SAP recently announced that it had extended the Digital Access Adoption Program (DAAP) through December 31, 2022, giving SAP customers more time to make the decision to move to the SAP Digital Access licensing model, which provides customers with a modern, streamlined solution to SAP licensing.</span>
</div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em;" />
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;"><a href="https://www.asug.com/insights/sap-extends-sap-digital-access-adoption-program-through-end-of-2022">https://www.asug.com/insights/sap-extends-sap-digital-access-adoption-program-through-end-of-2022</a></div><div id="parent-fieldname-text" style="border-collapse: collapse; font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-13730237776922007372023-04-19T11:02:00.003+08:002023-04-19T11:07:58.547+08:00[Link] SAP Insight: Indirect Access, SAP Digital Access and the DAAP<div class="documentDescription" style="border-collapse: collapse; display: block; line-height: 1.5em; margin: 0em 0em 0.5em;">
<span id="parent-fieldname-description" style="font-family: arial; font-size: medium;">Indirect use of SAP can be a significant licensing risk. Is SAP’s Digital Access model the best way to manage this and should you take advantage of the Digital Access Adoption Program (DAAP) while it’s still available?</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em;" />
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;"><a href="https://itassetalliance.com/blog-posts/sap-indirect-access-digital-access-and-the-daap/">https://itassetalliance.com/blog-posts/sap-indirect-access-digital-access-and-the-daap/</a></div><div id="parent-fieldname-text" style="border-collapse: collapse; font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-40346327986951993692022-04-19T15:49:00.003+08:002023-04-19T11:04:39.137+08:00<div class="documentDescription" style="border-collapse: collapse; display: block; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em;"><h4 style="background-color: white; border: 0px; box-sizing: border-box; clear: both; font-weight: 400; line-height: 1.3; margin: 0px 0px 0.5rem; overflow-wrap: break-word; padding: 0px 0px 20px; text-align: left; text-size-adjust: 100%;"><span style="font-family: arial; font-size: large;">[Link] Using KeePass Instead of SAP Logon</span></h4></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em;" />
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;"><a href="https://blogs.sap.com/2012/01/29/using-keepass-instead-of-sap-logon/">https://blogs.sap.com/2012/01/29/using-keepass-instead-of-sap-logon/</a></div><div id="parent-fieldname-text" style="border-collapse: collapse; font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-49494762918685071122014-08-21T15:10:00.000+08:002014-09-28T14:29:09.025+08:00<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;"><span class="" id="parent-fieldname-description">Correction of SD Document Status</span> </div><hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" /><div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">1472007 - Document status has to be corrected<br />
<a name='more'></a> </div><div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;"><pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;">- As a simple test, run report SDVBUK00 in transaction SE38 for 'Being Processed' Sales Orders (further details in SAP Note 207875).
- If the issue is delivery related, run report RVDELSTA in transaction SE38 (further details in SAP Note 137011).</pre></div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-35939617358368609692014-07-21T13:18:00.001+08:002014-07-21T13:18:27.121+08:00Reorganization of SD Document Index<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Reorganization of SD Document Index</span>
</div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
128947 - Correction of SD document indexes with RVV05IVB<br />
<a name='more'></a>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;">Report RVV05IVB is available in your system for reorganizing or correcting incorrect SD document indexes. The report can correct the following index tables:
Table Contents Usage
VEPVG Delivery Due Index Delivery Due List (VL04)
VKDFS Billing Initiator Billing Due List (VF04, VF24)
VTRDI Shipment Planning Index Shipment processing (VT01/VT04)
VRSLI Receipt of Material from Deliveries SC Stock Monitoring (ME2O)
VAKGU Sales Index: Quotation Validity List of Quotations (VA25)
VAKPA Orders by Partner Function List of Sales Orders (VA05)
VAPMA Order Items by Material List of Sales Orders (VA05)
VLPKM Sched. Agrmnts by Cust Mat. List of Scheduling Agreements (VA25)
VLKPA Delivery by Partner Function List of Deliveries (VL05/VL06)
VLPMA Delivery Items by Material List of Deliveries (VL05/VL06)
VRKPA Bills by Partner Functions List of Billing Docs (VF05)
VRPMA Billing Items per Material List of Billing Docs (VF05) </pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-82932548713617985022014-04-29T15:18:00.000+08:002014-04-29T15:19:11.185+08:00How to read Report selection screen field values before PAI field transport<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Function: DYNP_VALUES_READ</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
How to got the field value when you still in selection screen manipulating, example code as below:</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;"><span class="L0S52">AT </span><span class="L0S52">SELECTION-SCREEN </span><span class="L0S52">ON </span><span class="L0S52">VALUE-REQUEST </span><span class="L0S52">FOR </span>p_vbeln<span class="L0S55">.</span>
<span class="L0S31">*--- Update P_VSTEL</span>
dyfields<span class="L0S70">-</span>fieldname <span class="L0S55">= </span><span class="L0S33">'P_VSTEL'</span><span class="L0S55">.</span>
<span class="L0S52">APPEND </span>dyfields<span class="L0S55">.</span>
<span class="L0S52">CALL </span><span class="L0S52">FUNCTION </span><span class="L0S33">'DYNP_VALUES_READ'</span>
<span class="L0S52">EXPORTING</span>
dyname <span class="L0S55">= </span>sy<span class="L0S70">-</span>cprog
dynumb <span class="L0S55">= </span>sy<span class="L0S70">-</span>dynnr
<span class="L0S52">TABLES</span>
dynpfields <span class="L0S55">= </span>dyfields<span class="L0S55">.</span>
<span class="L0S52">READ </span><span class="L0S52">TABLE </span>dyfields <span class="L0S52">INDEX </span><span class="L0S32">1</span><span class="L0S55">.</span>
<span class="L0S52">IF </span>dyfields<span class="L0S70">-</span>fieldvalue <span class="L0S52">IS </span><span class="L0S52">INITIAL</span><span class="L0S55">.</span>
<span class="L0S52">MESSAGE </span>i899 <span class="L0S52">WITH </span><span class="L0S33">'Please enter Shipping Point first!'</span><span class="L0S55">.</span>
<span class="L0S52">EXIT</span><span class="L0S55">.</span>
<span class="L0S52">ELSE</span><span class="L0S55">.</span>
<span class="L0S52">CLEAR</span><span class="L0S55">: </span>gr_vstel<span class="L0S55">, </span>gr_vstel[]<span class="L0S55">,</span>
gt_lipov<span class="L0S55">, </span>gt_lipov[]<span class="L0S55">,</span>
gt_dn<span class="L0S55">, </span>gt_dn[]<span class="L0S55">.</span>
gr_vstel<span class="L0S70">-</span><span class="L0S52">sign </span><span class="L0S55">= </span><span class="L0S33">'I'</span><span class="L0S55">.</span>
gr_vstel<span class="L0S70">-</span>option <span class="L0S55">= </span><span class="L0S33">'EQ'</span><span class="L0S55">.</span>
gr_vstel<span class="L0S70">-</span>low <span class="L0S55">= </span>dyfields<span class="L0S70">-</span>fieldvalue<span class="L0S55">.</span>
<span class="L0S52">APPEND </span>gr_vstel<span class="L0S55">.</span>
<span class="L0S52">ENDIF</span><span class="L0S55">.
<a name='more'></a>
<span class="L0S52">CALL </span><span class="L0S52">FUNCTION </span><span class="L0S33">'WS_LM_DATA_SELECTION'</span>
<span class="L0S52">EXPORTING</span>
if_proctype <span class="L0S55">= </span><span class="L0S33">'W'</span>
<span class="L0S52">TABLES</span>
it_vstel <span class="L0S55">= </span>gr_vstel
ct_postab <span class="L0S55">= </span>gt_lipov
<span class="L0S52">EXCEPTIONS</span>
no_data_found <span class="L0S55">= </span><span class="L0S32">1</span>
wrong_proc_type <span class="L0S55">= </span><span class="L0S32">2</span>
<span class="L0S52">OTHERS </span><span class="L0S55">= </span><span class="L0S32">3</span><span class="L0S55">.</span>
<span class="L0S52">IF </span>sy<span class="L0S70">-</span>subrc <> <span class="L0S32">0</span><span class="L0S55">.</span>
<span class="L0S31">* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO</span>
<span class="L0S31">* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.</span>
<span class="L0S52">ENDIF</span><span class="L0S55">.</span>
<span class="L0S52">LOOP </span><span class="L0S52">AT </span>gt_lipov<span class="L0S55">.</span>
<span class="L0S52">CLEAR </span>gt_dn<span class="L0S55">.</span>
<span class="L0S52">MOVE-CORRESPONDING </span>gt_lipov <span class="L0S52">TO </span>gt_dn<span class="L0S55">.</span>
<span class="L0S52">SELECT </span><span class="L0S52">SINGLE </span>name1 <span class="L0S52">INTO </span>gt_dn<span class="L0S70">-</span>name1
<span class="L0S52">FROM </span>kna1
<span class="L0S52">WHERE </span>kunnr <span class="L0S55">= </span>gt_dn<span class="L0S70">-</span>kunnr<span class="L0S55">.</span>
<span class="L0S52">APPEND </span>gt_dn<span class="L0S55">.</span>
<span class="L0S52">ENDLOOP</span><span class="L0S55">.</span>
<span class="L0S52">CALL </span><span class="L0S52">FUNCTION </span><span class="L0S33">'F4IF_INT_TABLE_VALUE_REQUEST'</span>
<span class="L0S52">EXPORTING</span>
retfield <span class="L0S55">= </span><span class="L0S33">'VBELN'</span>
dynpprog <span class="L0S55">= </span>sy<span class="L0S70">-</span>repid
dynpnr <span class="L0S55">= </span>sy<span class="L0S70">-</span>dynnr
dynprofield <span class="L0S55">= </span><span class="L0S33">'P_VBELN'</span>
value_org <span class="L0S55">= </span><span class="L0S33">'P'</span>
<span class="L0S52">TABLES</span>
value_tab <span class="L0S55">= </span>gt_dn
field_tab <span class="L0S55">= </span>gt_dfies2<span class="L0S55">.</span>
</span></pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-29071412075402065822014-03-28T10:43:00.001+08:002014-03-28T10:43:46.544+08:00<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">[Link] Timezone changes best practices</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
<a href="http://wiki.scn.sap.com/wiki/display/Basis/Timezone+changes+best+practices">http://wiki.scn.sap.com/wiki/display/Basis/Timezone+changes+best+practices</a></div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;"><h2 id="Timezonechangesbestpractices-Howtocheckthetimezoneatdifferentlevels" style="background-color: white; border-bottom-color: rgb(191, 191, 191); color: #333333; font-family: arial, helvetica, sans-serif; font-size: 20px; font-weight: normal; line-height: 1.5; margin: 30px 0px 0px; white-space: normal;">
How to check the timezone at different levels</h2>
<ul style="background-color: white; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 11px; line-height: 17.33333396911621px; list-style-image: initial; list-style-position: initial; margin: 10px 0px 0px; padding: 0px 0px 0px 15px; white-space: normal;">
<li style="line-height: 13pt;">Login to SAP system client </li>
<li style="line-height: 13pt;">Run the report from Tcode SA38 -> TZCUSTHELP</li>
<li style="line-height: 13pt;">Run the report from Tcode SA38 -> RSDBTIME</li>
<li style="line-height: 13pt;">Run this function module in SE37 -> TZ_SYSTEM_GET_TZONE</li>
<li style="line-height: 13pt;">Run this report from Tocde SA38 -> TZONECHECK </li>
</ul>
</pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-24337946035265590132013-07-03T16:25:00.004+08:002013-07-03T16:25:35.361+08:00[Link] Foreign Currency Valuation - Resetting Posting on Basis of Valuation History<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Foreign Currency Valuation - Resetting Posting on Basis of Valuation History</span> </div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
After postings have been made, you can reset them at a later point in time. For this, the program determines the relevant foreign currency items (line items) and foreign currency balances (accounts) as well as any corresponding valuation differences from the entries in the valuation history. In the case of foreign currency items, the system also creates a reset posting if the items were cleared before or on the specified valuation key date. It is not possible prior to enhancement pack 5 to reset posting, if the items were cleared before or on the specified valuation key date. This new functionality is only available via Enhancement pack 5.</div>
<a href="http://wiki.sdn.sap.com/wiki/display/ERPFI/Foreign+Currency+Valuation++-+Resetting+Posting+on+Basis+of+Valuation+History" target="_blank">http://wiki.sdn.sap.com/wiki/display/ERPFI/Foreign+Currency+Valuation++-+Resetting+Posting+on+Basis+of+Valuation+History</a>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-90190327555756740812013-07-03T15:37:00.001+08:002013-07-03T15:38:02.180+08:00[Link] Foreign Currency Valuation in SAP ECC 6<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Foreign Currency Valuation in SAP ECC 6</span> </div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
This is the process to translate and adjust foreign currency amount of monetary accounts to local amount by a current suitable exchange rate (standard exchange rate).</div>
<a href="http://mssmart77-sapfico.blogspot.tw/2012/08/foreign-currency-valuation-in-sap-ecc-6.html" target="_blank">http://mssmart77-sapfico.blogspot.tw/2012/08/foreign-currency-valuation-in-sap-ecc-6.html<br />
</a>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-80411851757310003272013-06-20T09:20:00.002+08:002013-06-20T09:20:20.998+08:00[Link] Output Determination in Inventory Management (IM)<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Output Determination in Inventory Management (IM)</span> </div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
<h2 style="background-color: white; border-bottom-color: rgb(128, 143, 159); border-width: 0px; color: #225a8d; font-family: arial, helvetica, sans-serif; font-size: 15px; line-height: normal; margin: 24px 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
Content</h2>
<div style="background-color: white; border: 0px; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 11.199999809265137px; line-height: 17.325000762939453px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<ul style="background-color: transparent; border: 0px; line-height: 13pt; list-style-image: initial; list-style-position: initial; margin: 10px 0px; outline: 0px; padding: 0px 0px 0px 15px; vertical-align: baseline;">
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-Content" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">Content</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-1.Aboutthisdocument" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">1. About this document</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-2.Generalinformation" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">2. General information</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-3.Outputrecordsforamaterialdocument%28tableNAST%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">3. Output records for a material document (table NAST)<a name='more'></a></a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-4.Printversionfortransaction%28T158WEVER%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">4. Print version for transaction (T158-WEVER)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-5.Field%27Print%27%28RM07MXNAPR%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">5. Field 'Print' (RM07M-XNAPR)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-6.Printindicatorformovementtype%28T156KZDRU%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">6. Print indicator for movement type (T156-KZDRU)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-7.Outputtype%28WE01%2CMLFH...%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">7. Output type (WE01, MLFH...)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-8.Messageschema%28ME0001%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">8. Message schema (ME0001)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-9.Conditiontable" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">9. Condition table</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-10.Conditionrecords" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">10. Condition records</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-11.Accesssequence" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">11. Access sequence</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-12.Layoutsets%28SAPScript%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">12. Layout sets (SAPScript)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-13.Collectiveslips" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">13. Collective slips</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-14.Requirements" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">14. Requirements</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-15.NumberofGR%2FGIslips%28MSEGWEANZ%29" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">15. Number of GR/GI slips (MSEG-WEANZ)</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-16.Labels" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">16. Labels</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-17.Partnerfunctions" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">17. Partner functions</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-18.Missingpartmails" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">18. Missing part mails</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-19.Mailtext" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">19. Mail text</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-20.GR%2FGIslipsforstocktransfers" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">20. GR/GI slips for stock transfers</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-21.Multipleaccountingsheet" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">21. Multiple accounting sheet</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-22.Language" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">22. Language</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-23.Printerdetermination" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">23. Printer determination</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-24.TroubleShootingguidefornondevelopers" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">24. Trouble-Shooting guide for non-developers</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-25.TroubleShootingguidewithdebugging" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">25. Trouble-Shooting guide with debugging</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-26.%26nbsp%3BTerminology" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">26. Terminology</a></li>
<li style="background-color: transparent; border: 0px; line-height: 13pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://wiki.sdn.sap.com/wiki/display/ERPSCM/Output+Determination+in+Inventory+Management+(IM)#OutputDeterminationinInventoryManagement%28IM%29-27.SAPNotes" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #3f557c; font-size: 11.199999809265137px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">27. SAP Notes</a></li>
</ul>
</div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;"></pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-27890946928558546722013-02-04T09:35:00.000+08:002013-02-04T09:36:41.175+08:00[Code] How to catching selection criteria<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">How to catching selection criteria</span>
</div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
Example: </div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;"> <span class="L0S52">DATA</span><span class="L0S55">: </span>selection_table <span class="L0S52">LIKE </span>rsparams <span class="L0S52">OCCURS </span><span class="L0S32">0 </span><span class="L0S52">WITH </span><span class="L0S52">HEADER </span><span class="L0S52">LINE.</span>
<span class="L0S52">CLEAR </span>selection_table<span class="L0S55">. </span><span class="L0S52">REFRESH </span>selection_table.
<span class="L0S31">* Get selection criteria</span>
<span class="L0S52">CALL </span><span class="L0S52">FUNCTION </span><span class="L0S33">'RS_REFRESH_FROM_SELECTOPTIONS'</span>
<a name='more'></a> <span class="L0S52">EXPORTING</span>
curr_report <span class="L0S55">= sy-</span>repid
<span class="L0S52">TABLES</span>
selection_table <span class="L0S55">= </span>selection_table
<span class="L0S52">EXCEPTIONS</span>
not_found <span class="L0S55">= </span><span class="L0S32">1</span>
no_report <span class="L0S55">= </span><span class="L0S32">2</span>
<span class="L0S52">OTHERS </span><span class="L0S55">= </span><span class="L0S32">3</span><span class="L0S55">.</span>
<span class="L0S52">IF </span>sy<span class="L0S70">-</span>subrc <> <span class="L0S32">0</span><span class="L0S55">.</span>
<span class="L0S52">MESSAGE </span><span class="L0S52">ID </span>sy<span class="L0S70">-</span>msgid <span class="L0S52">TYPE </span>sy<span class="L0S70">-</span>msgty <span class="L0S52">NUMBER </span>sy<span class="L0S70">-</span>msgno
<span class="L0S52">WITH </span>sy<span class="L0S70">-</span>msgv1 sy<span class="L0S70">-</span>msgv2 sy<span class="L0S70">-</span>msgv3 sy<span class="L0S70">-</span>msgv4<span class="L0S55">.</span>
<span class="L0S52">ENDIF</span><span class="L0S55">.</span></pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-5728904468800566822013-02-04T09:30:00.000+08:002013-02-04T09:35:50.719+08:00[Code] How to reference whole itab by name<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">How to reference whole itab by name</span>
</div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
Example: clearing all selection criteria</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;"><span class="L0S52">FORM </span>screen_clearing_all <span class="L0S55">.</span>
<span class="L0S52">DATA</span><span class="L0S55">: </span>selctab <span class="L0S52">LIKE </span>rsscr <span class="L0S52">OCCURS </span><span class="L0S32">20 </span><span class="L0S52">WITH </span><span class="L0S52">HEADER </span><span class="L0S52">LINE</span><span class="L0S55">,</span>
itabname <span class="L0S52">TYPE </span><span class="L0S52">c </span>LENGTH <span class="L0S32">30</span><span class="L0S55">.</span>
<span class="L0S52">FIELD-SYMBOLS</span><span class="L0S55">: </span><para> <span class="L0S52">TYPE </span><span class="L0S52">ANY</span><span class="L0S55">,</span>
<sele> <span class="L0S52">TYPE </span><span class="L0S52">ANY </span><span class="L0S52">TABLE</span><span class="L0S55">.</span>
<span class="L0S52">CLEAR </span>selctab<span class="L0S55">. </span><span class="L0S52">REFRESH </span>selctab<span class="L0S55">.</span>
<span class="L0S31">* Get selection screen</span>
<a name='more'></a> <span class="L0S52">LOAD </span><span class="L0S52">REPORT </span>alv_repid PART <span class="L0S33">'SSCR' </span><span class="L0S52">INTO </span>selctab<span class="L0S55">.</span>
<span class="L0S52">LOOP </span><span class="L0S52">AT </span>selctab<span class="L0S55">.</span>
<span class="L0S52">IF </span>selctab<span class="L0S70">-</span>kind <span class="L0S55">= </span><span class="L0S33">'P'</span><span class="L0S55">.</span>
<span class="L0S31">* Clear Parameter</span>
<span class="L0S52">ASSIGN </span><span class="L0S55">(</span>selctab<span class="L0S70">-</span>name<span class="L0S55">) </span><span class="L0S52">TO </span><para><span class="L0S55">.</span>
<span class="L0S52">CLEAR </span><para><span class="L0S55">.</span>
<span class="L0S52">ELSEIF </span>selctab<span class="L0S70">-</span>kind <span class="L0S55">= </span><span class="L0S33">'S'</span><span class="L0S55">.</span>
<span class="L0S31">* Clear select-option (work area)</span>
<span class="L0S52">ASSIGN </span><span class="L0S55">(</span>selctab<span class="L0S70">-</span>name<span class="L0S55">) </span><span class="L0S52">TO </span><para><span class="L0S55">.</span>
<span class="L0S52">CLEAR </span><para><span class="L0S55">.</span>
<span class="L0S31">* Refresh select-option</span>
<span class="L0S52">CONCATENATE </span>selctab<span class="L0S70">-</span>name <span class="L0S33">'[]' </span><span class="L0S52">INTO </span>itabname<span class="L0S55">.</span>
<span class="L0S52">ASSIGN </span><span class="L0S55">(</span>itabname<span class="L0S55">) </span><span class="L0S52">TO </span><sele><span class="L0S55">.</span>
<span class="L0S52">REFRESH </span><sele><span class="L0S55">.</span>
<span class="L0S52">ENDIF</span><span class="L0S55">.</span>
<span class="L0S52">ENDLOOP</span><span class="L0S55">.</span>
<span class="L0S52">ENDFORM</span><span class="L0S55">. </span><span class="L0S31">" SCREEN_CLEARING_ALL</span> </pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-58188470196597677382013-01-31T17:50:00.000+08:002013-01-31T17:46:28.019+08:00[Code] How to use subquery to get correct record<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="Apple-style-span" style="font-size: 12px; font-weight: normal; line-height: normal;"></span><br />
<div style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Suppose ZSD001 is filled as below:</div>
<pre class="literal-block" style="background-color: #dee7ec; border-bottom-color: rgb(140, 172, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;">MATNR DATAB APPOINTFEE
----------------------------------------
MA12345 2008/12/01 500
MA12345 2009/12/01 1,000
MA12345 2009/12/15 2,000
</pre>
<div style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Example Code:</div>
<pre class="literal-block" style="background-color: #dee7ec; border-bottom-color: rgb(140, 172, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;">SELECT SINGLE APPOINTFEE INTO GT_ITAB-APPOINTFEE
FROM ZSD001
WHERE MATNR = 'MA12345'
AND DATAB = ( SELECT MAX( DATAB )
FROM ZSD001
WHERE MATNR EQ 'MA12345'
AND DATAB LE '20091202'
).
* GT_ITAB-APPOINTFEE == 1,000</pre>
<br />
Another example: (paste from RVAUFSTA)<br />
<pre class="literal-block" style="background-color: #dee7ec; border-bottom-color: rgb(140, 172, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"><span class="L0S52">SELECT </span>OBJNR <span class="L0S52">FROM </span>JSTO <span class="L0S52">AS </span>A <span class="L0S52">APPENDING </span>CORRESPONDING <span class="L0S52">FIELDS </span><span class="L0S52">OF</span>
<span class="L0S52">TABLE </span>ONR_TAB <span class="L0S52">WHERE </span>A<span class="L0S70">~</span>OBJNR <span class="L0S52">LIKE </span>SDCON<span class="L0S70">-</span>OBJNR_VB <span class="L0S52">AND</span>
A<span class="L0S70">~</span>OBJNR <span class="L0S52">IN </span>R_S_OBJNR <span class="L0S52">AND</span>
A<span class="L0S70">~</span>OBTYP <span class="L0S52">EQ </span>SDCON<span class="L0S70">-</span><span class="L0S52">HEADER </span><span class="L0S52">AND</span>
A<span class="L0S70">~</span>STSMA <span class="L0S52">NE </span>STSMA_INI <span class="L0S52">AND</span>
EXISTS <span class="L0S55">( </span><span class="L0S52">SELECT </span>OBJNR <span class="L0S52">FROM </span>JEST <span class="L0S52">WHERE </span>OBJNR <span class="L0S52">EQ </span>A<span class="L0S70">~</span>OBJNR <span class="L0S52">AND</span>
STAT <span class="L0S52">LIKE </span><span class="L0S33">'E%' </span><span class="L0S52">AND </span>INACT <span class="L0S52">EQ </span>SPACE <span class="L0S55">) </span><span class="L0S52">ORDER </span><span class="L0S52">BY </span>OBJNR<span class="L0S55">.</span>
</pre>
<br /></div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-67952200072550181862012-11-21T14:23:00.001+08:002012-11-21T14:23:24.064+08:00[Link] Consolidation (EC-CS) <div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Consolidation (EC-CS)</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="margin: 0px 0px 0.75em;">
<div style="font-size: 12px; line-height: 1.5em;">
SAP Manual: <a href="http://help.sap.com/saphelp_erp60_sp/helpdata/en/a6/ece73c2d1011d299250000e8a5999a/frameset.htm" target="_blank">http://help.sap.com/saphelp_erp60_sp/helpdata/en/a6/ece73c2d1011d299250000e8a5999a/frameset.htm</a></div>
<div style="font-size: 12px; line-height: 1.5em;">
<br /></div>
<div style="font-size: 12px; line-height: 1.5em;">
SAP Wiki:<a href="http://wiki.sdn.sap.com/wiki/display/ERPFI/1.3+Configuration+of+EC-CS" target="_blank"> Configuration of EC-CS</a></div>
<div style="font-size: 12px; line-height: 1.5em;">
<br /></div>
<span style="font-size: 12px; line-height: 18px;">SAP Note: <a href="https://service.sap.com/sap/support/notes/1223308" target="_blank">Note 1223308 - EC-CS in the context of SAP ERP 6.0</a></span></div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-39931311984942628612012-11-14T16:06:00.006+08:002012-11-14T16:07:33.254+08:00[Link] Integrated CO-PA Planning Leveraging Your SOP Forecast<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;"><span class="" id="parent-fieldname-description">Integrated CO-PA Planning Leveraging Your SOP Forecast</span></div><hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" /><div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">URL: <a href="http://www.slideshare.net/Alfredh/integrated-copa-planning-leveraging-your-sop-forecast" target="_blank">http://www.slideshare.net/Alfredh/integrated-copa-planning-leveraging-your-sop-forecast</a></div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-50880258962084951292012-10-03T20:41:00.001+08:002012-10-04T09:29:50.775+08:00[Link] Integrating SAP Web Services into Microsoft .NET Environments<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;"><a href="http://www.codeproject.com/Articles/172725/Integrating-SAP-Web-Services-into-Microsoft-NET-En" target="_blank">http://www.codeproject.com/Articles/172725/Integrating-SAP-Web-Services-into-Microsoft-NET-En</a></div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-59516744314332342862012-10-02T10:38:00.002+08:002012-10-02T10:56:05.126+08:00[Link] Consuming SAP Web Services and .NET<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;"><a href="http://www.c-sharpcorner.com/uploadfile/chinnasrihari/consming-sap-web-services-and-net/" target="_blank">http://www.c-sharpcorner.com/uploadfile/chinnasrihari/consming-sap-web-services-and-net/</a></div><hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" /><div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;"><b style="color: #333333; font-family: 'segoe UI'; font-size: small; line-height: normal; outline: none 0px;"></b><br />
<a name='more'></a><b style="color: #333333; font-family: 'segoe UI'; font-size: small; line-height: normal; outline: none 0px;">CONSUMING PROXY IN .NET CLIENT</b></div><div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;"><pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;"><div style="background-color: white; color: #333333; font-family: 'segoe UI'; font-size: small; outline: none 0px; white-space: normal;">Follow the steps to create and read the data by using the proxy. </div><div style="background-color: white; color: #333333; font-family: 'segoe UI'; font-size: small; outline: none 0px; white-space: normal;"><ol style="outline: none 0px;"><li style="outline: none 0px;">Add a new 'ASP.NET Web application' to the SAPDotNetIntegration solution. And name it as AspDotNetClient. </li>
<li style="outline: none 0px;">Add the reference to the SAPWebServiceProxyLibrary.dll compiled and saved on the disk. By right clicking on the AspDotNetClient, and clicking on the 'Add reference context' menu. </li>
<li style="outline: none 0px;">Add the following statement to the code behind <span style="color: blue; font-family: Verdana, sans-serif; font-size: 10pt; outline: none 0px;"><span class="Apple-style-span" style="color: black; font-family: Verdana; font-size: small; outline: none 0px;"><span class="Apple-style-span" style="font-size: 12px; outline: none 0px;"> </span></span>using</span><span style="font-family: Verdana, sans-serif; font-size: 10pt; outline: none 0px;"> SAPWebServiceProxyLibrary.CustomerMasterNamespace; </span></li>
<li style="outline: none 0px;">Following are the basic lines of code to be written to asscess the data from SAP system. <span class="Apple-style-span" style="color: green; font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;"><span class="Apple-style-span" style="color: black; font-family: Verdana; font-size: small; outline: none 0px;"><span class="Apple-style-span" style="font-size: 12px; outline: none 0px;"> </span></span>//Creating the Service<span class="Apple-style-span" style="font-family: Verdana; font-size: small; outline: none 0px;"><span class="Apple-style-span" style="font-size: 12px; outline: none 0px;"> </span></span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;"><span style="color: teal; outline: none 0px;">ZSN_WEBSERVICEService</span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;">_proxy = <span style="color: blue; outline: none 0px;">new</span> <span style="color: teal; outline: none 0px;">ZSN_WEBSERVICEService</span>();</span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;"><span style="color: green; outline: none 0px;">//stores the return row XML data from the SAP web service<span class="Apple-style-span" style="color: black; outline: none 0px;"> </span></span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;"><span style="color: teal; outline: none 0px;"><span class="Apple-style-span" style="color: black; outline: none 0px;"> </span>String</span> outData;</span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;"><span style="outline: none 0px;"> </span><span style="color: green; outline: none 0px;">//Setting the User Credentials<span class="Apple-style-span" style="font-family: Verdana; font-size: small; outline: none 0px;"><span class="Apple-style-span" style="font-size: 12px; outline: none 0px;"> </span></span></span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;">_proxy.Credentials = <span style="color: blue; outline: none 0px;">new</span> <span style="color: teal; outline: none 0px;">NetworkCredential</span>(<span style="color: maroon; outline: none 0px;">"loginName"</span>, <span style="color: maroon; outline: none 0px;">"password"</span>);</span><span class="Apple-style-span" style="color: green; font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;">//We have a stateful communication therefore we have to use a //CookieContainer</span><span style="color: teal; font-family: Verdana, sans-serif; font-size: 10pt; outline: none 0px;">CookieContainer</span><span style="font-family: Verdana, sans-serif; font-size: 10pt; outline: none 0px;"> _cookie = <span style="color: blue; outline: none 0px;">new</span> <span style="color: teal; outline: none 0px;">CookieContainer</span>();</span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;">_proxy.CookieContainer = _cookie;</span><span class="Apple-style-span" style="color: green; font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;">// p_filepath_app is the input parameter to identify the specific SAP web // service<span class="Apple-style-span" style="font-family: Verdana; font-size: small; outline: none 0px;"><span class="Apple-style-span" style="font-size: 12px; outline: none 0px;"> </span></span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 13px; outline: none 0px;">outData = _proxy.ZsnWebservice(<span style="color: maroon; outline: none 0px;">"xmlfilepathonthesapserver"</span>);</span></li>
</ol></div></pre></div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-67061104425153803852012-08-30T14:47:00.002+08:002012-10-04T09:30:40.407+08:00[Link] Posting Goods Issue for cross-company code Stock Transfer<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Posting Goods Issue for cross-company code Stock Transfer</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
Source URL: <a href="http://www.miglena2s.com/post-goods-issue-for-cross-company.htm" style="line-height: 1.5em;">http://www.miglena2s.com/post-goods-issue-for-cross-company.htm</a></div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;">Executed SPRO and then Financial Accounting -> G/L Accounting -> Business Transactions -> Prepare Cross-Company Code Transactons (OBYA) </pre>
</div>
Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-4086995247326719182012-08-15T14:39:00.000+08:002012-08-15T15:54:01.329+08:00[SD] Item Categories Assignment<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold; line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0em; margin-right: 0em; margin-top: 0em;">
<span class="" id="parent-fieldname-description">項目類型的指派</span></div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse;">
<div style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em;">
This assignment is influenced by:</div>
<ul style="list-style-image: url(http://localhost/bullet.gif); list-style-type: square; margin: 0.5em 0px 0px 1.5em; padding: 0px;">
<li style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0.5em;"><div class="first" style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Item categories are assigned to <strong>sales document types</strong> .</div>
<div style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Configure the system to propose an item category when you create an order.</div>
</li>
<li style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0.5em;"><div class="first" style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
The <strong>item category group</strong> from the material master record.</div>
<div style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
The item category group allows you to group together different materials that behave in a similar way during sales and distribution processes, for example. You can also define new item category groups if needed.</div>
</li>
<li style="margin-bottom: 0.5em;"><div class="first" style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em;">
The <strong>usage for the item</strong> , which in some cases is set internally in the program.</div>
<div style="margin: 0px 0px 0.75em;">
<div style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em;">
The system uses TEXT if the user enters an item in the inquiry or quotation by entering data in the "Description" field without specifying a material number. FREE is used for controlling free goods items.</div>
<div style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em;">
<br /></div>
<div style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em;">
<u><b>Trace list:</b></u></div>
<br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i>Function Module</i><span class="Apple-tab-span" style="white-space: pre;"> </span>RV_VBAP_PSTYV_DETERMINE</span></span><br />
<span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"><i><span class="Apple-tab-span"> </span></i> </span>Include</i></span><span class="Apple-tab-span" style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; white-space: pre;"> </span><span class="Apple-tab-span" style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; white-space: pre;"> </span><span class="Apple-tab-span" style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; white-space: pre;"> </span><span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;">FV45CF0C_CVBAP_FUSSZEILE_PRUEF</span><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"><i><span class="Apple-tab-span"> </span></i> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>Subroutine</i></span><span class="Apple-tab-span" style="font-size: 12px; line-height: 18px; white-space: pre;"> </span><span style="font-size: 12px; line-height: 18px;">CVBAP_FUSSZEILE_PRUEFEN</span></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span></i></span></span><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;">Include</span></span><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;">FV45PF0V_VBAP-PSTYV_PRUEFEN</span></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i><i><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span class="Apple-tab-span" style="white-space: pre;"> </span></i></span></span><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;">Subroutine</span><span class="Apple-tab-span" style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; white-space: pre;"> </span><span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;">VBAP-PSTYV_PRUEFEN</span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"><i><span class="Apple-tab-span"> </span></i> </span></i>Include</span></span><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;">FV45PFAP_VBAP_FUELLEN</span></span><br />
<span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><i><i><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span class="Apple-tab-span" style="white-space: pre;"> </span></i></span><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span></i>Subroutine<span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;">VBAP_FUELLEN</span></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: small;"><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"><i><span class="Apple-tab-span"> </span></i> </span></i>Include</span></span><i style="font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i></span><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: small;"><i style="font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i></span><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;">FV45PFAP_VBAP_FUELLEN_AUART_CH</span></span><br />
<i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><i style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;"><span class="Apple-tab-span" style="white-space: pre;"> </span></i><span style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;">Subroutine</span><span class="Apple-tab-span" style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; white-space: pre;"> </span><span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;">VBAP_FUELLEN_AUART_CHANGE</span></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><br /></span></span>
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"></span><br />
<span style="font-family: Lucida Grande, Verdana, Lucida, Helvetica, Arial, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i>Function Module</i><span class="Apple-tab-span" style="white-space: pre;"> </span>WTAD_ADDIS_IN_SO_IDOC_SLS_DET</span></span><br />
<div style="font-size: 12px; line-height: 18px;">
<br /></div>
</div>
</li>
<li style="font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0.5em;"><div class="first" style="line-height: 1.5em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
The item category of a <strong>higher-level item</strong> (in the case of a sub-item)</div>
</li>
</ul>
</div>
Song Huanghttp://www.blogger.com/profile/10106823250963956888noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-49507438289871518692012-06-07T21:15:00.000+08:002012-06-07T21:15:33.380+08:00[Link] Consuming a Web Service in ABAP<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
Consuming a Web Service in ABAP</div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<div style="line-height: 1.5em;">
<span style="background-color: white; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 12px; font-style: italic; line-height: 18px;">In this exercise we will find how we can consume a Web Service using ABAP by creating Proxy Class and Configure Logical Port.</span></div>
<div style="line-height: 1.5em;">
<br /></div>
<div style="line-height: 1.5em;">
<a href="http://sapignite.com/consuming-a-web-service-in-abap/">http://sapignite.com/consuming-a-web-service-in-abap/</a></div>
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-20160395083328468692012-06-07T21:10:00.002+08:002012-06-07T21:10:56.886+08:00[Link] Consuming Web Services with ABAP - WSDL<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<b style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; vertical-align: baseline;">Consuming Web Services with ABAP - WSDL</b></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<div style="font-size: 12px; line-height: 1.5em;">
<span style="background-color: white; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 17px; text-align: left;">To get the process started, we turn to SE80 TCODE go to workbench & edit object.</span></div>
<div style="font-size: 12px; line-height: 1.5em;">
<br /></div>
<div style="font-size: 12px; line-height: 1.5em;">
<a href="http://wiki.sdn.sap.com/wiki/display/Snippets/Consuming+Web+Services+with+ABAP+-+WSDL">http://wiki.sdn.sap.com/wiki/display/Snippets/Consuming+Web+Services+with+ABAP+-+WSDL</a></div>
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-8268281863727949172012-06-07T13:49:00.001+08:002012-06-08T09:48:01.113+08:00[Link] UDDI - SAP Developer Network (SDN)<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">UDDI - SAP Developer Network (SDN)</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
<a href="http://scn.sap.com/docs/DOC-18439">http://scn.sap.com/docs/DOC-18439</a>
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-36908136725018268822012-06-06T10:50:00.000+08:002012-06-06T10:50:25.893+08:00Parallel currencies in asset accounting<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span class="" id="parent-fieldname-description">Turn on Secondary Currency in FI and further actions</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="font-size: 12px; line-height: 1.5em; margin: 0px 0px 0.75em 0px;">
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;">
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;">
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;">
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;">
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
<span style="line-height: 1.5em;">1. OB22 (Additional Local Currencies For Company Code)</span></div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; line-height: normal;">
<pre class="literal-block" style="background-color: #dee7ec; border: 1px solid rgb(140, 172, 187); font-family: Monaco, 'Courier New', Courier, monospace; overflow: auto; padding: 1em;">- create company code record
- setting 2nd local currency
- Crcy type 30 (Group curreency)
- set ExRate type
- set Srce curr.
- set TrsDte typ</pre>
</div>
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
<span style="line-height: 1.5em;"></span><br />
<a name='more'></a><span style="line-height: 1.5em;">2. OADB (Define Depreciation Areas)</span></div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; line-height: normal;">
<pre class="literal-block" style="background-color: #dee7ec; border: 1px solid rgb(140, 172, 187); font-family: Monaco, 'Courier New', Courier, monospace; overflow: auto; padding: 1em;">- choose chart of depreciation
- create new depreciation 30 with copy from 01
- set "Posting in G/L" to 0
- set "Different Depreciation Area" to 01</pre>
</div>
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
<span style="line-height: 1.5em;">3. OABT (Set Up Parallel Currencies)</span></div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; line-height: normal;">
<pre class="literal-block" style="background-color: #dee7ec; border: 1px solid rgb(140, 172, 187); font-family: Monaco, 'Courier New', Courier, monospace; overflow: auto; padding: 1em;">- choose chart of depreciation
- double click depreciation 30
- set "Posting in G/L" to 0
- set "Crcy type/val.view" to 30
- set "Adopt values from" to 1
- set "Dep. terms transfer" to 1
- checked "Ident.acq. val."
- checked "Ident.dep.terms"</pre>
</div>
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
<span style="line-height: 1.5em;">4. OAYH (Depreciation area currency)</span></div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; line-height: normal;">
<pre class="literal-block" style="background-color: #dee7ec; border: 1px solid rgb(140, 172, 187); font-family: Monaco, 'Courier New', Courier, monospace; overflow: auto; padding: 1em;">- select company code
- double click "Depreciation area currency" on left
- set 30 Crcy to USD for example</pre>
</div>
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
<span style="line-height: 1.5em;">5. OAYZ (Asset class)</span></div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px;">
<pre class="literal-block" style="background-color: #dee7ec; border-color: rgb(140, 172, 187); border-style: solid; border-width: 1px; color: black; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 12px; overflow-x: auto; overflow-y: auto; padding: 1em;">- select asset class
- double click "Depreciation areas" on left
- unchecked 30 "Deact" field </pre>
</div>
<div style="font-size: 12px; line-height: 1.5em; margin: 1em 0px 0.75em 0px;">
<div style="line-height: 1.5em; margin: 0px 0px 0.75em;">
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
6. AFBN (Automatic Opening of a New Depreciation Area)
</div>
</div>
<div class="" id="parent-fieldname-text" style="border-collapse: collapse; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; line-height: normal;">
<pre class="literal-block" style="background-color: #dee7ec; border: 1px solid rgb(140, 172, 187); font-family: Monaco, 'Courier New', Courier, monospace; overflow: auto; padding: 1em;">- set "Chart of depreciation"
- set "Depreciation area" to 30
- unchecked "Test run"
- Execute! </pre>
</div>
<div style="line-height: 1.5em; margin: 1em 0px 0.75em;">
<span style="line-height: 1.5em;">relate error message: AC496</span></div>
</div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0tag:blogger.com,1999:blog-2157647006917976104.post-42397917783524572012-05-18T17:33:00.000+08:002012-05-18T17:38:26.384+08:00[TIP] SAP User-Favorites Table<div class="documentDescription" style="border-collapse: collapse; display: block; font-family: 'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.5em; margin: 0em 0em 0.5em 0em;">
<span style="background-color: white; color: #333333; font-family: Arial; font-size: 17px; line-height: 15px;">SAP User-Favorites Table</span></div>
<hr class="docutils" style="background-color: #8cacbb; border-color: initial; border-style: initial; border-width: 0px; color: #8cacbb; height: 1px; margin: 0.5em 0px 1em 0px;" />
<div style="margin: 0px 0px 0.75em;">
<div style="font-size: 12px; line-height: 1.5em;">
<span style="background-color: white; color: #333333; font-family: arial; font-size: 13px;">Table name is <b>SMEN_BUFFC</b></span>
</div>
<span style="background-color: white; color: #333333; font-family: arial; font-size: x-small; line-height: 18px;">FUNCTION<b> MENU_FAVORITES_DOWNLOAD</b></span></div>Songhttp://www.blogger.com/profile/11067961482397304699noreply@blogger.com0