Usefull ABAP Programm
Hi Experts,
Any Usefull ABAP program for SD, MM, FI, which one will come on daily needs.
Thanks
Hi
There are various requirements in These modules on daily basis. What is ur requirement plz be specific.
Regards
Sumit Agarwal
Similar Messages
-
As a abap programmer what is the role in ale/idoc.
hi guru.
i am a abap programmer. please tell me<b> what is the role of abap programmer
in ale/ idoc.</b>
regards.
subhasis.Hi,
ALE is Application Link Enabling.
ALE
A means of creating and operating distributed applications.
Application Link Enabling (ALE) guarantees a distributed, but integrated, R/3 installation. This involves business-controlled message exchange using consistent data across loosely linked SAP applications.
Applications are integrated using synchronous and asynchronous communication - not by using a central database.
ALE consists of the following layers:
Application services
Distribution services
Communication services
Refer
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
Check this link ALE and EDI
ABAP Programmer must know how to create inbound n outbound interfaces to send IDOCs through ALE.
Please refer to the details mentioned in the hyper-links beow.
You will get the details how to go about it.
To see the IDOC & status check it in WE02/WE05
You will get step by step process.
ABAP Development
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
http://help.sap.com/saphelp_45b/helpdata/en/35/b0ea5187a62488e10000009b38f9b7/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c4/6bc368fef411d28d0900104b56737d/frameset.htm
ABAP Development
Follow below steps to create custom IDOC.
1.Create segments through transaction WE31.
2.Create IDoc Type through transaction WE30 by attaching created segments.
3.Message type through transaction WE81.
4.Link Idoc and message type in WE82 transaction.
Check the transaction WEDI for ALE settings
Check these links for more details on IDoc's:
ALE/ IDOC
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
ALE/ IDOC/ XML
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
IDOC Convertion
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
Hope this will help.
Regards,
Priyanka. -
ABAP Programm(RSIMPCURFILE) in Process Chain
Hello,
i have a problem with the Process Chain. I Would like to run an Process Chain with an ABAP Programm to load a Currency File automatic.
The Program Name ist: RSIMPCURFILE.
I have define an Programm variant with some Parameters but i dosn't work. In the Batch Window i became a mistake like : "The Frontend Function is not working"
Did someone know this problem?
Kind regards
MinoGreat ... it works
Thank u very much. -
ABAP Programm for calling Proxies
Hi Experts,
I was writing a ABAP programm für starting a ABAP proxy.
*& Report Z_XI_MAPPING
REPORT Z_XI_MAPPING.
parameters: PA_WAIT type decimals default 0,
PA_LOOP type decimals default 1,
PA_EOIO type char1 default 'X',
PA_QUEUE type PRX_SCNT default 'Regression01'.
DATA: myProxy TYPE REF TO ZCO_MI_MAPPING_OUT ,
l_start type tims value is initial,
l_start_time type i value 0,
l_end_time type i value 0,
l_max_time type i value 0,
l_min_time type i value 999999999,
l_delta_time type i value 999999999,
l_avr_time type i value 0,
l_ctr type i value 0,
l_ctr_item type i value 0,
lt_pers_id type char10,
it_pers_id type char10,
lo_async_messaging TYPE REF TO if_wsprotocol_async_messaging.
get time.
WRITE: / 'System: ' , sy-sysid,
'Start Time: ', sy-datum, sy-uzeit,
'Wait Time: ' , pa_wait,
'Loops: ' , pa_loop.
WRITE: / 'start-time execution-time'.
TRY.
CREATE OBJECT myProxy
EXPORTING
LOGICAL_PORT_NAME = 'LP_XI_REGRESSION'.
CATCH CX_AI_SYSTEM_FAULT .
ENDTRY.
specify queue id
if pa_EOIO = 'X'.
lo_async_messaging ?= myProxy->get_protocol( if_wsprotocol=>async_messaging ).
lo_async_messaging->set_serialization_context( pa_QUEUE ).
endif.
data: OUTPUT type ZMT_MAPPING_OUT .
move 'Element01' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_01.
move 'Element02' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_02.
move 'Element03' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_03.
move 'Element04' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_04.
move 'Element05' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_05.
move 'Element06' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_06.
move 'Element07' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_07.
move 'Element08' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_08.
move 'Element09' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_09.
move 'Element10' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_10.
do pa_loop TIMES.
l_ctr = l_ctr + 1 .
get time.
move sy-uzeit to l_start.
get run time field l_start_time.
TRY.
CALL METHOD myProxy->EXECUTE_ASYNCHRONOUS
EXPORTING
OUTPUT = OUTPUT.
CATCH CX_AI_SYSTEM_FAULT .
ENDTRY.
get run time field l_end_time.
l_delta_time = l_end_time - l_start_time.
l_avr_time = l_avr_time + l_delta_time.
if l_delta_time < l_min_time.
move l_delta_time to l_min_time.
endif.
if l_delta_time > l_max_time.
move l_delta_time to l_max_time.
endif.
WRITE: / l_start,
11 l_delta_time.
wait up to pa_wait seconds .
enddo.
COMMIT WORK.
l_avr_time = l_avr_time / l_ctr .
WRITE: / 'fastest call: ', l_min_time,
'slowest call: ', l_max_time,
'average time: ', l_avr_time,
'Count IDs: ' , l_ctr.
When activating this program I get the error: "The data object OUTPUT-MT_MAPPING_OUT does not have a component SET-SET_ELEMENT_01
But the structure of the Proxy looks like this:
ZCO_MI_MAPPING_OUT
Method Execute Asynchronous
Importing OUTPUT
MT_MAPPING_OUT
SET
SET_ELEMENT_01
SET_ELEMENT_02
I gernereated and activated the proxies several times, which did not solve the problem. I switched also in the ABAP Coding between capital an dsmall letters...
I have no idea where the problem is, it looks all fine for me.
Hope you can help me there.
Thanks,
SebastianHi Sebastian,
It's because you reference the wrong structure. It's a bit tricky to get the right one, but look into generation tab in SPROXY. Here you can see, which data elements has been created, and using the right one of these is the key. Notice you can foreward navigate into the different structures, which can help you.
Kind regards
Mikkel -
Count option in abap programme
Dear
I am writing abap programme.
i want count option in abap programme.
For how many rows display in my programme.
pls suggest.To display count of rows in ur final table use this code:
data: l_lines type i.
l_lines = lines( itab ).
write: l_lines. -
BEx Query via ABAP Programm (without Querydesigner) ???
hello friends,
is there anybody who knows a solution to gernerate a BEx Query without using the BEx Querydesigner, with ABAP coding, only!? I´m looking for a solution, whre f.e. the customer selected character, keyfigures and selections in an external applikation (maybe ms excel) and from there an ABAP programm takes the information and generate a BEx Query?
I´m not sure if these considerations could be come reality, but maybe there is a solution, or some ideas and input from your side!?
thx...hi anass,
thx for your reply. Yes i know this feature, but this isn´t a solution for my tasks. Becaus I need a "regular" query at the end of the process, which i can implement in an WAD template. and on top I need the queries for BW IP planning applications, so the tool must generate planning queries with input ready cells.
I think these facts and many many side effects like variables, hierachies, structuredefinions and so on, will destroy my "dreams" of such a 'query-generating-tool'. probably a very easy query will be a problem for automatic generation, because there are many sap tables where the queryinformation will be stored, with id references, and so on...
br david -
How to findout Database view assign to ABAP Programme (finding tables known
Any way to find out Database views assign to ABAP Programme.
Need to secure Programme through SE54 by assigning Authrization group to Views But dont know the views.
Through se93 and then se80 gives only tables used in Trx not views.
Any help?Try if the t-code SE12 is of any help to you. For more details on your query, a search or posting in the ABAP forum will be helpfull.
[ABAP Dictionary;
Regards, -
Is there online platform where we can execute our ABAP Programme
Hi Buddies,
Could some one let me know where i can execute my abap programmes online.
Because most of the time i used to implement outside the home. where abap software installation is not possible.
So that i need a platform where i can execuet my programme online.
~RashidI found this site host free Ides Service, www.ides.consolut.eu you need to register with this. It is a training server, so Most of the features will be disabled, If you are looking out for a basic, functionality yo can go with this one. I am not sure if you can access this from india. You can try it.
-
Calling of webmethods through abap programme
Hello experts,
There is requirement in my project related to webmethods.i have to create an ABAP programme(REPORT) To download a report using a new webmethod service.The programme will call the webmethod service using the following parameters:
- Merchant ID
- Password
- Report Name/Format
- Report Date.
The wM service will pass back the report contents to the calling program. The program will then build an output file onto the SAP UNIX interface directory for subsequent processing by another program .
can any one please send me a brief pseudocode,as i don't know webmethods.
please help me as this is a very crunch situation.
regards
PrasunHi Prateek,
i don't know which version i am using,i don't know how to invoke webmethods through ABAp programme.i just wanta a brief pseudocode for the same.
regards
Prasun -
Tips for a new ABAP programmer...
Hello experts,
I am a fairly new ABAP programmer that usually modifies existing reports. I am really having a hard time on understanding all those synatx. Can you guys give me tips on how to better understand reports/programs?how do you analyze reports? any tips and suggestions would really helpful to me.Thanks a lot guys!Hi,
No Problem dont worry SDN will help you a lot.
Actually every one is new for the new technologies.
Actually here as an ABAPer 1st try to learn DE-BUGGING as much as you can.
Try to do it from START-OF-SELECTION event 1st line on wards.
Put a break point on start of selection line event and execute it.
Here in debugging you need to carefully observe the behaviour of the program, logic etc etc.
Next understand the FORMS when they are triging and their reusability.
Under stand the Events sequence.
Later try to obsorbe the Syntax of the commands as much as you can.
Thanks.
If this helps you reward with points. -
Use TIFF-Viewer (ActiveX) in ABAP-Programm
Hy all,
I am looking for a Viewer for TIFF-documents that can be used in a ABAP-Container.
The Viewer should offer methods or parameters to get the zoom-area, that the user has selected, and to set the same zoom-area in the next document that will be opened.
I found some TIFF-Viewers (BravaX, CADViewX from Softgold ...) that work but all of them have the problem, that the wanted function with the zoom-area doesn´t work exactly.
Have anyone of you made well experience with a TIFF-Viewer in SAP?
Thanks a lot for help.
Harrycheck out this weblog.
[Using Classic ActiveX Controls in the ABAP Control Framework|/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework] -
Calling a BSP page from ABAP programme
Dear Friends...
I am cslling a BSP... from an ABAP program... for that I have used this class and also a function module to ckeck.. actually from the abap program it invoks the BSP page very nicely and as my logic for invoking the BSP is a part of the Business Object and it is associated with the Enterprise portal so... when i reach the ep and trigger that business object to instantiate the BSP page from my calling logic of abap... it goes to the ITS and port 80 or something and didnt produce the BSP.. and only the blank screen was there...kindly help me how i am supposed to instantiate the BSP from properly from ABAP by interfacing the EP... my code is given below...
data :
lv_url type string.
concatenate
'http://sapdevbp.sbic.co.za:8041/sap(bD1lbiZjPTIwMA==)'
'/bc/bsp/sap/z_updatemng/bp.htm?bpid=' object-key-businesspartnerid
into lv_url.
call method cl_gui_frontend_services=>execute
exporting
document = lv_url
exceptions
others = 1.
please help....
me...
regards
NaimInstead of hard coding the URL try to get the URL of the BSP application with the below code
CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
EXPORTING
bsp_application = '<BSP application name'
bsp_start_page = <start page e.g default.htm>
bsp_start_parameters = params " any parameter you want to pass along with url
IMPORTING
local_url = url.
Then try out passing the URL to the execute function -
Can we execute an SAP Standard ABAP Programme from a Custom BAPI?
Hi,
We have a requirement in our project where in we have to execute an SAP Standard ABAP report. We need to execute it from a Portal by click of a button.
What we are thinking is that if we have a custom BAPI which triggers the execution of ABAP report, we can execute the BAPI from the Portal using Adaptive RFC Function call by developing a custom Web Dynpro Java application.
So, my question is it possible to execute an ABAP report making sending required input parameters to the ABAP report from the BAPI. If so, how can we achieve this?
Regards
RamHi Brad,
Thanks for your quick response. Actually, it is not exactly a report. We are trying to call an SAP Program related to SAP Business Workflow.
When the user clicks on Approve or Reject buttons on the SAP GUI, this program will be called and exectured which inturn updates many Project System Tables.
What we are trying to do is that we had developed a custom Web Dynpro Java Application for achieving the SAP Workflow. Instead of reinventing the wheel, we just want to use already existing SAP Program which updates the Project Systems tables.
So, from the Portal Workflow Inbox when the user clicks on the Approve or Reject buttons, we would like to call a custom BAPI which will execute this program.
Could you please explain in detail how to achieve this? Thanks in advance.
Regards
Venkat -
hi,
iam new to SAP.I have completed my sap ABAP training and iam awaiting for interviews.I would like to know the role of entry level abap developers.What jobs will they be assigned initially ? Can anyone please update me.Thanks in advance
krithikaHi Krithika,
Its all depend on you, if you do well in the interview they will assign you as a developer or else you will be in the support side.
Thanks
Vikranth khimavath -
Hi experts
In my func module , i have code like this , here the values for low, high,option are constant or else how it will be assigned , and
I know it_emplyee----
it refers to internal table but
in the statement "ls_emplyee-sign" ls---- refers to ? what
*Employee inputs
LOOP AT it_pernr INTO ls_pernr.
ls_employee-sign = 'I'.
ls_employee-option = 'EQ'.
ls_employee-low = ls_pernr.
ls_employee-high = ' '.
APPEND ls_employee TO lt_employee.
CLEAR ls_employee.
ENDLOOP.
Thanks in advance
Edited by: ramesh222 on Aug 5, 2010 2:12 PMI refers inlcude the values....
say ls_pernr is 10000 then it means including this value also
Maybe you are looking for
-
I cannot access any printer plug-ins by going the HD>Library>Printer>Epson>Inkjet route. All the plug-ins are grayed out so I cannot load them. I am attempting to add a printer attached to a windows machine. I followed all the instructions, I can see
-
I keep getting the same error message 1
Please help. how do I fix my ipod from error message 1?
-
IPhoto videos won't play with Snow Leopard
Snow Leopard is hostile to my fonts, my trackpad, and now my iPhoto videos. When I double-click on the videos, they no longer open in QuickTime or do anything, they won't play. Any suggestions? (Uninstall Snow Leopard?) Thanks in advance.
-
Anyone working with Xfire?
Howdy all - I am working on a project right now that is using a Flex front end with a Java back end. I sort of inherited this code, but from what I understand it is using xfire to actually communicate back 'n' forth between the Flex and Java. What we
-
How can add search address option in MapKit.framework?
Hello All, I want to make a MKMapView to get a user *current Location* and also he can find location *search by address*. Please guide me.