on 08-27-2007 1:55 PM
Hi all
i m implementing one scenario in which i m importing BAPI but problem is in bapi there is one field date n format of date in XI n ABAP r different .
due this difference XI is nt able to recognize date format used in ABAP.
since date format r nt same so error is there .
can anybody suggest the solution for the above.
Thanks
Hi,
In the mapping use the date function and choose datetrans and select the source date format which you are getting from BAPI and the target in the required format.
This will work.
Regards,
Kumar.
P.S: Reward Points if helpful!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robin,
the link which u have send is mainly for the string but the date format i have taken is of type "date" both target n source
that code is mainly for the string type which i cant use in my scenario.
what i want is source n target side there is one field of date type but format for both r different n due to difference in format error is coming.
to resolve the error plz give me some solution
Thanks
Hi Anushree...
I'm just giving an example scenario i tried wit rfc..
I took the rfc BAPI_CHARACT_CREATE.... Here there is a fied called keydate.
Now when i try to execute this BAPI is SE37, this field is automatically filled in dd.mm.yyyy format.
But while doing the scenario using XI, I gave the format as "yyyyMMdd".
I was getting the same error while i used to give "dd.mm.yyyy" But when i changed it to "yyyyMMdd" it worked...Can you please complete the scenario and check
Where does this error occur?
It is in sender RFC Adapter?
If that's so, then the date is in wrong format in the ABAP itself.
From my experiences, date from R/3 should come as yyyy-MM-dd, and not dd.MM.yyyy (this is just visualization format).
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Anushree,
Can u elaborate your requirement a bit more???
I mean how do you want the output format to be???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
actually i have imported bapi from r/3 syst in that bapi there is one field of date bt Xi cannot recognize that date format coz both follow different date format .
In BAPI the date formt is like: 02.02.1999
In XI thae date format can be anythng xcept the format in ABAP.
n i want the ouput in abap format..
how can i get this??
thanks
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.