MD5sum Checksum Logic in ABAP interface
Hi All..
I am Pavan, ABAP Consultant from Bangalore, India....
How to incorporate MD5sum checksum logic in ABAP interface...???
FYI, MD5sum is a checksum tool available in the web. This tool will generate a unique No' for each flatfile downloaded from SAP via extracts..
When i send the same flat file to my client, they will validate the checksum again.. Once it is validated, then it will be confirmed that data is not tampered... Otherwise, client will reject the file..
This is a mandatory process for my client, since they are working as per SOXa standards... (Sarbanes - Oxley Controls & Process)
Please help me, if any one of you have the information regarding this ..
Thanks in Advance......
Regards
Pavan Sanganal
Bangalore, India
Email : [email protected]
Hi,
assuming you have the content in the well known table
sdokcntbins, the following snippet may became useful:
DATA:
input_length TYPE i,
hash TYPE hash160,
data TYPE xstring.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = input_length
IMPORTING
buffer = data
TABLES
binary_tab = p_file_content_binary.
CALL FUNCTION 'CALCULATE_HASH_FOR_RAW'
EXPORTING
alg = 'MD5'
data = data
IMPORTING
hash = hash.
Best regards,
Stefan
Similar Messages
-
Which case we go for abap interface?
Hi friends,
As per my understand some scenario's are running with out PI integration.........those are called abap interfaces....
then which case we go for Pi? and which case we go for ABAP interface?
please help me on this...
Thanks & Regards
E.Ravi Chandra ReddyHi Ravi,
Understand this way,PI is not only for mapping.It is also used for doing the routing at the runtime.Suppose if you have A coming in the payload it should go to receiver X otherwise Y.
So,depends as per your business requirement.If you just want to integrate 2 system directly.You can go with that but suppose in future you have number of system,you cant do 1:1 connection everytime.At that time you require some middleware to integrate your scenario.
Regards,
Abhi -
No implementing class registered for the interface (ABAP interface, request
Hi,
Proxy has been generated for the Inbound Message interface and i could see the SXMB_MONI entry in Red on the target system.
I get the error "No implementing class registered for the interface (ABAP interface, request...."
regards,
ChaitanyaHi Chaitanya,
Try the below configuration in SXMB_ADM,if you don't have the authorisations to SXMB_MONI ask BASIS guys to do the below activities.
Go to SXMB_ADM.
Execute Integration Engine
EDIT----
> Change Global configuration data
select Role of Business System as Integration Server
Thanks,
Amar. -
Detail info on SAP-ABAP interfaces
Hi experts,
i need detailed info on abap interfaces, means what are all interfaces in ABAP & how that will work ......i would like to know that BDC program comes under interface or not .....
Thanks in advanceHi Narayana,
R/3 Application
==================
ABAP work bench
uesr interface ================== commntn interface
R/3 Basis(middleware)
===================
System software(OS)
Integration of R/3 with the external application via open interface
OLE,RFC,ALE,EDI,CPI-C etc are the interfaces ...
Thanks
Mohinder Singh Chauhan -
Difference between PI/XI interface and ABAP interface
Hello Experts,
We are in the process of identifying interfaces for our current client. I am looking for some documentation or any specific information that will help me to differentiate between SAP PI interface and ABAP Interface. Basically I want to know what are the advantages of PI interface over ABAP interface. What is better? and why?
Any information would be of great help. Thanks.PI (versus point to point ABAP) advantages are:
1) Centralized control over data security
2) More effective (centralized) interface failure monitoring and resolution
3) Elimination of redundant development and maintenance costs -
Hi CRM Tech guys,
plz tell me what are the reuirements in ABAP interfacing to CRM. i want some function modules , bapis, and needed middleware concepts.
plz answer me.
regards
ram.Hi Ram Krishna,
Some of the FM in CRM:
GUID_CREATE Create GUID for a Business Transaction
BAPI_BUSPROCESSND_CREATEMULTI Bapi to create Service Contracts programmatically. Pass the inputfields to be created in the contract.
Note: BAPI_BUSPROCESSND_SAVE must be called after this function call to save the Service Contract.
BAPI_BUSPROCESSND_SAVE Bapi to save the Service Contracts.
BAPI_ECRMISUTO_INIT Initialize the creation of Ibase in CRM
BAPI_ECRMISUTO_CREATEMULTIPLE Create the Installed Base and its components.
Note:
Always call the function module
BAPI_TRANSACTION_COMMIT
after call to any Bapi
CRM_IBASE_INITIALIZE Initialize the changes to be done in Ibase in CRM
CRM_IBASE_SAVE Call this FM to save the changes in the Ibase
BAPI_BUPA_FRG0130_CREATE Bapi to create Business Agreement for a customer
BAPI_BUPA_ADDRESS_ADD Add invoice address for business partner. Pass the address type as 'rechnung' to add invoice address
BAPI_BUPA_BANKDETAIL_ADD Add bank details for the business partner
BAPI_BUPA_CREATE_FROM_DATA BAPI for business partner creation as Organization, Person or Group in general role. Same BAPI can be used to create Contact Person for the Business Partner
BAPI_BUPR_RELATIONSHIP_CREATE Function module to establish the Business Partner and Contact Person
Relationship. Pass the Relationship Category as BUR001
BAPI_BUPA_ROLE_ADD Add Role to Business Partner for e.g. Sold to Party CRM001, Contact Person BUP001
BAPI_BUPA_TAX_ADD BAPI Add Tax Number for the existing Business Partner
BAPI_BUPA_FRG0040_CREATE Create Classification Data for a Business Partner
BAPI_BUPA_FRG0130_CREATE Create Business Agreement
BAPI_BUSPROCESSND_CREATEMULTI BAPI to create Contract. Populate the Header and Line Item Details before calling the BAPI
BAPI_BUPA_ADDRESSES_GET Determine All Addresses
BAPI_BUPA_ADDRESS_GETDETAIL Read Address
BAPI_BUPA_ADDRESS_GET_NUMBERS Read Address Numbers
BAPI_BUPA_BANKDETAILS_GET Determine All Bank Details
BAPI_BUPA_BANKDETAIL_GETDETAIL Read Bank Details
BAPI_BUPA_BANKDETAIL_NUMBERS Read Bank Details Numbers
BAPI_BUPA_CENTRAL_GETDETAIL Read Central Data
BAPI_BUPA_EXISTENCE_CHECK Check Existence of Business Partner
BAPI_BUPA_GET_NUMBERS Read Business Partner Numbers
BAPI_BUPA_RELATIONSHIPS_GET Determine All BP Relationships
BAPI_BUPA_ROLES_GET Determine All Roles
BAPI_BUPA_ROLE_EXISTENCE_CHECK Check Existence of Role
BAPI_BUPA_SEARCH Search Business Partner for Telephone, E-Mail, Address
BAPI_BUPA_STATUS_GETDETAIL Business Partner: Read Status
BAPI_BUPR_ACTIVITYP_EXISTCHECK Check Existence of Contact Partner Relationship
BAPI_BUPR_CONTP_ADDRESSES_GET Read Contact Person Relationship Addresses
BAPI_BUPR_CONTP_ADDR_GETDETAIL Read Contact Person Relationship Addresses
BAPI_BUPR_CONTP_GETDETAIL Read Contact Person Relationship
BAPI_BUPR_EMPLO_ADDRESSES_GET Read Contact Person Relationship Addresses
BAPI_BUPR_EMPLO_ADDR_GETDETAIL Read Employee Relationship Address
BAPI_BUPR_EMPLO_GETDETAIL Read Employee Relationship
BAPI_BUPR_RELATIONSHIP_GET Read General Relationship
BAPI_BUPR_RELSHIP_CHECKEXIST Check Existence of General Relationship
BAPI_BUPR_RELSHIP_GET_DETAIL Read General Relationship
BAPI_BUPR_RESP_EMPLO_CHEKEXIST Read Relationship of Employee Responsible
BUPA_PARTNER_CONTACT_SEARCH Searches business partners for telephone, E-Mail, address
ECRM_ISU_COMP_BY_ADDRESS Check for Existence of Ibase
CRM_ORDER_GET_HEADER_GUID Get Header GUID for Item GUID pass ref_kind as b
CRM_ORDERADM_H_READ_OW Read the Header Details for a Business Transaction. Pass the Header guid.
CRM_ORDERADM_I_READ_OW Read the Line Item Details for a line item. Pass the line item guid.
CRM_ORDER_READ Get all the Service Contract details.
Note: Pass the requested objects to fetch only the required details.
This can also be used to get the details of activities/leads/opportunities etc.
CRM_ORDER_GETSTATUS Get status of the Service Contract
Note: CRM_ORDER_READ Function Module
1. CRM_ORDER_READ is a function module which can be used to get the details of any business transaction based on the Header GUID, Item GUID or both.
2. Always pass the IT_REQUESTED_OBJECTS structure to this function module to fetch the required details only.
3. This function module can not be executed directly instead SAP has provided a report CRM_ORDER_READ for the same for testing purpose. We can pass Business Transaction Number (Object ID), Header GUID or Item GUID to this report to get the required details.
For other Details: just go through : http://help.sap.com/saphelp_crm50/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm
Hope it will help
Regards,
Arjun
<b>Reward points if it helps</b> -
Hello,
I want to convert following logic in ABAP.
if i_out-belnr is between 90000000 and 99999999.
endif.You can do this...
data: r_belnr type range of belnr,
wa_belnr like line of r_belnr.
data: belnr type belnr.
wa_belnr-low = '90000000'.
wa_belnr-high = '99999999'.
wa_belnr-sign = 'I'.
wa_belnr-option = 'BT'.
append wa_belnr to r_belnr.
if i_out-belnr in r_belnr.
endif. -
Dear All,
What is SAP ABAP Interface?
What are the duties of ABAP Interface Developer?
RegardsHi davabap,
In interfaces, we have Inbound(Receiving) and Outbound(Sending) interfaces.
This can be done via IDE(Intercompany Data Exchange).
The data is exchanged through IDOCs (Intermediary Documents)
Here are some good links on IDOCs-
<b>ALE/ IDOC</b>
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
<b>ALE/ IDOC/ XML</b>
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
<b>IDOC Convertion</b>
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
<b>BAPI(Business Application Programming Interface)</b>
http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html
http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm
http://www.sap-img.com/fu033.htm
http://www.sap-img.com/abap/ale-bapi.htm
Re: bapi
www.planetsap.com/Bapi_main_page.htm
www.sapgenie.com/abap/bapi/index.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3e/ecf226942511d2ad4b080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.allsaplinks.com/bapi.html
http://www.sapgenie.com/abap/bapi/example.htm
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://www.allsaplinks.com/bapi.html
BAPI
BAPI
http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
http://help.sap.com/saphelp_46c/helpdata/en/dd/5009660aa411d2ad1b080009b0fb56/content.htm
http://www.sap-img.com/abap/bapi-conventions.htm
<b>OLE</b>
http://www.sapgenie.com/abap/ole.htm
http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/59/ae3cac488f11d189490000e829fbbd/content.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE6/BCFESDE6.pdf
<b>RFC Destination</b>
Re: SM59
Reward points if you find the links useful.
Regards,
Tanuja.
Message was edited by: Tanuja Sarraju -
Can any one tell me a short description about Abap interface program also the difference between inbound and outbound interfaces ??
Hi
Interfaces
Interfaces only describe the external point of contact of a class (protocols), they do not contain any implementation.
Interfaces are usually defined by a user. The user describes in the interface which services (technical and semantic) it needs in order to carry out a task.
The user never actually knows the providers of these services, but communicates with them through the interface.
In this way the user is protected from actual implementations and can work in the same way with different classes/objects, as long as they provide the services required. This is known as polymorphism with interfaces.
Interfaces
In ABAP interfaces are implemented in addition to, and independently of classes. An interface only has a declaration part,
and do not have visibility sections. Components (Attributes, methods, constants, types) can be defined the same way as in classes.
· Interfaces are listed in the definition part lof the class, and must always be in the PUBLIC SECTION.
· Operations defined in the interface atre impemented as methods of the class. All methods of the interface
must be present in the implementation part of the class.
· Attributes, events, constants and types defined in the interface are automatically available to the class
carrying out the implementation.
· Interface components are addressed in the class by display. -
Hi folks,
Actually my requirement is, i have some data in an internal table. I have to check the particular record in in that itab is there in infotype 9003 by checking some condtions. if the record is not found in the 9003 i need to display a error message. I am new to ABAP HR. Please help me regarding the logic of comparing ITAB and an infotype in my requirement here.
Thanks,
Ram.Create a program
In program attributes
Put PNP for the Logical Database field
Save it
You will have PNP's standard selection screen
If you dont want selection screen from PNP,
In program attributes Choose HR REPORT CATEGORY
Create one with no fields for selection
tables: pernr
infotypes: 0000, 0001, 0002, 0006, 9003
start-of-selection.
get pernr.
loop at table p9003.
endloop.
all values of 9003 will be in internal table p9003
If you have Personnel number in your internal table itab then the easier code without PNP Logical database is
loop at itab.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
* TCLAS = 'A'
pernr = itab-pernr
infty = 9003
BEGDA = '18000101'
ENDDA = '99991231'
IMPORTING
SUBRC = subrc
tables
infty_tab = it9003
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc = 0.
** Do the processing you want to do
ENDIF.
endloop.
Reward points if helpful -
Logical difference ABAP InputScript
Hi,
What is the logical difference between a "Call transaction using..." in ABAP and an InputScript?
Thanks,
Govindappa.Hi,
There are 2 main differences between ABAP call transaction and InputScript:
- The InputScript remains active while you process the transaction.
In particular, you can read all screen values and make decisions based on these values.
When you implement a Call Transaction in ABAP, you have to deliver all input data in advance.
- GuiXT offers a number of built-in features. For example, GuiXT will automatically display those popup screens that you do not handle in your InputScript, so that the user can continue, even in a situation that you did not anticipate.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar. -
HI ,
Can u explain the interfaces in ABAP concepts.
Thank u sir,This link will tell you all about Interfaces -
Interfaces
Regards,
Amit
Reward all helpful replies. -
Hi all,
I have a question for you: customers having a lot of interfaces already developed with traditional ABAP methodology are asking me a list of GOOD reasons to move to XI any suggestion?
Thanks in advance,
Michele.maybe u cannot move ALL the interface to XI without undestanding the current system. the reasons are many why XI can be used and to name a few:
Easy Integration with SAP products & components (RFC, IDOC, Proxy).
Data security as expected from any SAP product.
Standards based - XML, XSD, Xpath etc
Ability to communicate with other messaging systems/products.
Business Process Management
Synchronous & Asynchronous communication possible.
Complex processes for communication possible instead of only sending and receiving (business process management) (connect e.g. asynchronous and synchronous steps, define complex communication scenarios)
Mapping etc possible to accomplish in Java. Platform independent Java components.
all integration under one roof
easy maintenace and monitoring
Java & .Net support.
Big range of adapters for different technologies / tools (SOAP, Mail, JDBC, CDIX...)available in standard or offered by other companies (EDI e.g. by Seeburger).
Process functionalities inside XI to modify content in the communication channel on own defined rules fpr business purposes.
Central monitoring for data communication for all your communication between different systems. -
Hi,
am very new to abap , i have the logic of Prime number in c language , i want to do it in ABAP ,
so kindly help me .
thanks,
SudhakarREPORT ztest1 .
PARAMETERS: p_from TYPE i,
p_to TYPE i.
DATA: v_from TYPE i,
v_to TYPE i,
v_remainder TYPE i,
v_is_prime TYPE c,
v_divisor TYPE i.
START-OF-SELECTION.
v_from = p_from.
v_to = p_to.
DO.
IF v_from = v_to.
EXIT.
ENDIF.
CLEAR v_is_prime.
DO v_from TIMES.
v_divisor = sy-index.
v_remainder = v_from MOD v_divisor.
IF v_divisor <> 1 AND
v_divisor <> v_from AND
v_remainder = 0.
*-- not a prime
v_is_prime = 'N'.
EXIT.
ENDIF.
ENDDO.
IF v_is_prime IS INITIAL.
*-- the number is prime
WRITE:/ v_from, 'is a prime number'.
ENDIF.
v_from = v_from + 1.
ENDDO. -
Apply WCCP redirect to logical or physical interface?
If there is a logical subinterface configured under its physical interface (for example serial0/0/0.100 for routing), I should apply WCCP redirect (ip wccp 62 redirect in) to the logical interface, not the physical interface. Is that correct?
ThanksYes. You apply WCCP redirect to subinterface if you are using sub interfaces.
Regards.
PS: Please mark this Answered, if it answers your question.
Maybe you are looking for
-
Help! my bluetooth doesn't work at college
I have a PowerBook G4 with a wireless mouse. I also have a USB bluetooth adapter for my HP photosmart 8150 printer. Both worked fine when I was at my house, and now that I am at college, neither work! My Bluetooth is always unavaible, and I do not un
-
I keep getting a Time Capsule Error, how do I resolve?
I keep getting a Time Capsule Error, how do I resolve?
-
Hanging problems with JRE 1.4.0 and Windows 2000
We have written a Java application which is an editor using Swing components. Most of us happily run it on Windows 2000 PCs with a decent PC spec of 512 Mb RAM and 1 Gb Processors and Java JDK 1.4.0 installed. However, other users with smaller spec P
-
I have Elements 11 (and Lightroom). I just bot a SONY RX100-II camera.
I tried to load the photos shot in RAW, but nada. I need to know how to get the program I need so that I can use Elements 11 and Lightroom with this camera, shooitng in RAW. Am leaving for Cuba in 5 days. [email protected]
-
I bought my iTouch on Sept 14, 2012. Any idea on when it will be shipped? Mahalos!!