tag:blogger.com,1999:blog-33302163944793544072024-03-05T16:40:41.737-08:00SAP Tips and Tricksabaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-3330216394479354407.post-30500855302479248752011-11-29T09:47:00.000-08:002011-11-29T09:47:54.203-08:00How to copy released transport request to a new oneIf sometime you need to copy the objects included in a released transport request to a new one, here you have how to do:<br />
<ol><li>Create new transport request type "Transport of copies"</li>
<li>From Request/Task --> Object List --> Include object, you may include the objects in your released request.</li>
</ol>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-8810563114944153092011-11-16T02:25:00.000-08:002011-11-16T02:25:04.805-08:00How to skip any authority checkIf you are allowed to debug a SAP system, you can easily skip any authority check that avoids you to execute a program or transaction. You only have to follow these steps:<br />
<ol><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">Execute command /H in command field before executing the transaction/report with authority checks to skip</li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzi2xK-BSDZcJTXqQfQ2kBLGwrQzKf__n5KKf1pWcZD7eEcERY_eRJT1y3Prxs5R933gZOJC08-CSk3QVvr0qDRLbI_jB2NymQBHNlYjhQKNluXZC8gYJYIMonfnj4y6l0sNfrxb7IxYU/s1600/barrah.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="48px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzi2xK-BSDZcJTXqQfQ2kBLGwrQzKf__n5KKf1pWcZD7eEcERY_eRJT1y3Prxs5R933gZOJC08-CSk3QVvr0qDRLbI_jB2NymQBHNlYjhQKNluXZC8gYJYIMonfnj4y6l0sNfrxb7IxYU/s200/barrah.JPG" width="200px" /></a></div><div class="separator" style="clear: both; text-align: left;">You will receive a message saying that debugging has been switched on</div><div class="separator" style="clear: both; text-align: left;">
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4RpeSLCoIETC8fYuKM4kA_e-CsAPeR_rsi6JbbMLsc51dYewfi4YtYoFgh_MILLPWOqUHbpD1K8WUT-E9IIYPoME1bueEiutN2AQf6h0OTxMlPbvZWdQQN1Pd5e8HZ5SwYxy-8-Asf8/s1600/debug_switched.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="58px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4RpeSLCoIETC8fYuKM4kA_e-CsAPeR_rsi6JbbMLsc51dYewfi4YtYoFgh_MILLPWOqUHbpD1K8WUT-E9IIYPoME1bueEiutN2AQf6h0OTxMlPbvZWdQQN1Pd5e8HZ5SwYxy-8-Asf8/s320/debug_switched.JPG" width="320px" /></a></div><div class="separator" style="clear: both; text-align: left;">If you don't receive this message, you are not allowed to debug and unfortunately you won't be able to apply this trick</div><div class="separator" style="clear: both; text-align: left;">
</div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">Execute the transaction/report. ABAB debugger will be launched. </li>
<li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">In the menu bar select Breakpoints --> Breakpoint at --> Statement...</li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Ac5v_MjzEfru1yGnAm2XBSnE3SaCX5iVyAac14b_0vZAvYANflxNMzRfa1GIZ4iFjASRzMpTSlPpfIf7BIHQ08ZJmAyb0s2hJXaofdphD70tC20cS1WLZI_bXWn1JXTnej_DzIVx21A/s1600/breakpoint+at+statement.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="67px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Ac5v_MjzEfru1yGnAm2XBSnE3SaCX5iVyAac14b_0vZAvYANflxNMzRfa1GIZ4iFjASRzMpTSlPpfIf7BIHQ08ZJmAyb0s2hJXaofdphD70tC20cS1WLZI_bXWn1JXTnej_DzIVx21A/s320/breakpoint+at+statement.JPG" width="320px" /></a></div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">In the popup window write authority-check and accept (enter)</li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL5Zl5K4Q1wCKDjeC7u7d1LyvxGTPGkjf0wNSV_DEZakJwjLT1Yr9cIjB1v8p3sCixf406jdx4urQB8moMa1a-a2Peld5gfLgvy_-XrXqTThUZj6502Ec7prQJF-QMLUsqmI636ajo2pE/s1600/statement+popup.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="90px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL5Zl5K4Q1wCKDjeC7u7d1LyvxGTPGkjf0wNSV_DEZakJwjLT1Yr9cIjB1v8p3sCixf406jdx4urQB8moMa1a-a2Peld5gfLgvy_-XrXqTThUZj6502Ec7prQJF-QMLUsqmI636ajo2pE/s320/statement+popup.JPG" width="320px" /></a></div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">F8 to continue with the execution. The execution will stop when first authority-check statement is reached. For example:</li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoTNaQk2q3p2ppsifyIvt6Dx5CBsOqLLaXnhnoIFilzdpSWfZ-snR3UojvEhpZ7YWGbFwZLtJVRpVbT6_xtk024CwC1ewrt6yUR4Krd1A3JkECOodvWIvULqtGEpCbF-ozTRrVmG4ZNGc/s1600/authority-check+statement.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="147px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoTNaQk2q3p2ppsifyIvt6Dx5CBsOqLLaXnhnoIFilzdpSWfZ-snR3UojvEhpZ7YWGbFwZLtJVRpVbT6_xtk024CwC1ewrt6yUR4Krd1A3JkECOodvWIvULqtGEpCbF-ozTRrVmG4ZNGc/s320/authority-check+statement.JPG" width="320px" /></a></div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">F5 to execute the statement and check if system variable sy-subrc has a value not equal to 0. </li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzWLrAEVqFJLvmsbT9j2arbg3_5pRpSLDXFDv_g33yjtCSH_sZMGZHaJq1haknanUQOvnvLVRLONZJi8jyEBF_WC9GapPpV3qkjr03T8hhheoTDzY1AeuWqlwmQw_2wPobAoxIAKnF4Nk/s1600/sy-subrc+not+0.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="90px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzWLrAEVqFJLvmsbT9j2arbg3_5pRpSLDXFDv_g33yjtCSH_sZMGZHaJq1haknanUQOvnvLVRLONZJi8jyEBF_WC9GapPpV3qkjr03T8hhheoTDzY1AeuWqlwmQw_2wPobAoxIAKnF4Nk/s320/sy-subrc+not+0.JPG" width="320px" /></a></div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">If it has a value not equal to 0, this means that you don't have authorization for this authority check and that you will be allowed to go on with the execution. If it is 0, F8 to go on until the next authority-check statement.</li>
<li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">When you reach an authority-check and execute it and sy-subrc has a value not equal to 0, then you will have to update sy-subrc to 0 in order to be allowed to go on with the execution. To do this, just write sy-subrc in one of the field-names fields </li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUfWLufbAm0TZN0m5WrVH-ihsrMzXbuIhbvDjBZtI8UsbMVCKCLHKhaiOeQt3XY8WrGFr6l98CL3zpLNTTNqdpMMfhHc7LTndpdMdwCQAeGyJJUxVSDIIChC5oCEds3W6X9UA_Ea8kw_w/s1600/changing+sy-subrc+01.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="75px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUfWLufbAm0TZN0m5WrVH-ihsrMzXbuIhbvDjBZtI8UsbMVCKCLHKhaiOeQt3XY8WrGFr6l98CL3zpLNTTNqdpMMfhHc7LTndpdMdwCQAeGyJJUxVSDIIChC5oCEds3W6X9UA_Ea8kw_w/s320/changing+sy-subrc+01.JPG" width="320px" /></a></div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">and overwrite variable's value to 0 in the field at the right and press the button with the pencil</li>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjguWhfl-vqB4__doj3gKvt3xVAGLUiB5eF9itAFj9XWyAIxjzO04feU9i8pm96v_T-BO0Tg4-k2oPVpu_YssYCeJ7m967yAS_uXllCJezWi92AcuxkDqSun1pqvv8fWjZMZxH7izshemI/s1600/changing+sy-subrc+02.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" hda="true" height="48px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjguWhfl-vqB4__doj3gKvt3xVAGLUiB5eF9itAFj9XWyAIxjzO04feU9i8pm96v_T-BO0Tg4-k2oPVpu_YssYCeJ7m967yAS_uXllCJezWi92AcuxkDqSun1pqvv8fWjZMZxH7izshemI/s320/changing+sy-subrc+02.JPG" width="320px" /></a></div><li style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;">F8 to go on. You will have to repeat previous steps in all authority-check statements reached where sy-subrc is valuated to non 0 value when it is executed</li>
</ol>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com5tag:blogger.com,1999:blog-3330216394479354407.post-85595171086729380852011-09-16T05:22:00.000-07:002011-09-16T05:24:17.310-07:00CG3Z File Upload<span style="font-family: Verdana, sans-serif;">Using transaction CG3Z you can upload any local file to SAP application server.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">It is very easy. You have to indicate the entire path of the file in your computer, the path in SAP application server where you want to upload to and the format (ASCII or Binary):</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC_IaFhSz2Cs2HGoWr9m9hs-8WCnzIvGKZpESf1RPVt9ARQLc_u5ZTb2hBphQMe0SryXr-Bx1hj4ki8WiHUPb_MFaLfG8zPF-vmpmIpBgT_c-mhM6-dTf3uYPqOzRJVGUA3NiR9NW20Bw/s1600/cg3z.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="124" rba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC_IaFhSz2Cs2HGoWr9m9hs-8WCnzIvGKZpESf1RPVt9ARQLc_u5ZTb2hBphQMe0SryXr-Bx1hj4ki8WiHUPb_MFaLfG8zPF-vmpmIpBgT_c-mhM6-dTf3uYPqOzRJVGUA3NiR9NW20Bw/s320/cg3z.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfFq2bUOPJrBkpBL6nTfZgDSCtVsOeH_vpPybtO49M5hCm8_XIrnlUrq7nghuCEMxfQ2lHDbUj2Qc5tH9Scf736Q7dLV49rBIWnddkK9Ad_D4YGHGDPsPWb7aTQrTLTpT3Z2q8q7bDaA/s1600/cg3y.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"></span></a></div>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-31181430635372730482011-09-16T05:19:00.000-07:002011-09-16T05:24:17.311-07:00CG3Y Download File<span style="font-family: Verdana, sans-serif;">Using transaction CG3Y you can download any file stored in SAP application server.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">It is very easy. You have to indicate the entire path of the file in the application server, the path in your computer where you want to download to and the format (ASCII or Binary):</span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfFq2bUOPJrBkpBL6nTfZgDSCtVsOeH_vpPybtO49M5hCm8_XIrnlUrq7nghuCEMxfQ2lHDbUj2Qc5tH9Scf736Q7dLV49rBIWnddkK9Ad_D4YGHGDPsPWb7aTQrTLTpT3Z2q8q7bDaA/s1600/cg3y.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="124" rba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfFq2bUOPJrBkpBL6nTfZgDSCtVsOeH_vpPybtO49M5hCm8_XIrnlUrq7nghuCEMxfQ2lHDbUj2Qc5tH9Scf736Q7dLV49rBIWnddkK9Ad_D4YGHGDPsPWb7aTQrTLTpT3Z2q8q7bDaA/s320/cg3y.JPG" width="320" /></span></a></div>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-51229377841348413652011-09-16T05:07:00.000-07:002011-09-16T05:24:17.312-07:00SU53 User authority data<span style="font-family: Verdana, sans-serif;">It is very usual that any user cannot execute some transaction or report due to any authorization issue. </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">In order to know what authorization is failing, we can execute transaction SU53. This transaction will show for which authorization object we don't have the required authorizations. </span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7ms74ntexiGV3KGO_hZEJBergRCgArxRpIyCtaoR0VOeqpi_Q9yfYqRhrEKZ1ijS45o-d_x3GVL8zhp8NzBi7pkRLeiJXN9y3Rd81kZNFJn-eBCv6pLd_Dos6dsWPiUuUh_Kwd72rjtI/s1600/su53.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="160" rba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7ms74ntexiGV3KGO_hZEJBergRCgArxRpIyCtaoR0VOeqpi_Q9yfYqRhrEKZ1ijS45o-d_x3GVL8zhp8NzBi7pkRLeiJXN9y3Rd81kZNFJn-eBCv6pLd_Dos6dsWPiUuUh_Kwd72rjtI/s400/su53.JPG" width="400" /></a></div><br />
<span style="font-family: Verdana, sans-serif;">Please note that you will have to execute SU53 just inmediately after the error message is displayed. </span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-35823831501418509782011-09-09T02:35:00.000-07:002011-09-09T13:45:25.447-07:00Understanding how VOFM routines are technically implemented<span style="font-family: Verdana, sans-serif;">While many SAP specialists have used and created VOFM routines in R/3, few<br />
understand how these routines are technically implemented within the various programs<br />
and function groups in which they exist.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">In the following link you can find a very interesting paper that provides a technical explanation of how the VOFM<br />
transaction works: </span><a href="http://saptechsolutions.com/pdf/InsideVOFM.pdf"><span style="font-family: Verdana, sans-serif;">http://saptechsolutions.com/pdf/InsideVOFM.pdf</span></a>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-53049265834028963962011-09-09T00:44:00.000-07:002011-09-09T00:44:25.320-07:00Keys in dropdown lists<span style="font-family: Verdana, sans-serif;">Every SAP user can setup whether they want to see only descriptions in dropdown lists</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiSurzjD5_jQDmZ1x-vOOo8FjJPA96BPByl8UGzIMNmLgWXgwTjiTELfoUsAmSc7LM78GFgwXrqr1TTqB3lqwPFGZhCCpTBoAvhzzM2CFkcm-DrlLKXvsfuwcIFvWmGekJilTLylWESww/s1600/no+key.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiSurzjD5_jQDmZ1x-vOOo8FjJPA96BPByl8UGzIMNmLgWXgwTjiTELfoUsAmSc7LM78GFgwXrqr1TTqB3lqwPFGZhCCpTBoAvhzzM2CFkcm-DrlLKXvsfuwcIFvWmGekJilTLylWESww/s1600/no+key.JPG" /></span></a></div><br />
<span style="font-family: Verdana, sans-serif;">or whether they prefer to see the keys in addition</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDDTePDzGTXpVZS-Eslvi6cFKmXzJFNZdBgQV2LOxPtdg3KKWwhAOIYvgcXN8grjXqi2t5MwEGdxdmpbKCexBR6Z3XTX-xVzx7YJI54Pv3LnLd74nWZyltsDJ-hfBKb9GqcnkfzWf5iw/s1600/with+key.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDDTePDzGTXpVZS-Eslvi6cFKmXzJFNZdBgQV2LOxPtdg3KKWwhAOIYvgcXN8grjXqi2t5MwEGdxdmpbKCexBR6Z3XTX-xVzx7YJI54Pv3LnLd74nWZyltsDJ-hfBKb9GqcnkfzWf5iw/s1600/with+key.JPG" /></span></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana, sans-serif;">In order to select how you want to see entries in dropdown lists press 'Customize Local Layout' button and select 'Options'</span></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUoDdOJvEYId3wqs-H8ehWx9zMxdlDdDv6QFQEbU0en44kfoIUdsCGI3bS5gXbmrjzAf0D2kU2xgkniQGPX4KQdPKz2OCsdEh2JIYpGkxxFuXFgJOotQ_u1d5aJaZwRJE32JmzDgXVGPE/s1600/customize+layout+button.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="46" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUoDdOJvEYId3wqs-H8ehWx9zMxdlDdDv6QFQEbU0en44kfoIUdsCGI3bS5gXbmrjzAf0D2kU2xgkniQGPX4KQdPKz2OCsdEh2JIYpGkxxFuXFgJOotQ_u1d5aJaZwRJE32JmzDgXVGPE/s320/customize+layout+button.JPG" width="320" /></span></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><span style="font-family: Verdana, sans-serif;"></span></div><span style="font-family: Verdana, sans-serif;">and in tab 'Expert' check/uncheck flag 'Show Keys in all dropdown lists'</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbVIzMQInqM3XvUzvLofdKQ8pFalV-79o0VP1fWvv9rZgmgQK6AEc61zwUEZOA0xrtzToXJCNHsHH_jK3Fm4ie8dj6jz9y7k4_9LKTQft1-RZN7NItG5yZso_GS3pzeOSRR6CvEYty8BQ/s1600/expert+tab.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="159" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbVIzMQInqM3XvUzvLofdKQ8pFalV-79o0VP1fWvv9rZgmgQK6AEc61zwUEZOA0xrtzToXJCNHsHH_jK3Fm4ie8dj6jz9y7k4_9LKTQft1-RZN7NItG5yZso_GS3pzeOSRR6CvEYty8BQ/s320/expert+tab.JPG" width="320" /></span></a></div><span style="font-family: Verdana, sans-serif;">Also, you can select if you want items in the lists to be shown sorted by key ('Sort items by Key' checked) or by description ('Sort items by Key' unchecked)</span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-39277454782830864392011-09-06T05:47:00.000-07:002011-09-06T05:47:14.841-07:00How to debug pop-up window<span style="font-family: Verdana, sans-serif;">The okcode field is deactivated when a <b>modal window</b> (the technical name of <b>popup windows</b>) is displayed, so it seems impossible to enter the debugger (using /H okcode).</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">In common dialogs, the okcode field is available, so you can type /H to enter debug mode:</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJnLOy_djLMXAdRtYJv1VZ9e8zFlxv_HgIzBBrKuVmuJP-CvI6XLOlhVbcDi8C3u7HYEvNv7E0BS6sBYS2khfxi5YMfHWtemRsl7QrfOEkRPUIghwDrGgU8KrW98RaJYci3UwfRZMVArM/s1600/common.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="154" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJnLOy_djLMXAdRtYJv1VZ9e8zFlxv_HgIzBBrKuVmuJP-CvI6XLOlhVbcDi8C3u7HYEvNv7E0BS6sBYS2khfxi5YMfHWtemRsl7QrfOEkRPUIghwDrGgU8KrW98RaJYci3UwfRZMVArM/s320/common.JPG" width="320" /></span></a></div><span style="font-family: Verdana, sans-serif;">however, it is not available in modal windows (we see it but we can't enter anything in it):</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiinO3nsKcAFRniFky-N8RM3y75Imkpp8Qf0LWZxIWfr6h3X63ID2SOjQyJuLQoF590qj09yOFcoN76MNwqwRNa_GFW9Pkk6VqH5LEGpUzvlV-C0upezMXId7XIVXk0v40OlJX-NAGh2vo/s1600/modal.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="222" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiinO3nsKcAFRniFky-N8RM3y75Imkpp8Qf0LWZxIWfr6h3X63ID2SOjQyJuLQoF590qj09yOFcoN76MNwqwRNa_GFW9Pkk6VqH5LEGpUzvlV-C0upezMXId7XIVXk0v40OlJX-NAGh2vo/s320/modal.JPG" width="320" /></span></a></div><br />
<span style="font-family: Verdana, sans-serif;">The solution is to create on the frontend a SAPGUI shortcut (file with extension .SAP), of type <b>System Command</b> and command <b>/H</b>, and drag and drop it from Windows desktop to the SAP modal window. You can create the SAPGUI shortcut as explained here:</span><br />
<div style="text-align: left;"><br />
</div><div style="text-align: left;"><span style="font-family: Verdana, sans-serif;">- Click on the Create shortcut icon on a the toolbar in a SAPGUI session </span></div><div align="center"><br />
</div><div align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCoxxfayHmHyiN1FKlprTL6iDQfwk5DItO1nH2HhdZ675RTnckJXOy6yKCfFlpOvNS8AC4dHNxhxHG-3pWSTtzFshLF4WEu2UETpHqwc_SI4KS2eSJ_OhDz5qzUJIUHtAIgezXaQTfmJw/s1600/Create+shortcut+icon+.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCoxxfayHmHyiN1FKlprTL6iDQfwk5DItO1nH2HhdZ675RTnckJXOy6yKCfFlpOvNS8AC4dHNxhxHG-3pWSTtzFshLF4WEu2UETpHqwc_SI4KS2eSJ_OhDz5qzUJIUHtAIgezXaQTfmJw/s1600/Create+shortcut+icon+.JPG" /></span></a></div><div style="text-align: left;"><span style="font-family: Verdana, sans-serif;">- In the popup window enter teh values you need, in this case Type = System Command and Command = /H</span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2FhJ_XS8lgF3uP2JRbfqiQdgaCGppSNghxABoRoQ8IoJ7cn97mlVgiNC9ZPPa1ymS_ljzgW8GR9-i3AhGPJHnP-eWiHEvffigbOsW0BoYVvGBp2iOa-eq1RUnyceVfDfcXCea0WRAED4/s1600/Create+shortcut+popup+.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="105" nba="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2FhJ_XS8lgF3uP2JRbfqiQdgaCGppSNghxABoRoQ8IoJ7cn97mlVgiNC9ZPPa1ymS_ljzgW8GR9-i3AhGPJHnP-eWiHEvffigbOsW0BoYVvGBp2iOa-eq1RUnyceVfDfcXCea0WRAED4/s320/Create+shortcut+popup+.JPG" width="320" /></span></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><span style="font-family: Verdana, sans-serif;">- Press Finish and a shortcut on the Desktop (or the location you entered) will be created</span><br />
<div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana, sans-serif;"></span></div>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-28103284099275084712011-09-06T05:16:00.000-07:002011-09-06T05:16:15.073-07:00Easily find BADIs called by any transaction<span style="font-family: Verdana, sans-serif;">Several times we wonder what BADIs are available for a particular transaction. Follow the following steps to find out them:</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.<br />
2. In 'Display' mode, go to 'Methods' tab.<br />
3. Double click the method 'Get Instance' to display it source code.<br />
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.<br />
5. Then run your transaction.<br />
6. The screen will stop at this method.<br />
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.</span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-73353935789490949052011-09-06T04:53:00.000-07:002011-09-16T05:24:17.313-07:00Compare table content between 2 clients<span style="font-family: Verdana, sans-serif;">If you need to compare the content of any table between 2 clients (in the same or different environments) you may use transaction <strong>SCMP</strong>.</span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-89316954128710515732011-09-02T04:47:00.000-07:002011-09-02T04:47:19.009-07:00Update table content in SE16N<span style="font-family: Verdana, sans-serif;">I suppose that most of you already know that you can insert, modify and delete entries in any SAP table from transaction SE16N, but just in case...</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">Go to SE16N and indicate the table which content you want to change. Then type &SAP_EDIT in command field:</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJy1Gv9kmWAmUsEvzhiT5aw5_nncbIhvoUvMFdNsKpOw418FetOgEa_ulzCkSbKsEOrrKfZaZYHZKRJgyz5gZwJnaNg5B9HSqGfHCpqcvsquDraA5boJkPNJlVCTP7M5TYk7EFNYZiX_U/s1600/sap_edit_command.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJy1Gv9kmWAmUsEvzhiT5aw5_nncbIhvoUvMFdNsKpOw418FetOgEa_ulzCkSbKsEOrrKfZaZYHZKRJgyz5gZwJnaNg5B9HSqGfHCpqcvsquDraA5boJkPNJlVCTP7M5TYk7EFNYZiX_U/s1600/sap_edit_command.JPG" xaa="true" /></span></a></div><span style="font-family: Verdana, sans-serif;">and press INTRO. A message saying that editing fucntion is activated is displayed:</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXUZlq5GvIGEI3M03W55aG7Z0x-6kCoDh1j3vZGkcYoPIKtjStb9NoJeCyVKbIUlJmwhRp4xo21mxy5yKjXnqszMkuFbmOnAB_wkAtVvfI3h-T_54ToMui6PCmnVT_MK92lrXZdxv9rwU/s1600/sap_edit_activated.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXUZlq5GvIGEI3M03W55aG7Z0x-6kCoDh1j3vZGkcYoPIKtjStb9NoJeCyVKbIUlJmwhRp4xo21mxy5yKjXnqszMkuFbmOnAB_wkAtVvfI3h-T_54ToMui6PCmnVT_MK92lrXZdxv9rwU/s1600/sap_edit_activated.JPG" xaa="true" /></span></a></div><span style="font-family: Verdana, sans-serif;">Now if you press F8 to retrieve the entries (of course you can specify any selection criteria), in the display of found entries you will find some buttons to insert, modify, delete or copy entries:</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGThOv1ALxtls-T80FOp2ZK7rQf7wQHigBzi58Bb8vdM6ygwzmosYGbYDcvuUAFr8oQhxobbUyTuixhPhya6MbCO3AWywVvcSPp1EeVsVlupBv72syoY4blQKUZyT34pbI-a5vt-wNl4Y/s1600/sap_edit_buttons.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGThOv1ALxtls-T80FOp2ZK7rQf7wQHigBzi58Bb8vdM6ygwzmosYGbYDcvuUAFr8oQhxobbUyTuixhPhya6MbCO3AWywVvcSPp1EeVsVlupBv72syoY4blQKUZyT34pbI-a5vt-wNl4Y/s320/sap_edit_buttons.JPG" width="320" xaa="true" /></span></a></div><br />
<br />
<span style="font-family: Verdana, sans-serif;"><strong><span style="color: white;"><span style="background-color: red;">Warning!!!! </span><span style="background-color: red;">You should not use this trick to change the content of any SAP standard table.</span></span></strong> You could use it, in exceptional cases, to change the content of your own custom tables, if necessary.</span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-2371089477168899872011-09-02T03:00:00.000-07:002011-09-02T03:00:47.239-07:00How to know application documents posted by one IDOC incoming from POS<span style="font-family: Verdana, sans-serif;">If you need to get the application documents posted by one inbound IDOC from POS (Point Of Sale) you can use function module <span style="font-family: "Calibri", "sans-serif"; mso-ansi-language: ES-TRAD; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: ES-TRAD; mso-fareast-theme-font: minor-latin;">POS_SA_GET_DOCUMENT_STATUS. </span></span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><span style="font-family: "Calibri", "sans-serif"; mso-ansi-language: ES-TRAD; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: ES-TRAD; mso-fareast-theme-font: minor-latin;"><span style="font-family: Verdana, sans-serif;">This FM is used in standard transaction WPER</span> </span> (POS Interface Monitor) to show the documents posted as result of integrating an Inbound POS IDOC.</span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-12336476455616997472011-08-31T02:05:00.000-07:002011-08-31T02:05:23.932-07:00Do you need to execute a transaction you are not authorized for?<span style="font-family: Verdana, sans-serif;">You need to execute a transaction for which you don't have authorization. You need to test something urgentely and you can wait to be authorized. What can you do?</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">You can set a breakpoint in function module AUTH_CHECK_TCODE, change the value of a variable when the breakpoint is reached and go on! Let see with an example:</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">I am not authorized for transaction MB11:</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCteVz3dhJu80A_ho_n8nNAcG_w_AV7S28jpthAnEZWcpqku4dV6pyV7Ap4yDRkY1poJdLh3zA9FHCn6dSCSj9yqdNNnQH3xfSEgckv7cNc0O2E18tjTYCo-Zn2VSDu-nFefJEMMWdjf8/s1600/MB11+no+authorized.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCteVz3dhJu80A_ho_n8nNAcG_w_AV7S28jpthAnEZWcpqku4dV6pyV7Ap4yDRkY1poJdLh3zA9FHCn6dSCSj9yqdNNnQH3xfSEgckv7cNc0O2E18tjTYCo-Zn2VSDu-nFefJEMMWdjf8/s1600/MB11+no+authorized.JPG" xaa="true" /></span></a></div><br />
<span style="font-family: Verdana, sans-serif;">Go to SE37 and display the code of function module AUTH_CHECK_TCODE and set a breakpoint here:</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"> call 'AUTH_CHECK_TCODE'<br />
id 'TCODE' field tcode.</span><br />
<span style="font-family: Verdana, sans-serif;"> </span><span style="background-color: yellow;"><span style="font-family: Verdana, sans-serif;">if sy-subrc = 0. </span><strong><span style="font-family: Verdana, sans-serif;"><--Set your breakpoint in this line</span></strong></span><span style="font-family: Verdana, sans-serif;">* auth_check_tcode enthält die Prüfungen von tcode_executable,<br />
* daher im OK-Fall keine Aufruf nötig.<br />
else.<br />
perform tcode_executable using tcode.<br />
* Keine Berechtigung für Transaktion &<br />
message i077(s#) with tcode raising not_authorized.<br />
endif.</span><br />
<span style="font-family: Verdana, sans-serif;">This is a system function module, so execution won't stop at one breakpoint on it if you don't have System Debug activated. To activate System Debug: System --> Utilities --> Debug System</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGbCLlgUA-hnppLVceWzH71BQ-0UUC6x3ffMr5LQj06d8gR6VFLV6mj9MXli7UxggYsACNwwQ3ksvH4nY8B2oqRd9_mVFB3qVrgQ2ZpE_rVpoHkPldJ6TadhNL-VqS3RoroQPAs_KdcVM/s1600/activate+system+debug.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="208" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGbCLlgUA-hnppLVceWzH71BQ-0UUC6x3ffMr5LQj06d8gR6VFLV6mj9MXli7UxggYsACNwwQ3ksvH4nY8B2oqRd9_mVFB3qVrgQ2ZpE_rVpoHkPldJ6TadhNL-VqS3RoroQPAs_KdcVM/s320/activate+system+debug.JPG" width="320" xaa="true" /></span></a></div><br />
<span style="font-family: Verdana, sans-serif;">Once activated, we execute MB11 and the debugger is started:</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyqtLiqoaiaPmWrEM822rkQGFLr5P13UY81FvJ_BhXE2USAG8F3wwd37Pds3ij6X7WZjMjdgQFaFwkrQ-a4QXVpIB6MVA2w5AXW0Q1qJKYuQwNMzApekPSvjYG-SQERf8HERJo2t72EH4/s1600/debugger+started.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="317" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyqtLiqoaiaPmWrEM822rkQGFLr5P13UY81FvJ_BhXE2USAG8F3wwd37Pds3ij6X7WZjMjdgQFaFwkrQ-a4QXVpIB6MVA2w5AXW0Q1qJKYuQwNMzApekPSvjYG-SQERf8HERJo2t72EH4/s320/debugger+started.JPG" width="320" xaa="true" /></span></a></div><br />
<span style="font-family: Verdana, sans-serif;">Press F8 to continue until breakpoint is reached. When it is reached</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-yzhUKEP_cTB8JA352Q1UxbPfDl-6-IRJtIs98DbFWDVt2sG4UKsL1clKPyiB_7OyKHtHXme-7BmUIcCKlQvQDbSPoZq-XJ_MuXAOWtzpVM1plnWNGoFHHwUtBaGgvuiXuSkA7qu5sL0/s1600/breakpoint+reached.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-yzhUKEP_cTB8JA352Q1UxbPfDl-6-IRJtIs98DbFWDVt2sG4UKsL1clKPyiB_7OyKHtHXme-7BmUIcCKlQvQDbSPoZq-XJ_MuXAOWtzpVM1plnWNGoFHHwUtBaGgvuiXuSkA7qu5sL0/s320/breakpoint+reached.JPG" width="271" xaa="true" /></span></a></div><span style="font-family: Verdana, sans-serif;">double click over sy-subrc to be able to change its value from 4 to 0:</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Bzk9OSRJPo14IwUSHTk3Ie0Hby6rIJtdY2gKVkfiOFWihddDAeGPFgaQxaMMj4bf-gEkOnsPJWjYzKpKIg_QWyjtBAgq5VNbJukj77gKrPramE1FpvfJdoLQGWQ1MLF2feCuLfVAzkU/s1600/sysubrc+is+4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="110" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Bzk9OSRJPo14IwUSHTk3Ie0Hby6rIJtdY2gKVkfiOFWihddDAeGPFgaQxaMMj4bf-gEkOnsPJWjYzKpKIg_QWyjtBAgq5VNbJukj77gKrPramE1FpvfJdoLQGWQ1MLF2feCuLfVAzkU/s320/sysubrc+is+4.JPG" width="320" xaa="true" /></span></a></div><span style="font-family: Verdana, sans-serif;">Change sy-subrc field content from 4 to 0, press the button with the pencil:</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdLcmIqajsJoXHOz9weLJm4qCbedUt7Na3nOC8H0DFeEFU4aYiNhybKJpI3Uw3moWATZ4KSCieOFqNQiEm505oq0X7l72nrLGmCh_WvUFrmFSG7sJnuwx8mfAHnu7sjOmt-Q1JWY5xbgg/s1600/sysubrc+is+set+to+0.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="72" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdLcmIqajsJoXHOz9weLJm4qCbedUt7Na3nOC8H0DFeEFU4aYiNhybKJpI3Uw3moWATZ4KSCieOFqNQiEm505oq0X7l72nrLGmCh_WvUFrmFSG7sJnuwx8mfAHnu7sjOmt-Q1JWY5xbgg/s320/sysubrc+is+set+to+0.JPG" width="320" xaa="true" /></span></a></div><span style="font-family: Verdana, sans-serif;">and F8 to continue with the execution and... </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">Great! MB11 transaction's initial screen is showed:</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIwu0xT6ZbP3DSE1Rejrm7w0Yn463jjBUrUcni4vpfC5MjVIeoSLeAx_N3FzVZ2AKmwXMlw1kPRGd8B28eGoF80nd0LGXoe1zqSBZ8KoaskYjHxL1_DbrQbpwW9AleAZrNRb2jNTKN20c/s1600/MB11+initial+screen+reached.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"><img border="0" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIwu0xT6ZbP3DSE1Rejrm7w0Yn463jjBUrUcni4vpfC5MjVIeoSLeAx_N3FzVZ2AKmwXMlw1kPRGd8B28eGoF80nd0LGXoe1zqSBZ8KoaskYjHxL1_DbrQbpwW9AleAZrNRb2jNTKN20c/s320/MB11+initial+screen+reached.JPG" width="320" xaa="true" /></span></a></div><span style="font-family: Verdana, sans-serif;"> </span>abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0tag:blogger.com,1999:blog-3330216394479354407.post-35610721564207534592011-08-29T05:44:00.000-07:002011-08-29T05:44:53.952-07:00How to create an incoming IDOC from ABAP program...If you need to create an incoming IDOC by code in ABAP program, you can use the following function module: <strong>IDOC_INBOUND_SINGLE</strong>.<br />
<br />
You will have to provide IDOC's Control Record information (parameter PI_IDOC_CONTROL_REC_40: structure parameter of type EDI_DC40) and the content of the IDOC you want to create (parameter PT_IDOC_DATA_RECORDS_40: table parameter with records of type EDI_DD40).<br />
abaper72http://www.blogger.com/profile/14276387186276603378noreply@blogger.com0