Sending Date value to SAP R/3
Hi,
I am trying to send Date value from Text box (javascript) to SAP R/3 thru transaction and BAPI. But it is not accepting it. In SAP it accepting time value but it is not accepting date value. It take default date (current system date).
But when we give date value directly in transaction it accepts.
what is the problem. how to solve it?
Regards,
Senthil
Your text box is a string. If you assign it to a Local (or Transaction) Property of type DateTime, xMII may properly interpret it and allow the DateTime value to be populated. However when you try to map it to SAP, it will most likely fail as it is of datatype DateTime (which is actually xml datetime). You can assign the text box value to a Local Property with datatype String and format it from there. Or if your Local Property is correctly interpreting the string from the text box and is updated, then you can explicitly convert from xml datetime to string type.
functions which might be of interest or applicable are:
datefromxmlformat
dateformat
stringpart
Good luck,
Mike
Similar Messages
-
Using RFC Function Module to send data to NON SAP Application
Hi friends,
Please guide me how can I send data from SAP -> Dotnet Applcation using Dotnet Connector through RFC function module from SAP side. In my scenerio, I Run Z transaction to executte RFC function module which create some data to pass to dotnet connector.
Regards,
Rajesh KumarHi,
You can make use of Dotnet connector to read the content of SAP RFC .. (eaiest of all)
The RFC can be executed using connector , and can read the data simultaneously.. u need to code in dotnet for this..
else create a webservice and read it from dot net ..
Regards
Renu Gusain
Edited by: Renu Gusain on Jan 25, 2010 12:55 PM -
Send Data back to SAP from Adobe Interactive Form
Hello friends,
I created a Adobe Interactive form using transaction SFP.
This form have a comment field.
My requirement is user enter comments in this filed and click on Submit.
It needs to call a BAPI and save data in SAP table.
thankz in Advane
regards,
Sumit MalhotraHi,
Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
Thanks and Regards
Pradeep Goli -
Regarding sending data throgh IDOC MBGMCR02
hi friends,
iam sending data from non sap to sap through xi using idoc adapter.i am using mbgmcr02 idoc.what is the use of mbgmcr02 and how to send .pls help on this.
adavnce thanks
RaviHi Ravi,
Your scenario will be FIle-IDOC.
How ur getting the data from non sap system to XI is it in the form of file.
Refer the below FCC if ur getting the file in the form of CSV or fixed length.
Sender -
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
Key value:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter -
IDOC configuration:
Configurations required in R/3:
Maintain Logical System (SALE) for PI
Maintain Port (WE21)
Maintain partner profile. (WE20): For XI
COnfiguration required at Xi side:
Create the Port using IDX1
Load the metadata using IDX2 transaction
Create RFC destination which points to R3.
mbgmcr02 is the IDOC which post the data in R3 table which wil hold the data which is send by XI.
Thnx
Chirag -
How to configure RBE in order to get data from a SAP System
Dear all,
I downloaded the last version of RBE in order to install it and evaluate the concept of Reverse Business Engineering.
After installing it on my laptop, I try to access with no exit. It appears a log on screen.
Someone can help me by explaining how to set first steps in order to connect with a system?
Thanks in advance, XavierHi Gopi,
Here I enclose the steps for sending data from a SAP R/3 system to Non-SAP R/3 thru ALE.
Here my Non SAP System is - Web Methods.
1.Creating LS - 1. SAP R/3 - S1_800
2. web methods LS - WM_800
2. ASSIGN CLIENTS TO LS - S1_800 TO 800
3. DEFINE TARGET RFC DESTINATIONS -
3.1. TCP/IP Connection - RFC DEST NAME -WM_800
Connection Type - T
Applicataion Type - Registered server proggram
PROGRAM ID - WMB2B1
Gateway Host - Sap Server Name
4.0. Model View Name - W_M_V (for sending data to IS)
sender - S1_800
receiver - WM_800
message type - MATMAS
4.1. Create Partner Profiles.
5. Create PORT - TCode - we21
5.1. For Wem Methods system - WM_PORT
RFC Destination Name - WM_800 (created in step 3.1.)
With Regards
Vasu -
Sending Data from R/3 to Java and Java to SAP
Dear All,
I am working on a scenario in which I have to send data from sap system to Non-SAP system (Java System).
Now one way is that I made a RFC in my SAP system and Java can call it using JCO adapter. But In this case I am not able to understand how to go another way,means how to capture data or messages from Java.
Secondly I have searched and found that IDOC can help me lot in this process ,I am new to IDOCS but through R & D , I have made the IDOC and done the following steps:-
1. Segment Creation (WE31)
2. IDOC Types (WE30)
3. Message Type (WE81)
4. Linking Message type and IDOC type (WE82)
5. Create Distribution Model (BD64)
Now I am struck on 5th step , I am not able to distribute model when I distribute it I get the following Error
Target system AII_00_800 RFC destination for synchronous communication (message type SYNCH)
Partner profile LS AII_00_800 SYNCH does not exist
Generate partner profile
or specify outbound partner profiles for message type SYNCH
Target system JAVASYS RFC destination for synchronous communication (message type SYNCH)
Partner profile LS JAVASYS SYNCH does not exist
Generate partner profile
or specify outbound partner profiles for message type SYNCH
JAVASYS is the logical system I created using SALE and ALL_00_800 is already there in LS.
I am not able to understand that my receiver system is NON SAP system so do I have to create logical system for it , and I have IDES system as sender system with only one client 800, what are all the configuration I have to do on SAP side.
I am also not able to understand where I will write my code to fetch data based on the input provided by NON SAP system as I will have to design IDOC for both Inbound and Outbound processes.
Kindly help me out, thanks in advanceHi Kanagaraja L,
Thanks for you response.
No I haven't created Created RFC Destination , this RFC destination will be of my JAVA system ???.
I have tried creating the partner logical system in WE20 and dine the following steps:
1. Partner No. IDES800 Ides 800 System - Sender System
Partn.Type LS Logical system
2. The tab Post processing : permitted agent is filled with default parameters.
3. Then in the outbound parameter table control I have pressed the add record button and got a new screen in
which I have made the following entry :-
Partner No. IDES800 Ides 800 System - Sender System
Partn.Type LS Logical system
Partner Role LS Logical system
Message Type SYNCH ALE:Dummy Message Type for De
Message code
Message function
Under tab Outbound options :
Receiver Port = A000000008 (This I have selected from F4 help)
Basic type = SYNCHRON
Saved it with the above data.
Now I am not able to understand how to do the things you have mentioned in 3rd step in your reply.
What are all the things I have to do kindly tell , as I am very new to Idocs so don't have much knowledge.
Edited by: Rachit Khanna on Dec 7, 2009 1:49 PM -
I have a scenario, ECC-PI-Message broker. ECC sending IDOC to PI, PI execute mapping and sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.
Hi Pratik,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
This link might help.
regards
Anupam -
Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.
: Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.The FP-1600 modules automatically send data on-change only. The change threshold is by default 0%. Any change, even a single least significant bit change, is sent back to the computer. If the FP-1600 firmware revision supports deadbanding (firmware revision 3.0.x and later, can be downloaded from ftp://ftp.ni.com/support/fieldpoint/Update/FPEthernet0320.zip ). Then on each analog channel or count channel you can specify a percentage change for deadbanding in FieldPoint Explorer. This is done on a channel by channel basis, by right-clicking on the particular IO module and choosing Edit this Device, then choosing Channel Configuration. Each channel (if it supports deadbanding) will have a deadband entry box on the middle right side of the screen).
The FP-1000/1001 seri
al network modules do not support deadbanding. The checkbox in FieldPoint Explorer is simply for how FieldPoint Explorer displays the data to the user and does not effect client programs nor the behavior of the network module itself.
Regards,
Aaron -
Encrypt data send from a non-SAP system to ECC.
Hi,
We are tryign to encrypt the credit card details send from web (non-sap system) via a xml file to ECC.
From Basis side, I have exported the public key from the ECC for the web server to encrypt the CC details while sending via xml.
The external web consultants encrypted the cc detail with the public key and send it via xml but that was not able to decrypt at the ECC side.
The developers were using the FM 'CCARD_DEVELOPE'at ECC to decrypt the data in the xml file. It was saying SSF error: No data transfered.
Meanwhile SAP CryptoLib is installed and credit card encryption/decryption is working fine for CC details entered via GUI interface.
Is there anything I am missing out here to encrypt CC details send from a Non-SAP system to ECC.? Do we need to load the SAP cryptolib in the non-SAP system to ecrypt this data at the senders end. Or is there a alternate solution for this ?
We are in ECC6.0/RHEL/Oracle10204.
Appreciate your help.
ThanksHi Nelis,
Thanks for your reply.
This note does not get any information regarding encrypting data from a non-SAP system to SAp system.
I am looking setup/information for encrypting data from a non-SAP system to SAP system.
Thanks -
JCo getting truncated value from SAP when field data type is RAW
We are trying to fetch data from a SAP-AII table by using JCo using the RFC RFC_READ_TABLE.
We are getting incomplete data when the data type of the column is RAW in a particular table.A typical case is:
Table Name: /AIN/DM_DEVCTR
Field : CLIENT Type: CLNT Length:3 Value: 100 (SAP Generated)
Field: DEVCTR_GUID Type:RAW Length:16 Value: 306F50F53805ED488DE9797AC86B5728 (SAP Generated)
Filed: DEVCTR_ID Type:CHAR Length:128 Value: KDEVICECONTROLLER (User input)
For the fields CLIENT and DEVCTR_ID we get the entire value (including blank spaces) but for DEVCTR_GUID we get only 16 characters whereas SAP-AII stores a value that is 32 characters in length. How do we fetch the actual value instead of the truncated value?
Sample code is attached.
try {
mConnection = JCO.createClient("100", // SAP client
"User", // userid
"Password", // password
"EN", // language
"SAP", // host name
"00"); // system number
mConnection.connect();
if (mConnection == null) {
System.out.println("Connection to SAP Server failed.");
mRepository = new JCO.Repository("User", mConnection);
ftemplate = mRepository.getFunctionTemplate("RFC_READ_TABLE");
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
JCO.Function function = ftemplate.getFunction();
JCO.ParameterList importParamList = function.getImportParameterList();
importParamList.setValue("/AIN/DM_DEVCTR", "QUERY_TABLE");
importParamList.setValue(";", "DELIMITER");
JCO.Table tableData = function.getTableParameterList().getTable("DATA");
JCO.Table fields = function.getTableParameterList().getTable("FIELDS");
mConnection.execute(function);
if (tableData.getNumRows() > 0) {
do {
for (JCO.FieldIterator e = tableData.fields(); e
.hasMoreElements();) {
JCO.Field field = e.nextField();
String str = field.getString();
String[] values = str.split(";");
for(int i = 0; i < values.length; i++){
System.out.println(values<i>);
} while (tableData.nextRow());
} else {
System.out.println("No results found");
mConnection.disconnect();Hi Kaanu,
You have to modify your java code.
String val = new String( field.getByteArray());
PS: Please reward points for helpful answer or problem resolved. -
Send data to ECC table through RFC Call function from SAP B1 via b1if
Hi,
I have created scenario in B1if which triggers from SAP B1, now I have to send this data in to ECC table, so I have created scenario for that with inbound SAP B1, outbound void and in process RFC Call atom is there but I am not getting data in receiver and also how to write xml to send data in RFC function. Function for RFC has configured from ECC end and have access of that function.
So please help me to send data to ECC table through RFC Call function from SAP B1 (9.0) via b1if
ThanksSolved by my own.
-
SAP BPC 10 NW loading data from Infoprovider (data value issue in BPC)
Hi Experts,
We are on SAP BPC 10 - 801 NW - SP05
We are having an error when loading data from infoprovider, we tested in DEV and QA and have similar behaviour: data values which are stored in infoprovider are loaded into BPC model with no differences.
However after make a transport procedure into PROD environment and then loading data into BPC Model something happens: suppose that 100,00 is a data value stored in a BW infoprovider, after loading data into BPC from this infoprovider, different data value is loaded into BPC. E.G 100,0 is in BW , but 10000,0 is store in BPC
Is there any idea to fix it or check it?
Thanks for your answerHi Giovanni,
This case occurs with colombian currency and others.
Compare the table TCURX in DEV, QA and PRD.
There must be an entry for currency COP only in PRD.
Like
CURRKEY CURRDEC
COP 0
Note 1240163 explain this behavior.
If you need the value to be stored in 100,00 format in BPC, you can create a routine to convert this value. -
Send data to other non SAP system
Hye techies,
I have a requirement, on click of submit in my bsp application, the data updated by the button event should also be updated in other non SAP system.
Please let me know what is required at my end, also please let me know what should the other communicating non SAP should have to consume the data.
Regards
Imran.Hello,
you want to consume the data send by sap via .NET?
I think in this case it is better to send the data via RFC. You have to implement an interface in your .NET application which will consume the data sent by sap. On the SAP side you can define a function module as interface. The .Net and the SAP FM parameters must be the same. Now you define an RFC in SAP via SM59,for exception chosse "start on explicit host" and then entery the .Net/SQL server adress and your programm. in your abap code you call your fm...
CALL FUNCTION XYZ DESTIONATION 'XYZ'
. In your .Net progamm consume the data send by sap and write it in the db. I hope this explanation is ok for you. We solved problems like yours, with this way.
A direct change of your SQL Data via BSP, in my opinion, is NOT possible -
What are the idoc to send data from sap hr to sap fi
what are the idoc to send data from sap hr to sap fi
Message type of IDoc depends on the data you wish to send.
please detail on the data that you need to send in the IDocs.
regards,
Nitin -
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh
Maybe you are looking for
-
Backing up iPhoto from iMac to Macbook
Is there a way to copy my photos in their original events from my iMac to my laptop please? Both have iPhoto 09. I've put them on a USB drive but this loses the events as they appear as a long list of jpegs, so can I do it directly from one computer
-
AT&T recently unlocked my iPhone 4S as I relocated from the US to India. I am, however, unable to download any apps on my device although I set up a new Apple ID and password properly. Can anyone HELP please?
-
Hi all, I am a technician at a college, and we're using iWeb to publish websites for the students' coursework. Upon checking the health of the published pages, it is apparent that many of the students' work is not appearing in Internet Explorer corre
-
My friends computer is set to my ipod.
I let my friend borrow my ipod and put songs from his computer onto my ipod mini. Now it keeps saying i have to restore the ipod back to factory settings but i don't know how to do that. Last time i tried i deleted all the songs off of my account. Do
-
How to update CS5 and use Air 2.6
Sorry, but I am lost. I know that packaging will be different but I am completely lost on how to use/update Flash Cs5 with the new AIR 2.6 SDK. Do I have to copy files over or is there an installation? Do I just have to change some paths in Flash? Pl