Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

abap

Former Member
0 Kudos

hi,

1. what is the function module to upoload logo in alv.

2. what is edi? name a few edi sub systems

3. what r diferent layers in ALE.

4.what isSAP standarddirect input program for material master.

5. in which transaction code & table, standard forms driver programs & form routines r available

9 REPLIES 9

Former Member
0 Kudos

1. Use FM - 'REUSE_ALV_COMMENTARY_WRITE'.

If you are using Function modules to display (You can also use Class), you will have to use GRID display for displaying the logo. Its not possible in List display.

Use the Function module REUSE_ALV_GRID_DISPLAY and pass the parameter "I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' ". This TOP_OF_PAGE is the subroutine (FORM - ENDFORM) in which the actual top of page code will be written (for showing the logo).

0 Kudos

hai ashvinder

i am vijay

i want notes of the user exsists and BADIs please nay DOC and PDF pleasesend me

suresh_datti
Active Contributor
0 Kudos

5. TCode: NACE & Table: TNAPR

Regards,

Suresh Datti

Former Member
0 Kudos

hi Meghna, hope these answers helps you well...

(1)

Look at the sample code to display LOGO.

**********************

call function 'REUSE_ALV_GRID_DISPLAY'

exporting

i_callback_program = i_repid

  • i_callback_user_command = 'USER_COMMAND_PERNR'

it_fieldcat = header

is_layout = gt_layout

i_callback_top_of_page = 'TOP-OF-PAGE1'

i_grid_title = xyz

it_sort = gt_sort[]

i_default = 'X'

i_save = 'U'

is_variant = gt_variant

it_events = gt_events

tables

t_outtab = t_output.

clear t_output.

*****************

----


  • Form TOP-OF-PAGE1

----


form top-of-page1.

data: header type slis_t_listheader,

wa type slis_listheader. "infield like wa-info, nline type n.

  • TITLE AREA

wa-typ = 'S'.

wa-info = text-h04.

append wa to header.

wa-typ = 'S'.

write sy-datum to wa-info mm/dd/yyyy.

concatenate text-h03 wa-info into wa-info separated by space.

append wa to header.

wa-typ = 'S'.

concatenate text-h02 sy-uname into wa-info separated by space.

append wa to header.

wa-typ = 'S'.

concatenate text-h01 sy-repid into wa-info separated by space.

append wa to header.

********" LOGO

call function 'REUSE_ALV_COMMENTARY_WRITE'

exporting

it_list_commentary = header

i_logo = 'ENJOYSAP_LOGO'.

*********" LOGO

endform.

To upload a logo ( bmp or jpg file) from the local system to SAP, use transaction code - OAER.

Inside that give class name - pictures

class type - OT

object key - ALVLOGO

click execute/f8. Then inside the screen below, click standard doc.type list and select screen. Right click on it and click import file. Then select a file from ur local system and upload it. The object key which we give here is the value passed to Reuse_alv_commentary_write function.

(2) Electronic Data Interchange (EDI) is about doing business and carrying out transactions with your trading partners electronically. EDI covers most things that are traditionally done using paper-based communication.

The EDI interface is used to connect an EDI subsystem to the SAP system. EDI subsystems perform all EDI-related tasks such as Converting the data Handling messages or interchanges Communications Managing the partner profiles Monitoring processing. The EDI interface is based on IDoc technology. IDoc technology is independent of EDI standards. All data is exchanged via files between the SAP System and the EDI subsystem. The synchronous RFC (remote function call) is used to define the time of transfer of the files between both systems. Via the EDI interface, the following data can be exchanged:

Outbound IDocs. IDocs are transferred from the SAP System to the EDI subsystem.

Inbound IDocs. IDocs are transferred from the EDI subsystem to the SAP System.

Status report. To inform the SAP System of the progress of processing of the outbound IDocs, the EDI subsystem transfers the status report to the SAP System.

The object of the certification is the technical test of the interface between SAP System and EDI subsystem. The transfer of outbound IDocs, inbound IDocs and the status report are tested. The test is performed for the EDI standard UN/EDIFACT. As an example, the messages used are:

Outgoing order (ORDERS)

Incoming order (ORDERS)

Outgoing order response (ORDRSP) and

Incoming order response (ORDRSP).

(3)

ALE comprises three layers:

the applications services,

the distribution services,

the communications services.

(4)

MM - for Material Master data - RMDATIND

FI - for Accounting Documents - RFBIBL00

PP - for Independent requirements - RM06IN00

CA - for Classification data - RCCLBI03

(5)

TNAPR - Processing programs for output

Former Member
0 Kudos

4)SAP std. direct input program for material master:

RMDATIND(for uploading data).

RMDATGEN(for Downloading data).

Regards.

Former Member
0 Kudos

Hi! here is the answer to your 3rd question (ALE):

ALE acts as a layer that incorporates the inter-linking of business objects at the application level. The ALE layer provides the following services:

Applications services: this layer provides ALE with an interface (for instance: BAPI) to R/3 to facilitate data exchange to or from external R/3 systems.

(ii) Distribution services: the onus of filtering and converting messages exchanged between SAP and non-SAP systems is on the distribution layer of ALE. This service is the core service and acts as a sandwich layer between application and communication layers.

(iii) Communications services: ALE supports synchronous as well asynchronous communication. Synchronous messaging is used for the direct reading of control data, while asynchronous messaging is used for transmitting or receiving application data.

The implementation of ALE is achieved with the help of external converters (ALE converters), which connect SAP applications to non-SAP applications. In simple words, external converters are generic-format conversion programs, which contain specific converter functions.

Regards.

Former Member
0 Kudos

Hi,

1.

See this

call function 'REUSE_ALV_COMMENTARY_WRITE'

exporting

it_list_commentary = t_header.

i_logo = 'Z_LOGO'.

endform.

Can see this link

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm

Upload Logo for REUSE_ALV_COMMENTARY_WRITE

For those who wish to upload and use a picture in your ALV abap reports.

Steps for uploading Logo :-:

1. Goto the transaction OAER

2. Enter the class name as 'PICTURES'

3. Enter the class type as 'OT'

4. Enter the object key as the name of the logo you wish to give

5. Execute

6. Then in the new screen select Standard doc. types in bottom window

Click on the Screen icon

Now, it will ask for the file path where you have to upload the logo

7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE

or

Import Logo and Background Picture for Reporting

In this step, you can import a customer-specific logo and a background picture into the R/3 System. These will be displayed in the header area of reports in HR Funds and Position Management.

From the SPRO:

HR Funds and Position Management --> Dialog Control --> Customize Reporting Interface --> Import Logo and Background Picture for Reporting.

Activities

1. Enter the Name of your logo/background picture as an object key in the initial screen.

2. Make sure that the class name is PICTURES, and the class type is OT.

3. Choose Execute.

4. Double-click the document type Picture on the Create tab page. A dialog box will appear in which you can enter the path in which the logo/background picture can be found.

5. Enter the path and choose Open. The logo will be uploaded into the current R/3 System. If the logo/background picture is to be transported into other systems as well, choose Transport.

6. Return to the initial screen and repeat the procedure after having entered the Name of your background picture as an object key.

Please note that the logo/background picture can only be displayed in ALV-based reports with an HTML header. Manually programmed reports such as business distribution plans are not based on the ALV.

If you have selected several initial objects, ALV-based reports in HR Funds and Position Management will automatically use a hiearchical-sequential display. A logo is not displayed here either. Note also that the logo cannot be printed (see print preview in program).

Make sure that the logo does not exceed a height of 100 pixels because it would mean that the header of the report will be scrollable.

2.

this is what SAP says..

EDI means..ELECTRONIC DATA INTERCHANGE

EDI is some thing different.

EDI is a technique used to communicate

business and information transactions

between computer systems of different

companies and organizations.

Electronic Data Interchange (EDI) is about doing business and

carrying out transactions with your trading partners electronically.

EDI covers most things that are traditionally done using paper-based

communication, for example placing orders with suppliers and

carrying out financial transactions.

EDI is described as the interchange of structured data according to

agreed message standards between computer systems, by electronic

means. Structured data equates to a simple and direct method of

presenting the data content of a document, be it an invoice, a sales

order, or any other document type. The method of ensuring the

correct interpretation of the information by the computer system is

defined by the EDI standard.

check the below links

www.sapgenie.com/sapedi/edi_sap_training.htm

www.sap-img.com/basis/ difference-between-edi-and-idoc.htm

help.sap.com/saphelp_nw04/helpdata/ en/35/26b592afab52b9e10000009b38f974/content.htm

help.sap.com/saphelp_nw04/helpdata/ en/35/26b594afab52b9e10000009b38f974/content.htm

http://www.onestopsap.com/interview-Question/edi/

3.

ALE consists of the following layers:

Application services

Distribution services

Communication services

4.

The program is RMDATIND and BMMH7 to fill material texts.

5.TCode is NACE

Table is TNAPR

Hope this helps.

Regards,

Naveen

Former Member
0 Kudos

Hi megna!

If you are getting any reply form the forum for your query then you should give reward points you each answer you got.

Thannk and regards.

Former Member
0 Kudos

hi meghana,

sample code to upload a logo into alv:

call function 'REUSE_ALV_COMMENTARY_WRITE'

exporting

it_list_commentary = header

i_logo = 'ENJOYSAP_LOGO'.

ALe:

check this link:

http://www.sappoint.com/ppt/ale.ppt

EDI:

EDI is described as the interchange of structured data according to agreed message standards between computer systems, by electronic means. Structured data equates to a simple and direct method of presenting the data content of a document. The method of ensuring the correct interpretation of the information by the computer system is defined by the EDI standard."

http://www.sapgenie.com/utilities/edi.htm

regards,

keerthi.