RFC Source data not filled correctly
Hi All,
I am facing a typical problem.
I have created a RFC to File scenario and I am running the ABAP program to call the RFC with the following values:
field1(type Char 14; value:'aaaaaa') --> Field1 (string)
filed2(type Char 15; value:'000000000000012') -->Field2 (string)
filed3(type Char 10; value: 'fgdf') -->Field3 (string)
field4(type Char 8; value: 'sgsdfg') -->Field4 (string)
However, the source structure in XI is getting filled with the following values:
Field1 - 'aaaaaa'
Field2 - '00000012fgdfsgsdfg'
Field3 - Empty
Field4 - Empty.
This is in the source structure (before the mapping is done). I am unable to make out if the problem is there in ABAP program or in XI.
I tried debugging ABAP program. But it looked perfectly fine. Is there something I need to change in XI for this scenario???
Please reply its urgent.
Reward points would be given.
Hi
First check if RFC is remotwe enabled.
I hope u have created TCP/IP RFC connection in Sender System with program id and this same program id is maintained in the ID Sender RFC Configuration.
Also check the program id should be same in both area --> Since it is case senstive.
Also --> import RFC in IR , if u have made changes in RFC re import that's better.
hope above is helpful
rwd points if useful
rgds
srini
Similar Messages
-
The import parameters were not filled correctly
Hi BW guru's
I am working on BW 3.O AND USING A FLAT FILE. I was trying to create hierachy to a infoobject(SalesrepID-SREP). First i enabled the (with hierarchies) tab under the hierarchy tab of change characteristics of SalesrepID, and selected the Time dependent hierarchy structure RadioButtoon. Then Activated the info object. All the tables for hierarchies are generated. (BIC/HIO/SREP,BIC/KIO/SREP and BIC/IIO/SREP) when I right click the info object and try to create Hierarchy it is populating an information box saying that the, "The import parameters were not filled correctly". please kindly try to help me.
Thanks in advance.Hi,
Under the Hierarchy Tab, click on the external characteristics button and transfer your sales office and sales region from the left-->right window. Return to the InfoObject maintenance screen and activate your Infoobject.
Right click on your infoobject and click on the "Create Hierarchy" option.
Hope it helps
Ravin -
Source of Supply in PR not filled correctly
Hello,
Could somebody explain me why Source of Supply is sometimes not filled with appropriate data ?
Here is my detailed case :
I have maintained a quota between 2 suppliers.
For supplier 1, I have a contract and no PIR.
For the supplier 2, I have only a PIR.
In the source list, I put the contract for supplier 1 and an entry for supplier 2. Both are relevant for MRP.
I am putting some independant requirements on the material (MD61) and running the MRP.
The PR are well splitted between the 2 sources, but in the PR associated to supplier 2, PIR is not indicated in Source of Supply and sometimes even Purchasing Organization is not found.
In the cases Purchasing Organization is found, but not the PIR, when I am converting the PR in PO, the PIR is found at PO creation.
I do not understand what is missing for the system to put all information directly in PR.
Thank you for your help !
Laetitiafirst of all. just one source in the source list can be MRP relevant.
if you flag more than one, then the you cannot be sure which source SAP is determining, either the first or the last.
anyhow in case or quota arrangement, SAP first checks the Quota arrangement, and later checks the source list, e.g. to determine if delivery schedules have to be created or if the source is valid at all.
The quota arrangement has no information about purchasing org. hence this info cannot be filled -
PPM 5.0: FI data not filled in table RPM_FIDATA
Hello Experts,
I have one portfolio item that i linked to one project Cproject and one initiative.
A WBS element is linked to the this project "Cproject".
I entred a budget with transaction CJR2 to this WBS and one cost element.
In the table RPM_FIDATA, i don't find my protfolio item lines.
Why the table RPM_FIDATA is not filled by this portfolio item data? (In this case with budget)?
What are the conditions that the table RPM_FIDATA will be filled?
Thank you in advance,
AmalThank you very much Priyatham. You solved my problem.
I have a question please: Must i create a daily job for this report? how to do to transfer automatically PPM data?
Thank you in advance. -
Hi,
we have an issue where date is not displaying correctly in report. it shows 1/1/1990. even in universe it shows the same value 1/1/1990. but if i run query at DB level it shows the correct date. Reporting Database is Sybase.
we are on Bi 4.0 SP 6.
Any Ideas.
Thanks,
Yogesh.HI Farzana,
Finally,i have narrowed down the issue. So here it is,Initially we were seeing date as 1/1/1900 in webi rich, IDT and BI LaunchPad. so than we have made changes to sybase. prm file in following location
........\dataAccess\connectionServer\sybase\extensions\legacy
in prm file the input date parameter is as below
<Parameter Name="USER_INPUT_DATE_FORMAT">'mm/dd/yyyy hh:m:s am/pm'</Parameter>
we changed it to
<Parameter Name="USER_INPUT_DATE_FORMAT">'mm/dd/yyyy hh:mm:ss A'</Parameter>
and than we see correct date in IDT and Webi rich but not in BI LaunchPad. the connection we were using in universe is ODBC. so i have created a new connection using sybase CTL client and now i see correct dates in BI LaunchPad also. So i am not sure if i need to make changes to prm file in /dataAccess\connectionServer\odbc\extensions location for the report to show correct values using ODBC.
Any Idea.
Thanks,
Kumar. -
Hi,
We are using service contracts BT112H_SC from Web UI. From this component we are calling SAP GUI actions (using transaction launcher) to make changes to the contract u2013 like cancellations, date changes and so on.
We now have a problem with refreshing the Dates assignment block from service contract. The Dates assignment block is handled within a separate component called BTDATES and is called from BT112H_SC using component usage.
When running an action that should change the dates (due to for example an Annulation of contract), the status is set to Cancelled but the dates Contract end date is not changed. I am calling function module CRM_ORDER_READ_OW after the action is executed in some places and see that the dates are updated correctly in the buffer, but they are not showing up in the Web UI.
It seems as the dates are set correctly if I donu2019t expand the assignment block Dates before running the action. So if I expand the assignment block after running the action the dates are set correctly. If expanding the Dates assignment block before running the action, the dates are not updated.
The dates are also set correctly after saving the contract so it is just a matter of visibility.
Also if I (after running the action), go to one of the items and expanding the Dates assignment block on item level and then go back to header level the dates are displayed correctly.
I have enhanced component BTDATES/Dates u2013 Method DO_PREPARE_OUTPUT where I use the following commands that should refresh the values.
me->typed_context->btdate->collection_wrapper->publish_current( ).
lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).
lr_ent->reread( ).
I have also used the command modify without success.
Somehow the BTDATES component must be refreshed to read the dates from the buffer correctly after the action is executed.
Do anyone have any suggestions on how to handle this?
Regards AndreasHi,
Thanks a lot for your answers. I need all input I can get.
Kathirvel: I can see that event 0002_expand_link is triggered (from class ZL_BT112H_S_MAINWINDOW_IMPL I believe) when expanding the Dates assigment block. But I cannot figure out what is happening next.
But after expanding the assignment block once, the event is not triggered if I expand/collapse the assigment block again.
I see that in CL_BSP_WD_VIEW_MANAGER ~ DO_FINISH_INPUT when expanding Date assignment block, a BOL_CORE->MODIFY statement is made. This code is triggered when expanding the Date assignment block (but only first time).
Do you know which event I could call to trigger the update again?
asen2222 : I entered the code lr_core->modify( ) in ZL_BT112H_S_OVVIEWSET_IMPL ~ DO_PREPARE_OUTPUT which is called after my action is executed and the dates are modified in the buffer. But it doesn't work. When debugging the modify( ) method it seems as it have no delta-information to save.
I have also tried setting the statement in component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT without success.
In the same place - component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT - I also put the following code:
lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).lr_ent->reread( ).
This do not work either. But if I debug the reread method and go into
method REREAD_ENTITY of CL_CRM_BOL_CORE I see following code:
lv_relation_cacheable = me->object_model->relation_is_cacheable(
lv_parent_relation_name ).
If I then set lv_relation_cacheable = ' ', it seems to bypass the buffer and read the data from underlying layers. And then the values is showingcorrectly updated!.
I believe it is reading the relation from table CRMC_ORLSTA_BTIL but this
table do not include field DO_NOT_BUFFER so I assume this field should
never be set for business transactions. But in this case it wouldhave worked for us.
Regards Andreas -
RFC ADAPTER : Data not getting trasfered to XI
Hi All,
I am using an RFC to File adapter scenerio , The sender is RFC FM ,The config has some constants on reciving side . When the outbound program is run , only the constants are transfered to XI , but the other fields are not getting populated in XI .
Best Regards
Chanhi,
this means that you're not populating them
duing the FM call
put a break before the CALL function
of your RFC and check if all fields
are populated correctly
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Google map data not displaying correctly in a spry collapsible panel
I created a spry collapsible panel into which I've put google map data. The map placed in the collapsible panel looks and functions OK but shows my location in the wrong place. I tested it by putting exactly the same google map elsewhere on my page and this time it displays my location correctly. Here is a link to my test page: http://www.cornucopia-design.co.uk/BatimTest/map3test.html . Mouse over the 'view our location' link to see the incorrectly located map. It places my location in the top left corner rather than in the centre. When you click on google's 'view larger map' links, they both then display the location identically. Anyone have any ideas about what's going on here? Is the coding for the collapsible panel doing something to the google code? I'm not a great code expert so any help would be greatly appreciated. Thanks
Hello, thank you for your helpful comments. At least I now won't waste any more time trying to get this to work if it just won't... I'll just have to display the map in another way.
Just a point about your suggestion of offsetting - I had thought of that but if I did that, when someone clicked on the map, they would be taken to the wrong place as, as I said, even though it displays incorrectly in my panel, the data IS correct and therefore correctly linked back to google maps.
Thanks anyway. -
Idoc status green but data not posted correctly to destination system.
Hi,
Can anyone help me out with idoc problem that I am facing.
The problem has come out with outbound idoc.
The status of the idoc is green when it has been sent but the objects that has been sent with that idoc are not getting posted in the destination system.Some of them are posted correctly but some of them are not.
What may be the reason behind this.
Regards,
Rachana.Good morning
What was the resolution here? We are siitng with the same problem, but IDoc's are correct, but data packet not processed.
Thanks, have a nice day
Cj -
Issues with dates not storing correctly on a data entry screen
We are using Application Express 3.0.1.00.08
I have a table which I have written a data entry screen for, the user enters most of the fields on theentry screen, howevere there are some fields that I would like to populate when a biutton is pressed e.g last_updated_date and creation_date.
I have a on submit after computations and validation process with the following code to set the last updated date:
begin
:P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
end;
I am setting the creation date at the same time as getting the primary key as follows:
declare
function get_pk return varchar2
is
begin
for c1 in (select XX_SVS_SEQ.nextval next_val
from dual)
loop
return c1.next_val;
end loop;
end;
begin
:P1_ID := get_pk;
:P1_CREATION_DATE := sysdate;
:P1_CREATED_BY := :F380_OSS_USER_ID;
end;
However the dates are being written to the database incorrectly they are being written with a year 0009 instead of 2009.
Does anyone know how I can get hidden dates in a data entry form to write correctly to the database.
Regards
KayIt could be done as a database trigger but surely APEX should be capable of saving the correct date format of an item.
Since my original post I have managed to get the dates stored with the correct year in the hidden fileds by doing the following in my process:
:P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
however for some reason the date is being stored with the correct year now as 2009 , but the time element is not being stored any ideas? -
CALENDAR WITH DATES NOT PLACED CORRECTLY
THE CALENDAR IS NOT SHOWING THE DATES CORRECTLY. MOUNTAIN LION
It could be done as a database trigger but surely APEX should be capable of saving the correct date format of an item.
Since my original post I have managed to get the dates stored with the correct year in the hidden fileds by doing the following in my process:
:P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
however for some reason the date is being stored with the correct year now as 2009 , but the time element is not being stored any ideas? -
Interactive report filter for date not working correctly
Hi,
I am having an interactive report. I tried to give a filter for a column(created_on) as created on>29-oct-2009 17:17
but i am getting the row containing created on as *29-oct-2009 17:17* in the report result. How can i correct this
problem
Thanks,
TJHi,
I think it is because seconds.
So it is 29-oct-2009 17:17:00 and your record is e.g. 29-oct-2009 17:17:02
br, Jari
Edit
You can use trunc function in your select so that it round date to minutes
TRUNC(created_on,'MI') AS created_onBr, Jari
Edited by: jarola on Nov 5, 2009 3:02 PM -
I am working with SAP CRM 7.0. We have a workflow in the system which is triggered at the creation of complaint(BO:BUS2000220) and then assign the complaint workitem
in the woklist of specified agent. I have created a report and scheduled it daily to forward the complaint into the worklist of user B from worklist of user A after 7 days
from creation date of complaint. But the problem is that the forwarded complaint is showing in the worklist of user B with sent date(the creation date of complaint, not the
forwarded date).
Relevant code:
IF gw_complain-PROCESS_TYPE = 'ZCMS' AND age_complaint = 8.
CALL FUNCTION 'SAP_WAPI_WORKITEMS_TO_OBJECT'
EXPORTING
objtype = 'BUS2000120'
objkey = obj_guid_key
top_level_items = ' '
SELECTION_STATUS_VARIANT = 0001
IMPORTING
return_code = return_code
TABLES
worklist = it_worklist[].
READ TABLE it_worklist INTO wa_worklist WITH KEY wi_type = 'W'.
CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'
EXPORTING
workitem_id = wa_worklist-wi_id
USER_ID = wa_worklist_esc-ESC_USER
LANGUAGE = SY-LANGU
DO_COMMIT = 'X'
CURRENT_USER = wa_worklist_esc-CURRENT_USER
IMPORTING
RETURN_CODE = lv_return_code
TABLES
MESSAGE_LINES = lv_mesg
* MESSAGE_STRUCT =
* USER_IDS =
ENDIF.
Can someone help me how to change the sent date to actual forwarded date of complaint.Hi Kavita,
There is a standard column in UWL with name 'Sent Date'. Other functionalities in UWL for example deadline monitoring (Due date column) are based on this sent date. This shows an employee what was the date workitem was created (sent date) and when it will get escalated (due date). Displaying forwarding date in Sent date will not give clear picture to employee as the deadline will be calculated based on sent date only not based on forwarding date. this was just an example.
even though if your client is insisting, i dont think it can be done without any enhancement in UWL web dynpro com sort of thing. you can check with your portal consultant too.
Regards,
Ibrahim -
Leaving date not filled in query
Hello,
we have created an infoset with database PNP and use the field SYHR_A_P0000_AF_FIREDATE (append structure of IT 0000) in a query.
Unfortunatly this field is emtpy when executing the query but as far as I understood from documentation this should be filled automatically.
Is that an error in SAP or do I need to make any adjustments in the infoset?
Thanks in advance
MichaelHi Michael,
the result havily depends on the PA customizing for the according feature.
You should search in the service marketplace for notes and there are quite some of them. (562031 e.g.)
Regards,
Michael -
Data not showing correctly in essbase
Hi There,
I just generate my monthly load table, for example, GL of month, I run the query, and the total number is matched with accounting generated report, then I load it to the essbase using the month data text file, as well as data load rule file (overwrite the value).
However I use Excel add-in to retrieve and check the month number, it gave me discrepency on actual of level 0 on one account, I cannot figure it out why.
Any pointer and advice?
ThanksHi CL,
Thanks for your advice, now I am really concern if there is data issue, by the way, I want to point it out, the above sample data is not data file I use to load the cube, it is result of sql query using group by to compare the value, here is the actual data file I am loading, for GL 5112, the sum of that is 1131609.5:
Scenario GL Dept Year Mon Amount
ACTUALS 5112 030200 2010 Jul 49327.560
ACTUALS 5112 030240 2010 Jul 11098.010
ACTUALS 5112 030320 2010 Jul 4050.000
ACTUALS 5112 030340 2010 Jul 12850.720
ACTUALS 5112 030360 2010 Jul 7528.750
ACTUALS 5112 030420 2010 Jul 43999.960
ACTUALS 5112 030460 2010 Jul 1246.320
ACTUALS 5112 100099 2010 Jul -16895.700
ACTUALS 5112 120301 2010 Jul -5803.440
ACTUALS 5112 130401 2010 Jul 54059.720
ACTUALS 5112 130601 2010 Jul 1750.170
ACTUALS 5112 130603 2010 Jul 3667.950
ACTUALS 5112 150201 2010 Jul 13389.560
ACTUALS 5112 150401 2010 Jul 12617.550
ACTUALS 5112 150601 2010 Jul 5206.520
ACTUALS 5112 150701 2010 Jul 251913.180
ACTUALS 5112 150801 2010 Jul -1555.080
ACTUALS 5112 170099 2010 Jul 55962.500
ACTUALS 5112 170602 2010 Jul 21969.530
ACTUALS 5112 180201 2010 Jul 4693.760
ACTUALS 5112 190001 2010 Jul 76914.000
ACTUALS 5112 190003 2010 Jul -10372.680
ACTUALS 5112 190004 2010 Jul 7832.790
ACTUALS 5112 190200 2010 Jul -17089.160
ACTUALS 5112 190204 2010 Jul 373255.250
ACTUALS 5112 190204 2010 Jul 77760.000
ACTUALS 5112 190205 2010 Jul 92231.760
Could you tell anything wrong here to causing the discrepency?
Maybe you are looking for
-
If I get a Windows 7 upgrade disk and install it over my current Vista, and then upgrade to Lion, what will I have to do if I ever need to reinstall Windows 7 since I will only have it as an upgrade disk? I don't want to buy a full version for the on
-
Problem in Export to Excel in WAD
Hi, We are facing problems while using the "export to excel" feature in WAD. While displaying the report in WEB or even RRMX, the display is fine for all fields of the report. However, when i use the export to excel feature from WAD, the fields with
-
Dear All, I want to create a Purchase Order in SMR to buy stationary for a year. I know that in SAP ECC we can use "blanket" PO. Is there a same kind of PO in SRM?. If yes, please let me know how to do it. Thanks
-
TS3694 IPOD 8GB won't restore gives Error 1 when attempting to restore...Help
IPOD 8GB wont restore...when I attach and sync to my IMAC it comes back with Error 1...then I go to advanced and it tells me to try it 2 more times....I did it again for 10 more times same response Error 1
-
Show two Columns in Column Chart
HI all visitors I have problem with how to show two columns in Column Chart Component. I want to change from Groupname Jan Feb Mar Apr 5...................... Member 234 453 433 535 553 NonMem