Inbound RFC into ECC6.0
Hi All,
We have an inbound RFC from a C++ application into R/3. Up until we upgraded our R/3 system to ECC6.0 the application was working fine. After we upgraded to ECC6.0 we keep getting UserID/password incorrect. I do understand the case-sensitiveness of the password in ECC6.0. The issue I have is if the password on the R/3 system is changed to uppercase, the application is working fine. However, if the password on the R/3 side is lower case, the application fails. When I debug the code, the password is lowercase up until the RFC call. I am not sure if we have to upgrade the RFC library or something.
Albert
Is this RFC custom or standard?
You should make sure that the domain behind that password field should allow lower case letters.
Double click on the field it will take you to the data element , double click on the data element it will take you to the domain.
Check the attribute "Lowercase'. Unless this is checked, the field will always be treated as uppercase.
If this field is a standard field, try to create you own field as changing standard filed domains is not advisable.
Similar Messages
-
Error while creating RFC in ECC6.0
Hi Experts,
I am creating an RFC in ECC6.0 version. I have defined one field in import parameter which is of type a structure like: -
HEADER_DATA TYPE ZHEADER
here ZHEADER is a structure having some fields + a table type.
While activating the RFC it gives an error message like "Reference parameters are not allowed with RFC".
it also gives suggestion like : -
Diagnosis
You have defined a reference parameter for a remotely called function module. However, only value parameters are allowed in this kind of function module.
Procedure
Change the reference parameter to a value parameter.
I am not able to understand the Problem. Please help me.
with best regardsHi Anji,
Thanks a lot!!!
Now i am able to activate it but it is showing warning message "Parameter HEADER_DATA (type ZHEADER) can reduce performance in RFC.
Can we remove this warning?
I hope it will not affect the RFC.
best regards -
Changes made to the order in SAP CRM 7.0 is not transferring into ECC6.0
Hi SAP CRM Experts,
Could you please provide me the solution for the below concern?
When the changes are made in SAP CRM order ,the synchronization is not taking place i.e., those changes are not replicating into ECC6.0 and the other way round is working fine(from ECC6.0 to CRM)The order is not editable in CRM and giving the message as "Document is being distributed; changes are not possible" and BDOC status as " After qRFC step (intermediate state)" and in the in bound queue (SMQ1) and it is showing as "running" after a while it is clearing but the BDOC and the orders messages are still the same.
Would appreciate for the quick solution.
Best Regards
SucchiHi, Succhi
Note 1621031 - Incorrect status I1054 "To be distributed"
Note 1620893 - Screen output without connection to user - SMQ1
also check program CRM_DATAEXCHANGE_TOOLBOX
Denis -
How to transfer data of RFC into Internal Table inside a WD4A program?
Hi Experts,
I have created WD4A program. This program calls RFC. The output of RFC has to populate a UI table. THe different cells of the table should have different color based on data.
I have gone through following link:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/707fb792-c181-2d10-61bd-ce15d58b5cf1
The above link fetches data from directly from table. Then it passes the data into internal table.
If I am using RFC, then how I can insert data of RFC into a internal table in WD4A program (se80 In drop down Web Dynpro Comp / Intf)
My motto is to have table ouput whose different cells should have different color based on data.
Please help.
Regards,
Gary
Edited by: Jason Lax on Dec 28, 2011 2:52 PM (Fixed broken link)Hi Experts,
I have resolved the issue. I have created WD4A program. This WD4A program calls the RFC.
The RFC has a structure as export parameters called 'RESULT_FINAL'. I have altered the associated type of this table export parameter. I added Component 'Color' of component type 'WDUI_TABLE_CELL_DESIGN'.
In the RFC I have added some code. The code is as below:
loop at it_t1.
select pernr from pa0000 into table it_t2 where pernr = it_t1-pernr and stat2 ='3'
and begda <= sy-datum AND endda >= sy-datum.
if sy-subrc = 0.
result_final-org_unit = result_objec-objid.
result_final-pernr = it_t1-pernr.
result_final-name = it_t1-name.
result_final-color = '02'. append result_final.
endif.
endloop.
The line result_final-color = '02'.
code returns Color.
In the WD4A program, I have changed the Cell Design property of selected table coloumn to Color.
This resolved the issue.
Thanks every one for the reply.
I have added above information for other SDN users.
I am closing this thread,
Regards,
Gary -
Probelm in Smart forms Download/upload into Ecc6.0
Dear Friends,
i m working on Sap4.6c version i want to download smartform(report) from 4.6c and upload it into ECC6 so is there is any utility to do this.
regarding sapscript there is one program rstxscrp to do this, is there is any such program for smartform.
thanks in advance
regards,
Bhaskar.Hi,
I dont think it is available.
Save the smartforms in a request and ask the Basis to transport to the ECC6.0 system.
This is very simple and easy to do, as you will not miss out anything even if you had to redo the same in Ecc6.0
Regards
Subramanian -
Add a RFC into existing RFC MODEL
Hello Friends,
Is it possible to add a RFC into existing RFC model, or I have to create everytime new RFC model while adding another RFC ?
Regards,Hi Shah
1) You can <b>Reimport</b> the exisitng RFC model if you want to make any changes,
Reimporting may include, adding a new funtionality, deleting exsisting funtionality, modifying , etc.
After reimporting your RFC <b>YOU NEED TO RESTART YOUR J2EE ENGINE</b>
SAP stronlgy recommends that each model live within its own separate Java Package. means you can create many models ,but while creating ,create them in different packages
Best Regards
Chaitanya.A -
Inbound RFC - Where to create connection?
Hi all,
I have an inbound RFC interface (XI -> R/3).
Does an RFC connection need to be created? If yes, does the connection get created in SM59 on the R/3 system or on the XI system?
Thanks!Hi Daniel,
You dont need to create RFC for inbound RFC.
Specify the type of the RFC server. It can be an SAP System and that doest need any RFC connection to be created. It can be an External RFC Server. For this you need to create RFC connection that will register external system under a SAP gateway.
Thanks
Gaurav -
Copy config and payroll rules & shemas and 2 years data into ECC6 from 4.7
Hi ,
we need to copy config and payroll rules & shemas and 2 years data into ECC6 from 4.7 enterprise .
Please let me now How to do it ?
I will give points for suitable answers pl
Thanks,
SunithaHi Sonu Gupta,
Can please explain bit more ...
Config and Data both i wanted to move 4.7 sytem to ECC6 system . both are diffrent systems .
what is this peace list ?How to create ?
in case of Config how to trsnfer .
Please Help Me ...
Sunitha
Edited by: Sunitha Reddy on Apr 10, 2008 3:34 PM -
Inbound XML file into ECC6 .. is middleware required?
Hi
We are running SAP ECC6 and do not have SAP XI.
An external system needs us to send an outbound WMTORD in XML format. We have configured the XML port and succesfully got an xmla file out of the system.
The external system will return a WMSUMO idox in XML format. ... but I am unclear if SAP can process this directly without some middleware or having to run special function modules (somehow?!).
Can anyone help clarify what needs to be done for the inbound xml file ... do I create a file port and SAP simply converts the xml into normal format?
I see some post about running function modules .. im not cleear on what program is used to run these
Any help appreciated
ThxHI,
To answer your question specifically, No, there is no need for an middleware for your case.
You can just create an inbound port of type xml file port and do the necessary IDOC inbound configuration and that should be enough.
http://help.sap.com/saphelp_nw70/helpdata/en/3f/faa288bb7911d2897f0000e8216438/content.htm
Best Regards,
Ravi -
Hello,
When we are making a "call function Zfunction destination dest" for R3 --> XI --> ..., what/where exactly this Zfunction is?
My understanding is that it is the Inbound interface name defined in XI. i.e. the Sender system interface is Zfunction. Is this correct? If not please clarify me.
Thanks,
Ramesh BHi Ramesh,
Zfunction will be uploaded into the repository before. Its acting as an outbound-Interface. The RFC-Adapter translates your call from the R/3 into XML. The R/3-destination points to the RFC-Adapter.
Regards Udo -
Hi Gurus,
Is it possible to call an RFC using .NET in SAP ECC6? If so can you teach us how?
Thanks and Regards,
AndreHi Andre,
yes, u can call RFC using .NET in SAP ECC 6.0 and it can be achieved using SAP .NET connector which u need to download and install in the developer machine where .NET is installed.
For more info on calling RFC using .NET connector,<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/92333e6b-0b01-0010-9cbf-fecd62d6c895">SAP Article</a>
Hope it Helps.
Regards,
Vinoth.M -
Hi,
I am able to transfer the po into GTS. While the inbound delivery is not getting transferred into GTS.
I have maintained all the required settings like Activate transfer of inbound delivery(MM0B), assignment of doc type EL to doc type CULOIM in GTS , assignment of item category ELN to item category CLPOS.
Still the inbound delivery is not getting transferred.
please help me.
Ram kumar.Please check this thread :
Re: Inbound Deliveries to GTS
Regards,
Lanka -
Inbound RFC Data / Duplicate Note Texts
Hello,
Question: Is there a way for me to view the contents which have already been passed to an RFC in CRM (5.0) from Portal?
Background: We are experiencing an issue with duplicate note texts when displaying opportunity notes in Portal. Note texts are being populated by an RFC call which in turn calls BAPI_BUSPROCESSND_CHANGEMULTI. We are not able to recreate the issue in any test enviorment. We are only able to identify the issue after it has already occurred in PRD on almost a daily basis.
As this appears to be a random occurance, I am hoping to compare the data passed to the RFC for a successful & errored example to identify any discrepancies in the data passed to the RFC.
One thing I have noticed is that the duplicate texts appear to be occuring when a date/time stamp is not included at then end of the TEXT field of STXH, but have not been able to determine why a date/time stamp is added in one instance and not another.
Any input would be greatly appreciated. Thanks!Hi Mats,
I have the same problem. As I work-around, I added the following code to the transfer routine for 0TCTPRCSVAR in InfoSource 0TCTPRCSVAR_TEXT.
DATA: l_str TYPE sobj_name.
l_str = TRAN_STRUCTURE-objnm.
* Begin Note 1134138 3/23/2008
* IF ( STRLEN( l_str ) > 30 ).
IF ( STRLEN( l_str ) > 10 ).
* End Note 1134138
RESULT = TRAN_STRUCTURE-objnm+10(30).
ELSE.
* Multiple records with process variant type = LOADING and
* blank process variant name caused duplicate record errors
* during load. This code prevents the duplicate records by
* forcing a delay and plugging a time stamp into the process
* variant name.
IF TRAN_STRUCTURE-TXTSH IS INITIAL.
CALL FUNCTION 'RFC_PING_AND_WAIT'
EXPORTING
SECONDS = 2.
CONCATENATE 'DUP_RECORD_ERROR_' sy-timlo
INTO RESULT.
ENDIF.
ENDIF.
* returncode <> 0 means skip this record
RETURNCODE = 0.
* abort <> 0 means skip whole data package !!!
ABORT = 0.
It's not very elegant, but it seems to solve the duplicate record error. Periodically, I delete the 0TCTPRCSVAR master data that contains string "DUP_RECORD_ERROR.'
Isn't SAP grand!!
Hope this helps.
Regards,
D&C -
Hi All,
I am using RFC for updating the table in the R/3 system. The tabel get updated in two steps.
1.In first scenario, I am using message split, one message is for file and other is for RFC. In this table gets updated correctly.
2. In one more scenario which is File to RFC in which i am calling same RFC for updating the table with some more data based on the condition. XI it is showing successfull once the scenario is executed, but the table is not updated with the data.
But when I execute the RFC in the R/3 it is updating the fields based on the condition. How to trace the error.
I also following the Michal Blog for debugging.https:///people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
Is there any other way to solve the problem.
Regards
PrakashHi Prakash,
for analyzation I would modify the coding of the RFC. I would write the message snet into the LOG.
There are sample function modules where you can see how to write into the LOG.
The function modules are starting with BAL_LOG*
Use Se37 to find appropriate unction modules
Regards Mario -
Pack material and HU in inbound delivery into given HU
I want to pack the material and HU in the inbound delivery using VL32N transaction after creating it.Please let me know list of FMS to pack the material and HU in inbound delivery.
Thanks in advance!Hi
Please check the below code it will work.
gs_head-DELIV_DATE = sy-datum.
gs_head-DELIV_TIME = sy-uzeit.
gs_item-DELIV_ITEM = p_item1.
gs_item-MATERIAL = p_matnr1.
gs_item-DELIV_QTY = p_quan.
gs_item-UNIT = 'EA'.
gs_item-PO_NUMBER = p_po.
gs_item-PO_ITEM = 10.
APPEND gs_item TO gt_item.
CLEAR:gs_item.
CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
EXPORTING
IS_INB_DELIVERY_HEADER = gs_head
IMPORTING
EF_DELIVERY = gv_vbeln
TABLES
IT_INB_DELIVERY_DETAIL = gt_item
RETURN = gt_ret1.
gs_refobj-OBJECT = 03.
gs_refobj-OBJKEY = gv_vbeln.
gs_humain-vhilm = p_matnr2.
GS_HUMAIN-HU_STATUS_INIT = 'A'.
gs_humain-STATUS = '0010'.
gs_itempr1-VELIN = 1.
gs_itempr1-QUANTITY = p_quan.
gs_itempr1-meins = 'EA'.
gs_itempr1-matnr = p_matnr1.
gs_itempr1-werks = p_plant.
CALL FUNCTION 'PROCESS_HU_INBOUND_DLVRY'
EXPORTING
I_HU_ID = gv_huid
I_NEW_HU = 'X'
I_UPDATE_DB = 'X'
I_CREATE_HU = 'X'
I_REFERENCE_OBJECT = gs_refobj
I_HU_HEADER_MAIN = gs_humain
I_SAVE_STEP = 'ITEM'
I_PACK_ACTIVITY = 'MAT'
I_DELIVERY_TYPE = '7'
I_PACKING_ACTIVITY = 'PACK'
I_PACK_TYPE = 'MAT'
IS_ITEM_PROPOSAL = gs_itempr1
IMPORTING
O_HU_REF_ID = gs_erefid
O_HU_HEADER = gt_eheader
O_HU_ITEMS = gt_eitem
O_HU_MESSAGES = gt_emsg[]
TABLES
ET_CREATED_HUS = gt_ehus[]
EXCEPTIONS
INPUT_MISSING = 1
NOT_POSSIBLE = 2
HEADER_ERROR = 3
ITEM_ERROR = 4
SERIAL_NR_ERROR = 5
FATAL_ERROR = 6
OPERATION_FAILED = 7
DELIVERY_UPDATE_ERROR = 8
OTHERS = 9.
IF SY-SUBRC EQ 0.
CLEAR:gs_vekp.
SELECT SINGLE * FROM vekp INTO gs_vekp WHERE VPOBJKEY = GV_VBELN.
ls_vbkok_wa-vbeln_vl = gv_vbeln.
ls_vbkok_wa-vbeln = gv_vbeln.
ls_vbkok_wa-VBTYP_VL = 7.
ls_vbkok_wa-wabuc = 'X'.
ls_vbkok_wa-spe_auto_gr = 'X'.
ls_vbkok_wa-kzebu = 'X'.
lt_verko-exidv = gs_vekp-exidv.
lt_verko-exida = 'E'.
lt_verko-magrv = 'YB01'.
lt_verko-werks = p_plant.
lt_verko-STATUS = '0010'.
APPEND lt_verko.
lt_verpo-venum = gs_vekp-venum.
lt_verpo-exidv_ob = gs_vekp-exidv.
lt_verpo-exidv = gs_vekp-exidv.
lt_verpo-velin = '1'.
lt_verpo-vbeln = gv_vbeln.
lt_verpo-POSNR = p_item1.
lt_verpo-TMENG = p_quan.
lt_verpo-VRKME = 'EA'.
lt_verpo-MATNR = p_matnr1.
lt_verpo-werks = p_plant.
APPEND lt_verpo.
lt_repack-SOURCEHU = gs_vekp-exidv.
lt_repack-DESTHU = gs_vekp-exidv.
lt_repack-PACK_QTY = p_quan.
lt_repack-BASE_UOM = 'EA'.
lt_repack-MATERIAL = p_matnr1.
lt_repack-PLANT = p_plant.
lt_repack-DELIV_NUMB = gv_vbeln.
lt_repack-DELIV_ITEM = p_item1.
APPEND lt_repack.
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
VBKOK_WA = ls_vbkok_wa
DELIVERY = gv_vbeln
update_picking = 'X'
no_messages_update_1 = 'X'
synchron = 'X'
commit = ' '
NICHT_SPERREN_1 = 'Y'
if_database_update_1 = '1'
if_error_messages_send = 'X'
TABLES
PROT = lt_prot
VERKO_TAB = lt_verko
VERPO_TAB = lt_verpo
IT_REPACK = lt_repack.
COMMIT WORK and WAIT.
Thanks,
Shankar Darbha
Maybe you are looking for
-
Graphics card upgrade on my A60?
Hi, I've had an A60 with on-board ATI Raedon 7000 shared memory graphics for over a year and have had ongoing problems with crashing. I seem to have (at least temporarally) resolved this issue by reducing the colours to 16m... I am now using some mor
-
Thumbnail view as the default setting.
Two related questions. 1) How do I make Thumbnail view in the project panel the default setting for all/new projects? I've set my workspace and keyboard arrangement as my custom layouts, but when I make a new project, it always defaults to list vi
-
New Purchased Albums not showing up in Library
I just bought 2 new Albums from the Itunes store and they wont show up in my Library. If I search for them they are on my computer and will play but only through searching for the songs. Anything I can do to fix this? Thanks Cliff
-
i am still having trouble rendering my project clips. i continue to attempt to render and the box that tells you how much rendering has progressed comes up for a couple of seconds, and then disappears with out rendering anything. i have already tried
-
Combining iTunes libraries from separate iPads or PCs
My wife and I both use iPads almost exclusively and only keep our old Windows PCs to basically house our iTunes libraries and a large no. of photos. Can I combine both iTunes libraries onto a Macbook Pro either from our iPads or our old PCs? And if s