Popular Posts

Wednesday, December 25, 2013

Let's share knowledge : Complicated search in Smartforms :


Hello,

We could face sometimes very complicated forms such as SD Invoices generated from collective billing document..and unfortunately
1/ The requester demands to change code within non-mentioned node
2/ You have an incorrect value in output or/and even a dump
and since no search functionality has been added to the smart forms tree it's a little bit hard to put your hand right on the money..
Unless you :

A/ Retrieve the name of  node (target code ) from Form information : 


B/ Print the whole tree and simply search using old method : (Ctrl + Find)
We should :
B-1/ Enable the additional control services 

B-2/ Expand menu all node and print them:

B-3/ Locate emplacement :

3/ Finish the task earlier and take a long break  :))


Tuesday, December 24, 2013

Let's share knowledge : Modify TO which is already released !!



Hello SAP Guys,

During years of working on SAP it comes sometimes that we release a workbench request (TO for Transport Order) before ending the edition...
You may be stuck in one of these situations :

1/ You forget to assign your TO to specific project
2/ Add/Delete objects within tasks
3/ Changing Objects such as updating program within released task
4/ Updating the TO description after release
5/ Others...

However, Simply we can avoid the wrath of our Boss for this oversight :)
How? just by following this instructions with both of Requests and Tasks ( 10 seconds of workload )

A/ Create an empty TO for test and release it : DC1K91061C      

B/ Call transaction Tx: SE38 and run this program : RDDIT076  

C/ Populate the input by the target TO number (Request or Task) and execute:

D/ Finding an overview about TOs hierarchy choose your target and change its status from R to D

E/ Just save your changes:
                           

F/ Check again your TO in transport Organizer (Tx: SE10)

It's editable!!

Now, Only correct TOs are released ..No more wastefulness :))




Please notice that this procedure is to use with moderation to avoid the anger of Admin Team !









Monday, December 23, 2013

Let's share knowledge : Skip Authorization check in SAP


Hello All,

Knowing the feeling of persons when they can't access to an SAP transaction, i decided today to share my knowledge around this topic however, it's highly not recommended to use transaction you are not authorized to execute, 
Knowledge is good to have but sometimes bad to pass to action without precautions anyway, user will be responsible for further consequence of performing transaction without authority.

Let's get down to business !!
We have two methods to skip authority check in SAP ;

1/ Perform one of these Function Modules in order to have the right authorization using  Tx Se37 :

  • RS_HDSYS_CALL_TC_VARIANT
  • C160_TRANSACTION_CALL 
  • TRANSACTION_CALL_VIA_RFC 
  • PLM_PS_EXECUTE_TRANSACTION
  • CALL_TRANSACTION_FROM_TABLE
The purpose of these functions is to avoid the first authority check, it might be not the right action to perform if you have already updated you release thus, ignore it, keep smiling and choose 2nd solution .

2/ Put Break-point within Function module: "AUTH_CHECK_TCODE"

Here-under an example made for transaction STZAC :
A/ First run: 

B/ Setting my Break-point:


C/ Run again and push the value 0 for sy-subrc in stead of 4 as shown below:



D/ Press F8 in order to continue normal execution: 



And it works pretty well...hoping it will be helpful for you Consultants :)