Value mapping in the ERP system during IDOC creation
We have a PI File-IDOC scenario.
We can translate simple mappings such as currency or unit of measure in PI(7.1) using the Value Mapping function. For complicated mappings involving business logic (e.g. Tax code which is derived from multiple fields) we want to perform these mapping in the ERP (ECC6) system. Is there an approved generic SAP standard process where these value mappings can be done in the IDOC creation which is still valid when re-processing?
e.g. a specific BADI or enhancement point recommended for these mapping?
There might also be a requirement to add segments based on value mapping logic for example when a tax record segment is only required for a non-zero tax code which is mapped via business logic.
Can someone please direct me in the right direction.
Thanks for your answers but I assumed that using a user exit / Enhancement point was obvious. What I'd like to know is a generic entry point that I can estabolish a IDOC enhancement framework. Somewhere I can call a class containing methods linked to IDOC message types
e.g. Call similar to my prototype (this will be where dependant on mappings certain segments will need to be inserted such as tax segments.
ASSIGN control-mestyp TO <mestyp>.
CALL METHOD (<mestyp>)
EXPORTING
control = control
data = data
IMPORTING
have_to_change = have_to_change
protocol = protocol
new_entries = new_entries.
The "entry point" must be processed both at creation and reprocess. We are also dealing with Inbound IDOCs not outbound
Similar Messages
-
Sending an opportunity or an offer to the ERP-system from the C4C-platform
Hi Colleagues,
We have been configuring and customizing the C4C platform during the last few weeks. Everything looks good so far and we are able to replicate materials, customers and address data, but we have a question considering offers and opportunities: So far we have not been able to find out how to send an offer or an opportunity from the cloud platform to the ERP-system in order to create a follow-up document there.
For example:
- we create an offer on the cloud platform
- we send this offer to the erp-system
- within the ERP-system an order is created using this offer.
There used to be the button "Create SAP ERP order" under "actions" in the cloud platform but unfortunately that button does not seem to exist
anymore.
Do you happen to know how we can now startup said exchange between the cloud platform and the ERP-system? Is there any reference for it?
Thank you in advance.
LeonardoHello Leonardo
Did you use the integration guide for the other scenarios? The integration guide also includes how to create inquiry from opportunity on ERP. You will need to scope this before you see the option from the Actions in the Opportunity. the opportunity may also have to be set to in process before you can see this as well - I'm not sure about that.
Have you seen this in the integration guide on https://service.sap.com/cloud4customer ?
Regards
Ginger -
Error occurred in accounting - check the costing in the ERP system
Hi Experts,
i am experiencing error in cproject preliminary costing. please refer below error.
i have the choosed the costing variant as ad hoc cost estimation in controlling for easy cost planning. i need to create a quotation from cproject.
Please sugeest me what is missing?
thanks in advance,
Prabu
Error occurred in accounting - check the costing in the ERP system
Message no. DPR_FIN_GECCO026
Diagnosis
Errors occurred in costing in the ERP system.
Procedure
Check the costing log for costing in the ERP system:
Call costing:
If it is preliminary costing, the hyperlink for calling the ad hoc cost estimate can be found in the Costing view.
If it is costing for an account assignment object (after transfer), the hyperlink for calling Easy Cost Planning can be found in the Services view.
In costing, choose Revaluate All Items. The costing log is then generated with the error messages.
Procedure for System Administration
This message has the number DPR_FIN_GECCO026.Hi,
Check the configuration.
Create and Change Controlling Scenario
Define Controlling Scenario
Settings for Easy Cost Planning
Assign Cost Elements and Activity Types
Regards
Ravindra -
Cannot find the maps stored in import manager during port creation
Hi All,
I am unable to find any maps that i saved in import manager during port creation ,the maps are not showing in dropdown list during port creation in console.Do i need to store the maps that i have in import manager in specific place under mdm server,so that i can see them during port creation.
All i need to do is assign my import map during inbound port creation,but i cannot find any maps in console.
Could I know whether i am storing my maps some where other than default location.
Thanks
AravindHi Aravind,
First of all check the remote system assigned to ur Port. After that go to import manager. When u logon to the import manager, u get a window "Connect to source". Mention the same remote system over there.Select the file type.Browse the file and map the fields,values,field matching and save the map. then unload the repo and assign the map to the port.
Second way is, u create the port first and give any particular remote system to it. Put the file (u want to use for mapping) in the ready folder of that port and in connect to source window select the type as port, remote system(ame as used port port) and port.then map and save. unload the repo and assign the map to port. Ready folder will be in ur server at location: C drive or D drive->SAP MDM 5.5 ->server->distributions->repo name->inbound->port code->ready. For this option, Ur port type should be manual. After assigning the map u can change it to automatic or keep it manual as per ur requirement.
Hope this solves ur problem.
Regards,
Dheeraj.
Edited by: Dheeraj Kumar on May 6, 2008 9:16 AM -
Special stock partner data problem in ERP system during "Post Goods issue"
Hi all,
I have a (probably) customizing issue in an ERP 6.0 EhP4 test system which not occurs in the ERP 6.0 test system. There is a difference but no one could tell me, what causes the problem in this scenario:
I have two customers, C1 and C2. C2 is the special stock partner (SB) of C1.
I've created a Consignment Fill-up order, then a delivery document based on the order and posted it with "Post Goods Issue". During the update process, a function module (SD_PARTNER_UPDATE) receives partner data in an internal table which contains the sold-to, ship-to and special partner data.
When we tried the same process in the ERP 6.0 EhP4 test system then special-partner data did not occur in the parameter table (I've used the same customers and materials). The special stock partner is probably not taken into consideration due to some customizing settings.
My question is what should I change in the customization to run the process the same way as in the ERP 6.0 system? As far as I know there are no new modifications which have effect on this area, and the used test customers and materials are almost the same - there are no noticable differences.
Thanks in advance.
AkosI tried setting that field in the sale order this morning. By defaulting it to "C"; I was able to get warning message for TAE line. I was able to post goods with TAE and TAQ, being different quantities. I need the check to determine if TAE and TAQ delivery quantity are different. Using this fields seems to be line specific. Thanks for the suggestion. I now know what that field does to the delivery.
I rewarded points.
Thanks,
Tony -
How to determine the target system during runtime of a Generic DS?
Hi Experts, good afternoon.
I am coding a Generic Extractor using Function Module. I have to select the field TIMESTAMP on table ROOSPRMSC. To do so, I need the value of RLOGSYS that is the BW system that is calling the Extractor.
Do anybody knows how to determine via ABAP the RLOGSYS (Remote Logical System) during the runtime of the Generic DataSource Function Module?
The table ROOSPRMSC keep the TIMESTAMPs values of the last delta upload for each DataSource and for each BW target system. As I have 2 BW's loading data from the same SAP ECC system, I need to know, during runtime of my Generic DataSource, the actual system that is requesting the delta. That's the reason why I need to know the BW's logical system name that is "runnig" the delta InfoPackage.
Plese, help!!!
Thanks in advance!
Leandro VaniLeandro,
The calling program of your FM should have a local variable I_RLOGSYS which is populated with the BW server ID.
If you don't know how to access a variable in a program that is in call stack using field symbols, search SDN.
I haven't tested this, so you may have to explore a little.
Good luck. -
First name is not transmitted to the other system through Idoc
Hi all,
Here customer is created in R/3 system & then transmitted to the other system through I doc.
Issue is first name is not transmitted properly or is transmitted but nit correct value.
I checked the segments of respective i doc in we05 there i could see right values. But in target system it is totally wrong or the word 'CONSTANT' is coming.
what could be the reason & where i can find it out.
Please help me
Thanks
JMHi
The issue should not be in SAP. You need to check with the middleware system which reads the data from SAP and triggers an IDOC and sends it to the other system.
Regards -
Value mapping in the adapter module
Hi all...
There was been alot of writing about value mapping in many different ways.
But I have not been able to find help about doing the lookup in the adapter module.
Has anyone tried this?
Regards PeterHi,
In this case you can perfrom a RFC Lookup, but, from an Adapter Module, you would need to use the concept of JRA to do the same.
Amol Joshi has described how he called the Alerts RFC from the adapter module in these blogs and you can apply the same logic for your case as well to trigger the RFC from your module, get the data and then do the needful.
/people/amol.joshi2/blog/2006/11/27/alerts-from-adapter-modules--the-jra-way
/people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii
Regards
Bhavesh -
Is there a trick when you configure MAPI for the mail system in Central Pro?
Hi,
I'm using Central Pro 5.6 on Windows 2003 and It is working fine, but I need to change the configuration for the email system. I'm using SMTP, but I need to use MAPI.
In the documentation says that I only need the user=profile name and that's it. But this doesn't work. I have this error:
2011/03/31 17:13:38 C:\Program Files\Adobe\Central\Bin\jfemsend: Logon failed...
Do I need to do something else??
Thank you.Hi,
I'm using Central Pro 5.6 on Windows 2003 and It is working fine, but I need to change the configuration for the email system. I'm using SMTP, but I need to use MAPI.
In the documentation says that I only need the user=profile name and that's it. But this doesn't work. I have this error:
2011/03/31 17:13:38 C:\Program Files\Adobe\Central\Bin\jfemsend: Logon failed...
Do I need to do something else??
Thank you. -
How to get the message ID generated by the PI system during message mapping
Hi All,
I have a file to file scenario, where during the mapping, I want to map and send the Message ID generated by PI.
Can anyone please help me with this?
Kind regards,
JoeHi,
You have write UDF for this.
Please see the below code .
java.util.Map map = container.getTransformationParameters();
String MesID = (String)map.get(StreamTransformationConstants.MESSAGE_ID);
return MesID;
Hope this helps to you.
Regards,
P.Rajesh -
Not able to do user Mapping with the backend System
Hello all,
I am trying to Map a user to a windows based KM System but getting an error like
"There is a configuration issue which leads to problems when accessing user mapping data for the selected backend system 'KM_Test_System'. Usually, the reason is user mapping being configured for strong encryption, but the necessary additional files being missing. Check the security log file for further information and hints on how to solve the problem."
Can somebody tell me what could be the possible reason for this and how to handle this. I dont have access to the Portal server right now , so not able to see the security log.
Thanks to all,
Regards,
Sarabjeet Singh.Hi Sarbjeet,
I believe this links will help you understand and solve your problem:
user mapping is not saved
and
http://help.sap.com/saphelp_nw04/helpdata/en/04/d246215f1d4f588d1d9c49391acb01/frameset.htm
Hope this helps,
Robert -
Errors have been reported in Source System during IDoc update
Hello All,
I am updating master data into a infoObject but the data load fails.
When I go to click on IDoc Manitenance in OLTP system I see the error "Lock table overflow"
Please advise on what to do to fix problem.Duplicate of another question
-
OSB 10.1.0.0 on AIX crashes the entire system during an rman backup to tape
Hi,
I have here two AIX 5.3-07 systems with Oracle 10.2.0.2 and 10.2.0.3 on it. After installing Oracle Secure Backup for AIX I tried an online backup with rman. During the rman backup the entire AIX system crashes and reboots.
I can reproduce this on both AIX machines. If I'm using only obtar to backup some files it works out of the box. On the 10.2.0.2 system I've initial installed a 10.2.0.1 database. With this installation I was able to make online backups without any crashes.
Just before I open a tar I want to ask if someone has any hints?
MfG
J. KrauseFile an SR to further investigate this.
-
SRM 7.0 pricing conditions mapping to the backend system
Experts,
I am new to SRM & working in SRM 7.0. I have a serious problem in distributing the pricing conditions.
I need to distribute/map the pricing conditions in SRM 7.0 to the backend ECC system. I need step by step procedure for the same. Plz help me.Hi,
with the help of SDN, i have done the mapping part of pricing conditions as below.
field-symbols:
<ls_be_item> type BBPS_CTR_ITEM,
<ls_be_cond> type BBPBAPICONDCT,
<ls_be_cond_bapi> type BBPBAPICONDIT.
loop at ct_be_items assigning <ls_be_item>.
if <ls_be_cond>-COND_TYPE = '0100'.
<ls_be_cond>-COND_TYPE = 'PB00'.
elseif <ls_be_cond>-COND_TYPE = '01CT'.
<ls_be_cond>-COND_TYPE = 'PBXX'.
elseif <ls_be_cond>-COND_TYPE = '01RA'.
<ls_be_cond>-COND_TYPE = 'RB00'.
elseif <ls_be_cond>-COND_TYPE = '01RP'.
<ls_be_cond>-COND_TYPE = '01RP'.
ENDIF.
if <ls_be_cond_bapi>-COND_TYPE = '0100'.
<ls_be_cond_bapi>-COND_TYPE = 'PB00'.
elseif <ls_be_cond_bapi>-COND_TYPE = '01CT'.
<ls_be_cond_bapi>-COND_TYPE = 'PBXX'.
elseif <ls_be_cond_bapi>-COND_TYPE = '01RA'.
<ls_be_cond_bapi>-COND_TYPE = 'RB00'.
elseif <ls_be_cond_bapi>-COND_TYPE = '01RP'.
<ls_be_cond_bapi>-COND_TYPE = '01RP'.
ENDIF.
endloop.
But the problem is, when i put the external break point in the above code, its not getting triggered. Can any plz tell me how to debug the code. -
BOM mapping with change number error during IDoc process
Hi all,
i am creating BOM using IDoc BOMMAT04.i have checked this IDoc will use FM IDOC_INPUT_BOMMAT inside.
in this function module, it is using FM CSAP_MAT_BOM_CREATE and CSAP_MAT_BOM_MAINTAIN to create and change.
currently, creation and deletion is success. but when change, if the change number passed as an input parameter, the IDoc process error saying that the BOM header not allowed to update for read-only field.
if i not pass the change number, the change will be success, but no change number displayed in the item. that is not the user expected.
and if i delete the bom with change number, create a new BOM for the same material is not aloowed, saying that BOM already existing.
it seems that CSAP_MAT_BOM_CREATE and CSAP_MAT_BOM_MAINTAIN cannot support much. it is limited.
can anyone have any good solutions? thanks!yeah, for the change, i have solved it.
but currently, if i delete the existing BOM with a change number, the re-creation is not allowed by the IDoc saying that the BOM already existing.
if i delete in CS02 without change number, it deleted from DB and can be re-create.
but if delete in IDoc without change number, it failed saying that local BOM can not be deleted by ALE.
do you have any solution? i want to implment in IDoc: delete existing BOM and create a new one for the same material with change number. (currently the standard IDoc FM not support BOM group)
Maybe you are looking for
-
Managegement of Open Item after migration
Hello I need a global brain storming to finish to write a specification about an update follow a migration and the management of open item. Before, with the classic ledger we have the standard program RFSEPA02 to activate the open item management. No
-
How can I add a rescue email it my Apple ID?
Hi, I forgot my answers for my security questions and I have to add a recovery email to recover my answers... So how can I add a rescue email to my Apple ID? Thank you ~ Ediley
-
Checking to see whether a user exists in a Windows Active Directory
I have a little java applet that has to run through a large list of users, and for one of its tasks, it has to check to see whether that user exists. Mostly this is the same as running with local users, with the one exception that I can't just check
-
Project Server 2013 SSRS with Project Site
Hi All, We are using Project Server 2013. We have developed a SSRS report by accessing Project Site lists. It was working fine for some time, now when we try to access the report it is showing loading. The data source itself is not working, we used h
-
As stated my IPhoto is not able to stay on the screen since I attempted to upload to Costco photo center. The Iphoto only appears if I hold the mouse down. Once I attempt to move the mouse it goes right back to the dashboard. Also, there is a blue bo