Want to create RFC FM for Getting data in CRM from R/3
Hi,
I have made the RFC connection in CRM system , now I want to make RFC FM for getting data from R/3 'MARD' table into CRM, If any one help me how to do this.
From CRM system I will pass Plant & material no to FM and I need Storage location & Storage Bin from R/3 MARD table in CRM.
Thanks
Bobby
Dear Bobby,
You would create a FM in SE37 select 'Remote Enabled Module' radio-button in attributes tab of Function Builder.
Select matnr werks LGORT LGPBE
from MARD
into ET_MARD
where matnr = i_matnr
and werks = i_werks.
Note:
matnr is material number
werks is plant
LGORT is storage location
LGPBE is storage bin
Hope this will help.
Regards,
Naveen.
Similar Messages
-
I want to create RFC FM to enter data for employee in table pa0001
hi everyone,
i want to create either a RFC FM or a BAPI to enter employee data in table pa0001.
is there any other way to enter the employee data?
so plz help me by sending regarding RFC/BAPI creation.
thanx in advance.
from
jigar bhattHi jigar,
1. HR_INFOTYPE_OPERATION
2. This is the FM to put data
in infotype 0001 (pa0001 table)
as well as other infotypes also.
3. But this is a simple FM
(not rfc enabled)
4. For your requirement,
u can create a Z FM,
which is rfc enabled,
and inside this Z fm,
call the HR_INFOTYPE_OPEARATION
5. Also consider the parameters of this FM,
while defining your z FM.
regards,
amit m. -
How to create a RFC destination for extracting data to HANA
Hello All,
Could someone help me in providing a document or note on how to create a RFC destination for extracting data from SAP data source to HANA using SAP LT replication server ?
I am able to create a data base connection while transforming data from non SAP data source,but wasnt able to transform data which is from SAP abap tables .Hi Venkatesh,
In SM59 t.code we create RFC destinations.
Go thru the video link for creating RFC destinations step by step
How to setup a trusted RFC connection between SAP systems: a step-by-step guide - YouTube -
How to create a workflow for personnel data?
Dear All,
I want to create a workflow for entering personnel data and submitting it to the immediate senior.I had created a workflow for leave approval.Can anyone tell me steps for creating the workflow for personnel data.
Pratighya Jain
Message was edited by: Pratighya jain
Pratighya JainCheck this documentaion on SAP Business Workflow, which is built in HR:
http://help.sap.com/saphelp_46c/helpdata/en/a1/172437130e0d09e10000009b38f839/frameset.htm
Things that can be done are eg:
Application forms and everything for handling them
Absence approvals, travel requests, expenses
Time
Pls don't forget to reward points and close the question if you find the answers useful. -
Want to create program (XYZ) for scheduling anther program(ABC)
Requirement :
I have one report ABC and I want to create program XYZ for scheduling the report ABC (without executing the program ABC ).
Output : Program XYZ
1) schedule the report ABC
2) Provide the output of ABCSeee if the below code help:
REPORT Z_MQSCHD NO STANDARD PAGE HEADING LINE-SIZE 170 LINE-COUNT 58 .
DATA: ZCOUNT LIKE SY-TABIX,
JOBNAME LIKE TBTCJOB-JOBNAME,
PARAMS LIKE PRI_PARAMS,
JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
AUTHCKNAM LIKE TBTCJOB-AUTHCKNAM,
SDLSTRTTM LIKE TBTCJOB-SDLSTRTTM,
SDLSTRTDT LIKE TBTCJOB-SDLSTRTDT,
VARIANT LIKE RALDB-VARIANT,
REPORT LIKE SY-REPID,
ZTIME LIKE SY-UZEIT,
PREDJOB_CHECKSTAT LIKE TBTCSTRT-CHECKSTAT,
PRED_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
PRED_JOBNAME LIKE TBTCJOB-JOBNAME,
RELEASED LIKE BTCH0000-CHAR1.
*email variables
DATA: emailaddr(80) TYPE c.
data: objtxt like solisti1 occurs 10 with header line.
data: tab_lines like sy-tabix.
DATA: OBJECT_HD_CHANGE LIKE SOOD1.
DATA: OBJECT_TYPE LIKE SOOD-OBJTP.
DATA: OBJCONT LIKE SOLI OCCURS 0 WITH HEADER LINE.
DATA: RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
PARAMETERS:
NAME LIKE RS38M-PROGRAMM OBLIGATORY,
VAR LIKE RS38M-SELSET OBLIGATORY,
JOB LIKE TBTCJOB-JOBNAME,
FRQ1 LIKE SY-INDEX,
FRQ2(2) TYPE C.
SELECTION-SCREEN END OF BLOCK A1.
SELECTION-SCREEN: BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-002.
PARAMETERS: ZDATE LIKE SY-DATUM DEFAULT SY-DATUM OBLIGATORY.
SELECT-OPTIONS:
TIME1 FOR SY-UZEIT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK A2.
SELECTION-SCREEN: BEGIN OF BLOCK A3 WITH FRAME TITLE TEXT-003.
PARAMETERS: p_mail AS CHECKBOX DEFAULT 'X'. "X = Mail report
SELECT-OPTIONS: so_mlist FOR emailaddr.
SELECTION-SCREEN END OF BLOCK A3.
AT SELECTION-SCREEN ON FRQ2.
IF FRQ2 NE 'H' AND FRQ2 NE 'M' AND FRQ2 NE 'S'.
MESSAGE E001(Z1) WITH 'Time Unit must be H or M or S'.
ENDIF.
AT SELECTION-SCREEN ON ZDATE.
IF ZDATE < SY-DATUM.
MESSAGE E001(Z1) WITH 'Date must be greater than current date'.
ENDIF.
AT SELECTION-SCREEN ON TIME1.
IF ZDATE = SY-DATUM AND TIME1-LOW < SY-UZEIT.
MESSAGE E001(Z1) WITH 'Time must be greater than current time'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
$$* Start of selection
START-OF-SELECTION.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
clear params.
call function 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_parameters = params.
params-paart = 'X_PAPER'.
ZTIME = TIME1-LOW.
JOBNAME = JOB.
VARIANT = VAR.
REPORT = NAME.
AUTHCKNAM = SY-UNAME.
PARAMS-PRIMM = SPACE.
SDLSTRTDT = ZDATE.
CLEAR: ZCOUNT.
WHILE ZTIME LE TIME1-HIGH.
SDLSTRTTM = ZTIME.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOB
IMPORTING
JOBCOUNT = JOBCOUNT
EXCEPTIONS
OTHERS = 4.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
AUTHCKNAM = AUTHCKNAM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
PRIPARAMS = PARAMS
REPORT = REPORT
VARIANT = VARIANT.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
SDLSTRTDT = SDLSTRTDT
SDLSTRTTM = SDLSTRTTM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
IMPORTING
JOB_WAS_RELEASED = RELEASED.
IF RELEASED = 'X'.
WRITE: / 'Job', JOBNAME, '(' ,JOBCOUNT, ')' ,'will run at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
IF NOT P_MAIL IS INITIAL.
CLEAR OBJCONT.
CONCATENATE
'Job' JOBNAME '(' JOBCOUNT ')' 'will run at' ZTIME 'on' ZDATE
'with program' NAME 'and variant' VAR
INTO OBJCONT SEPARATED BY SPACE.
APPEND OBJCONT.
ENDIF.
ELSE.
WRITE: /
'Unable to release job', JOBNAME, '(' ,JOBCOUNT, ')' ,'at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
IF NOT P_MAIL IS INITIAL.
CLEAR OBJCONT.
CONCATENATE
'Unable to release job' JOBNAME '(' JOBCOUNT ')' 'at' ZTIME
'on' ZDATE 'with program' NAME 'and variant' VAR
INTO OBJCONT SEPARATED BY SPACE.
APPEND OBJCONT.
ENDIF.
ENDIF.
CASE FRQ2.
WHEN 'H'.
ZTIME = ZTIME + ( 60 * 60 * FRQ1 ).
WHEN 'M'.
ZTIME = ZTIME + ( 60 * FRQ1 ).
WHEN 'S'.
ZTIME = ZTIME + FRQ1.
WHEN OTHERS.
ENDCASE.
ENDWHILE.
IF NOT P_MAIL IS INITIAL.
CHECK NOT SO_MLIST IS INITIAL.
PERFORM SENDEMAIL.
ENDIF.
*& Form SENDEMAIL
text
--> p1 text
<-- p2 text
FORM SENDEMAIL.
clear objcont.
append objcont.
append objcont.
concatenate
'This e-mail was sent from an automated system...' sy-sysid sy-mandt
into objcont.
append objcont.
clear objcont.
objcont = 'Do not reply to this message.'(013).
append objcont.
MOVE: SY-LANGU TO OBJECT_HD_CHANGE-OBJLA,
'NOTIFICATION' TO OBJECT_HD_CHANGE-OBJNAM,
'Report from job scheduler' TO OBJECT_HD_CHANGE-OBJDES.
MOVE 'RAW' TO OBJECT_TYPE.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
*Now we will create the packing list entry for our text body.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
OBJECT_HD_CHANGE-OBJLEN = tab_lines * 255.
*in this next section we create our recipient list.
LOOP AT so_mlist.
clear RECEIVERS.
move so_mlist-low to RECEIVERS-RECEXTNAM.
MOVE 'U' TO RECEIVERS-RECESC.
APPEND RECEIVERS.
if not so_mlist-high is initial.
move so_mlist-high TO RECEIVERS-RECEXTNAM.
MOVE 'U' TO RECEIVERS-RECESC.
APPEND RECEIVERS.
endif.
ENDLOOP.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
OBJECT_TYPE = OBJECT_TYPE
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
ORIGINATOR_NOT_EXIST = 20
X_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SENDEMAIL -
Creat RFC destination for portal
Hello,
when i am doing RSPOR_SETUP , i am getting java and abap support package versions are different error message for step 2, i.e creating RFC destination for portal.
Please send me suggestion regarding this issue.
regards
Sreesudhais ur BI and Portal SP versions different ?? ....if true ?? make sure they have the same SP
use this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00bed70a-7501-2a10-ec9e-9a04485ab477
for guidance...... -
I want to create a SWF for my small web site. How do I do this? Do I need to purchase "Flash Builder"?
Hi Developer_46038,
if for example all the properties and object are stated as list, i think there is a tool that overcome cross list.
http://listrollup.codeplex.com/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/13a51be5-4007-46e8-bbb2-5e04320dfebd/cross-list-webpart?forum=sharepointcustomizationlegacy
you can also using dataview webpart to show the cross lists:
http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-data-view-HA010094804.aspx
http://office.microsoft.com/en-us/sharepoint-designer-help/connect-two-data-views-HA010169133.aspx
3rd party: http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/03/11/relational-database-capabilities-for-sharepoint-lists-cross-list-web-part.aspx
but i am not quite sure how crystal report will do, if you can make the crystal report as also list, i think its possible,
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8247edf5-dee8-49d8-b7ee-9e49bfd97b9b/crystal-report-in-sharepoint-2010-webpart?forum=sharepointdevelopmentprevious
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Creating RFC Destination For UNICODE system From NON-UNICODE system
hi
how can i create RFC Destination For UNICODE system( XI ) From NON-UNICODE (R/3) system.
thanks and regards
Mithlesh Kumar JhaHi,
Check these blogs , Hope u would be getting some idea
<b>/people/thomas.jung3/blog/2004/06/24/bsp-150-a-developer146s-journal-part-v-xml-for-rfcs
/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
/people/sap.user72/blog/2004/06/19/how-i-started-with-sap-web-development</b>
Regards,
Sridhar Reddy -
I want to create home page for my application with short URL
I want to create home page for my application with short URL
as when I want user to use my application user must go to URL like this
http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
I want shorter URL for my application not to write full path .
thanks in advance.
Edited by: user611775 on Oct 31, 2010 10:21 PMWell,
it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
Timo -
Want to create F1 Help for radio button in my report
Hi All,
I want to create F1 Help for radio button in my report program. Which function module should i call in <b>at selection screen on help-request</b>
Also do I need to define the texts somewhere or I can pass it directly to the function module.Try DYN_FIELD_F1_HELP,
~Suresh
that is only for Dic fields..
Pl take alook at this<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a243d9b511d1950e0000e8353423/frameset.htm">SAP Help</a>
~Suresh
Message was edited by: Suresh Datti -
How to create process chains for Master Data?
I need information on " how we can create process Chains for Master Data"
Hi Sachin,
http://help.sap.com/saphelp_bw33/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
and also Modelling aspects in process chains (ppt)
https://websmp109.sap-ag.de/~sapidb/011000358700002337702003
Hope this helps.
Srini -
ALV FUNCTION MODLE FOR GETTING DATA IN EXCEL SHEET
HI ,
CAN I HAVE ALV FUNCTION MODLE FOR GETTING DATA IN EXCEL SHEET
Regards,
ArunaStandard ALV grid uses the FM <b>ALV_XXL_CALL</b> for exporting data into Excel. You can put a break-point in the FM and check it for urself.
for ur info - the above FM takes the internal table name, internal table content and the field catalog as input. -
I want to know how I can get all my stuff from my iPhone 3 to my new iPhone five after I have already set up from new phone?
You can restore a backup of the old device to a new one. This will erase everything on the new one before restoring, so this may be an issue if you already have data on the new device.
To do a backup of the old device, iTunes is the safest route, in my opinion. Many users have lost photos when performing a restore from an icloud backup.
An icloud backup does not include everything. For example,only photos in camera roll are backed up. Also, music is not backed up since you get it back from itunes and (for purchased music) from the itunes store.
To restore:
http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US
Go to Settings>General>Reset and tap Erase All Content and Settings. This will erase your phone. Then you will go through the setup screens again as you did when your phone is new, and when given the option, select Restore from iCloud Backup. -
Logical path for getting a Flat file from application server
Hi All,
We have loaded some .csv files to application server, what is the logical path we have to mention in the infopackage scheduler screen? please guide me how to give the path for getting a flat file from application server.
Thanks,
Sairam.Hi Sairam,
I hope you know which location you have saved in the Application server.
Now if you go to the Infopackage and click on the "External Data" tab, there you will see Radio Buttons for
1) Client Workstation
2) Application Server
Choose the second radio button, then in the Field "Name of the File" you will be able to use the F4 help and browse AL11 transaction through this option. You can then choose the File.
Hope this helps
Regards,
Praveen. -
I want to create an HTML table of img maps dynamically from DB retrieves...
Hi,
How do I build dynamic HTML code in a function and then populate a HTML region to render it.. (did I say that right?)
I want to create an HTML table of img maps dynamically from DB retrieves...
Thank you, BillVikas and Andy,
Using Andy's code I'll go further...
I want to create a function that returns HTML code that has been built dynamically.
create or replace function "GET_CH_TABLE"
return VARCHAR2
is
HTML_STRING VARCHAR2(2000); -- Create a string variable
BEGIN
HTML_STRING:= '<table align="center">' ||chr(10)||
' <tr>' ||chr(10)||
' <td> TEST ' ||chr(10)||
' /td>' ||chr(10)||
' /tr>' ||chr(10)||
' tr>' ||chr(10)||
' td>' ||chr(10)||
' a href=https:// ............etc. etc.. building the <TABLE> and <TD> cells having whatever I want... example.. changing the name of an image dependant on something else..
return HTML_STRING; -- output the string to the region
--also tried htp.p(HTML_STRING);
END;
=====================================
Building the dynamic HTML is not my problem. It is how to get it into a region and to be read as HTML from a function call...
I'd like the source of the region to be the returned HTML from a function call to GET_CH_TABLE();
but it gives error:
ORA-06550: line 1, column 7: PLS-00221: 'GET_CH_TABLE' is not a procedure or is undefined
ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Debug:
1: begin
2: GET_CH_TABLE();
3: end;
I
Maybe you are looking for
-
Unable to locate labview run time engine (lab view 8.5)
Hello I have a problem whit the labview 8.5 installer. I have created I project with included a .vi file (a simple panel wich control a serial port, with parameters (baud rate, stop bits, ...)), then I have created an application for this file (.exe)
-
Hi all I have a question which might have a painfully obvious answer or no solution at all- in either case, here it is anyways. (Also, I have done a search for the answer, but it was rather hard to form into search terms...) I am wondering if it's po
-
How to check in metadata without check in files
I only want to check in some metadata for search purpose. What should I do to allow ucm to do it without check in files? Thanks
-
Factors need for interactive forms by Adobe
Hi All, Could anyone tell me the factors that would influence the efforts estimation and what are steps involved in during the development of interactive forms with Adobe. Regards, Sid
-
Javax.naming.NotContextException when trying to bind to a context
Hi all. I am trying to use file system service provider. This is how I create the context: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory"); env.put(Context.PROVIDER_URL, "file:/t