segunda-feira, 20 de julho de 2020

How to know all the SAP Business Partner Transaction Code by Just Typing BUPT in SAP S/4 HANA? You must be kidding :)

Introduction
After working with SAP for more than 15 years and travelling across the Globe for SAP Projects. One issue I always use to have is how can I keep track of all the SAP Transaction Codes associated with any Module. If you are working as a SAP  Consultant you need to keep the name of Transaction Codes in your Fingertips. Sometimes you know from other Experts and sometimes you have to dig it out. After exploring I found a very easy way to dig out the SAP Business Partner Codes in SAP S/4 HANA. Just check this blog and never need to remember the Transaction Code for Standard SAP Business Partner
With SAP S/4 HANA Vendor and Customers are defined as Business Partner. The below tips help you know all the BP related Tcode,
Solution
Login to SAP and Type BUPT in Command Bar
Wala below you get all the Transaction Code related to SAP Business Partner Transaction Codes.
Conclusion
Please use this solution any where in SAP S/4 HANA
For video version check below link

How to Find the Transaction Code behind any Process Area very easily?

Introduction

SAP is just like an ocean and every droplet is like one SAP Transaction Code. How to find the relevant SAP Transaction Code for a process without knowing anything.

Solution
Go To  Transaction Code SE16T and execute for Find Transaction Code option as highlighted below
After Executing we get below screen.
Now suppose I want to know transaction code for Internal Order so I type Internal order.

Above we got all the transaction code for Internal order.
For video link please check below

quinta-feira, 16 de julho de 2020

How to get all the important SAP Vendor Invoice Management Transaction Code by Opentext in your Fingertips

Introduction
After working with Opentext Vendor Invoice Management for over 7 years one thing I have found very difficult is to keep track of the Different Transaction codes as all of them starts with the Namespace /O. For every Consultant who is willing to learn this very popular and important Module you should just use the below blog to know the Transaction Code associated with it.
Solution
Login to SAP and Just Type /N/OPT/VIM like below Screenshot

Wala we have all the important Transaction related to VIM

Conclusion
Use this blog for both SAP and SAP S/4 HANA and stop stressing your brain with Opentext VIM Transaction Code:)

For video Version check below link.

SAP S4H (IDOC) to SAP CPI – Inbound IDoc Interface

Hi SAPiens,
Below blog explains the steps required to establish the communication between SAP CPI and  on-prem S4Hana. This is for inbound IDoc interface and for demo purpose I am using mail as receiver.
Topics will be covered –>
  1. System Connection between S4H and CPI
  2. Background Configurations required
  3. Configure Idoc Sender Adapter
  4. Search messages in message monitoring based on Idoc Number
To be able to send messages from SAP S4Hana to SAP CPI import CPI certificates in S4Hana STRUST. You can download CPI certificates either from keystore or from any browser.
  1. Login to S4hana system –> Tcode STRUST (Import all 3 CPI certificates) –> Add to Certificate List
  2. Create Logical System for S4H and CPI system in Tcode BD54
  3. Create RFC Destination of Type G –>Host = CPI Tenant, Port = 443, Path Prefix = from Sender Adapter (CPI – IFlow); Logon & Security
  4. RFC Connection test returns HTTP 500 response
  5. Create Port WE21 –> Port Type –> XML HTTP
  6. Partner Profile WE20 –>
    1. Import Outbound Message type with port created in earlier step
  7. In the Custom IFlow, give the same path prefix as given in RFC DestinationIDoc Adapter Configuration –>
  8. In-order to be able to search my Iflow in monitoring based on Idoc number, I have configure Content Modifier with Header ValuesI am using Headers –> SapIDocDbId, SapIDocTransferId, SapIDocType in my mail body and created SAP_ApplicationID to pass Idoc Number from payload which will help me to monitor messaged based on Idoc Number. Value for SAP_ApplicationID is Xpath of my Idoc DOCNUM
  9. Configure Mail adapter and deploy IFlow
  10. Trigger IDoc in S4Hana, WE02 –>
    1. Status = 03 –> Idoc Triggered to CPI
    2. Status = 02 –> Check Iflow status in CPI
  11. CPI –> Message Monitoring
  12. Mail Received Successfully
Thank you,
Rashmi

How to Find SAP Table by just knowing nothing about SAP? Its True

Introduction
After working with SAP for more than 15 years and travelling across the Globe for SAP Projects one issue I always use to have how can I keep track of all the SAP Tables associated with different Modules. If you are working as a SAP ABAP Consultant you need to keep the name of tables in your Fingertips. Sometimes this you know from other Experts and sometimes you have to dig it out. After exploring I found a very easy way to dig out the SAP tables associated with a Business Process Area. Just check this blog and conquer the SAP world.
SAP is just like an ocean and every droplet is like one SAP Table. How to find the relevant SAP Tables for a process without knowing anything.

Solution
Go To  Transaction Code SE16T and execute for Find Table option as highlighted below
Now you get the below screen
Now enter the Business Process Name. In my case I want to know Table name for Cost Center
We got all the relevant table so easily.


For the video version please check link below.





Conclusion
Using this Tutorial anyone can find the tables related with any process. Sky is the Limit My Friends

How Minimum, Total shelf life works !!

Purpose:
The purpose of this blog post is to explain the system behavior when we maintain minimum shelf life, Total shelf life in material master and  standard errors faced during GR when we maintain these data.
What is Total shelf life and minimum shelf life?
Total Shelf Life:-
Period for which the material will be kept in total that is, from the date of production to the shelf life expiration date.
When Values of minimum and total shelf life  are updated in  material master
The system assumes that the date entered upon goods receipt is the material’s date of production. It then calculates a shelf life expiration date from the date of production plus the total shelf life
SLED= Date of Production + No. of Days/Months/Years
When Values of minimum and total shelf life  are not updated in material master
The system assumes that the date entered upon goods receipt is the material’s shelf life expiration date.
In both cases, the system updates the shelf life expiration date in the batch master record and in the material document if the goods receipt is accepted.
Minimum Remaining Shelf Life:-
Minimum amount of time for which the material must be kept  upon goods receipt accepted by system.
The function of this field is to put check during any Stock Posting.
e.g.  Total shelf life of product is 24 Months and in material master minimum shelf life is 2 months.
So after 22 months from date of manufacturing system will not allow any stock posting.

Implementation of expiry date check at goods receipt can be done via two methods:
  1. Entry of manufacturing/expiry date during GR (MIGO)
  2. Entry of manufacturing/expiry date during GR (CO11N/COR6N)
In this blog post , we will go through the  scenario of  manufacturing/expiry date during GR (MIGO)
Configuration:
  1. SPRO–> Batch Management –> SLED –> Set Expiration Date check (OMJ5)
      2. Activate SLED check at 101 movement type = 1 (Enter and check manufacturing/expiry date
during GR)
Illustration: 
Case 1: Raw material procured from vendor with Minimum and total shelf life maintained in material master
 
 a) When minimum shelf life and total shelf life are, maintain in material master. It is mandatory to enter date of production during GRN else below error will be displayed.
b) Suppose posting date is on 11-06-2020 and date of production entered is in past for batch as 11-05-2020. System will display below error  and will not allow to do posting.
c) Suppose Date of manufacturing of batch entered is 12.05.2020
System will display below error message
d) When date of manufacturing is in future, system will display below error
Logically, production date cannot be greater than GR date. In order to change this  warning message into error, Message number will be changed from warning to Error in OMCQ transaction.
Once this change is done and will try to do GR again, system will display below error message
Case 2: When minimum and total shelf life is not maintained in material master
In this case, system will not ask to enter date of production. Shelf life and date of production can be updated as blank or it can be updated manually during GRN and same will be updated in batch master
Case 3: When minimum  shelf life is maintained in material master and total shelf life is blank.
In this case, system will ask to enter shelf life as minimum shelf life is maintained in material master
Suppose SLED entered is in past  say 19.05.2020, system will display below error
When SLED entered as  current date, system will display below error message
System will only allow to do posting as per minimum shelf life of 10 days
In this case, only expiry date will be updated in batch master.
Case 4 : Minimum shelf life is blank and Total shelf life is maintained in material master
This case is not allowed, as we have to enter put minimum shelf life
Conclusion:  We will be able to understand and analyze the system behavior when minimum shelf life and total shelf life data is  maintained in material master.
Thanks…. I hope you will like this blog post.
Any feedback or improvements in blog post will be highly appreciated so that it will be helpful to community members

Regards,
Amit Sharma

In SAP how to find a Table behind a Transaction Code

Introduction.
After working with SAP for more than 15 years and travelling across the Globe for SAP Projects one issue I always use to have how can I keep track of all the SAP Transaction Code associated with different Modules. If you are working as a SAP ABAP Consultant you need to keep the name of transaction Codes  in your Fingertips. Sometimes this you know from other Experts and sometimes you have to dig it out. After exploring I found a very easy way to dig out the SAP Transaction Code associated with a Business Process Area. Just check this blog and conquer the SAP world.
This is very fundamental but very important. Everyone who is working  as a Consultant will use it all the time. This Tutorial will help them to find the SAP Tables behind any SAP Transaction Codes whether it is SAP ECC and SAP S/4 HANA.

Solution.
Step by Step instruction
Go to Transaction Code ST05 and activate Trace for your SAP User Id.
Now suppose the requirement is to get the Table that stores the Field of all Standard Tables. In this example I want to Find the Table that stores EKKO Table field as a matter of fact any table fields.
Below is the EKKO Table Field
Deactivate the Trace from ST05
Now Display Trace
Execute on the below Option
Now we got the Result

Now hit the Find button as shown in Blue
Now Search with Keyword EKKO
I think below is the table that has all the field names for Table EKKO
Let us verify by going to SE16 and enter table name DD03L
Now we enter TABNAME as EKKO shown below
WALA we got our Result
We can use the above concept to get any table behind a Transaction Code.
Please check below link for Video option.

Conclusion
Now you can use the above concept to know Transaction Codes for anything and everything