Need to createchange pointer with a different Message type
Hii
Existing Scenario :
when i do some changes to the material characteristics through a z- transaction change pointers are created in the tables BDCP and BDCPS with message type ZVCRUMAT
Required Scenarion :
Now when i change the material characteristics i need change pointers to be created with message type ZMATCHG .
Where should i do the changes to get this done .Please help .
Thanks and regards
Ramakanth Akunury
Hello,
First activate change pointers for message type ZMATCHG using BD50. Then identify the fields for creating change pointers using BD52.
Thanks,
Venu
Similar Messages
-
Can Same IDOC be sent to same Receiver with two different Message Mappings
Hello Experts,
Wierd doubt but want to confirm from you people.
Scenario:
One R/3 Sender
SAP XI :
One external Receiver :
IDOC is sent from R/3 to external receiver via SAP XI.
One interface has already been developed for the above scenario.
Now client wants another interface to be developed for the same IDOC. Might be the values would be different for some specific fields.
Doubt:
Is it possible to send one similar IDOC to one target system with two different Message Interfaces?
Ex: Created Message Interface 'A' and correspoding Message Mapping with an IDOC
Created Message Interface 'B' and correspoding Message Mappingwith an IDOC
Values would be different in the IDOC and would be triggered from SAP R/3. Basing on the specific value of a field in the IDOC , can we trigger a different Message mapping for the same receiver?
I donot see any reason in developing a new interface for the same IDOC but as per the situation mentioned above, can it be done?
Thank you
Alex.Create two interfaces for target side.
If you want only one target interface should get data.
You can use simple interface determination. Use the condition tab and specify the field there but the value should be constant. e.g. if field has value EN it should go to First interface and if Field has value != EN it should go to second interface.
If you want to divide your message in to both target interfaces.
Multimapping also can help but only if both of your target interface need idoc data.
You can use ifexist standard node functions from UDF to choose between the field.
For multimapping you can go to messages tab in the message mapping and can add interfaces using + sign.
then when you see the design part you will see two messages.
Now Start with receiver determination in ID and create one receiver determination for the sender and receiver, this shows you have only one receiver.
In interface determination you have to choose extended and choose your mapping designed.
then both your interfaces automatically would appear.
Create two receiver agreements and one sender agreement.
thanks
hemant
Edited by: Hemant on Aug 28, 2008 12:29 AM -
IDOC - IDOC scenario with different message types
Dear Experts
I will like to have your expert opinion in the following question:
I have an IDOC -> IDOC scenario. Wherein at the destination system I have a message type which does not exist at the source system.
Also the IDOC type at destination system does not exist at the source system.
Let say, I will be creating custom message type at source system (Z****) and will also be creating the custom IDOC type (z****) with the same structure, definition as the destination.
Now my question is, even if there will be different message types and different IDOC types but with the same structure (the segment level definition
and field attribute remains the same at both the system). The difference lies with the names. And I have proper mapping though process code.
Will I be able to receive the IDOC correctly at destination?
Thanks & Best RegardsHi All
I figured out the answer myself now.
You got to have same name for message type. All of you said this and this is rite.
Coming to IDOC type, I did not really got clear idea on this from this discussion.
But after working on a scenario, I learnt that, you can have different names for IDOCs, but provided that, whichever IDOC type the source system is sending, the same type must exist in your destination as well. Otherwise, system wont process your IDOC. But from mapping point of view, its upto individual how do thay handle mapping inside inbound process code for different idoc types / strucutes.
Lesson learnt by me, ideally try to keep same name for both logical message and idoc type at both source and destination. If possible try to keep the structure level also the same. This is my view, learnt it the hard way.
Cheers
Shane -
Calc manager: @RETURN function with WARNING as message type issue
Hi Gurus,
I m working in version 11.1.2.2 in IE 9. I have created a simple calculation script as below to test the @Return essbase function.
function
FIX ( .....)
"502100"(
IF( ("YearTotal" > 50000))
@RETURN("True:test message" , WARNING);
ELSE
@RETURN("False:test message" , WARNING);
ENDIF
This script validates fine , however when executed on Save of Data Form gives a Job console error with no error code but message as below
Invalid network data. Type is matched but length is zero. An application protocol error might exist between server and client processes..
The same script executed using error message type as *"ERROR"* executes successfuly on save of data form and gives exepected custom error message.
I read a thread in forum saying the @Return function works only with ERROR as message type for vesrion 11.1.2.1
How to use Essbase @RETURN function to displayed messages in 11.1.2.1
I have tried using WARNING and INFO , both doesnt seem to work even in 11.1.2.2, Only ERROR as message type works.
Has anyone experienced the same with version 11.1.2.2 as well? Is this still a bug?
Please let me know your inputs.
Thanks
SNHi,
I am sorry for the late response!
Thank you for all your suggestions!
I had used in the followng way and it resolved my issue.
SELECT GUID_PRGEN "Primary Key as GUID in "RAW" Format
GUID_PR "Primary Key as GUID in "RAW" Format
ATTR20A "SUBSTANCE ID
ATTR05A "Materail Type
ATTR10A "Materail Group
ATTR05B "Sub-Family
FROM /SAPSLL/PRGEN
INTO TABLE T_PRGEN
WHERE ATTR20A IN S_AT20A.
IF T_PRGEN IS INITIAL.
MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
STOP.
ENDIF.
Regards,
Kittu -
Can we assign same basic type to different message type in ALE
Hi Expert
can we assign same idoc type to different message type?Hi,
Yes you can assign the one idoc type to multiple message type. Message type nothing but it represents the kind of data we transfer.But idoc type is the format in which we transfer data. As an example in Messager types "ORDERS" and "ORDRSP" both indicates the order related data, and in both case idoc type can be ORDERS01, ORDERS02.............
Thanks,
Asit Purbey.
Edited by: Asit Purbey on Oct 12, 2009 3:07 PM -
How to assign different Message Type to different Doc. Types
Hi,
Can anyone tell me how can I assign different Message Type to different Doc. Types e.g. in ME21N. So that whenever the Doc Type is selected the respective Message Type is automatically assigned.
Luckyhi there
follow this path
spro - materials management - purchasing - messages - output cntrol - message types - define message types for p/o
then
spro - materials management - purchasing - messages - output cntrol - message determination schemas - define message determination schemas for purchase order
then
go to
mn04
give doc type - enter
enter partner role & other parametrs -
Issue with the change pointer for the reduced message type ZMATMAS
Hi All,
I have created reduced message type ZMATMAS for the MATMAS to create a Idoc when change or insert material master data fields( MARA-LAENG, MARA-BREIT, MARA-HOEHE) . My Problem is that the Idoc is generated with the status (03) but the fields(LAENG, BREIT,HOEHE) are not getting fill with the values. They are always filling with the values '/'). I have done the following steps to create idoc for the change pointer. Please check whether i have missed some steps.
1. Create reduction maintenance ZMATMAS (Tcode BD53)
keep the default selected segments E1MARAM, E1MAKTM
2. Add following data to maintain table view for the message type ZMATMAS (Tcode BD52)
Object Table Name Field Name
MATERIAL MARA KEY
MATERIAL MARA LAENG
MATERIAL MARA BREIT
MATERIAL MARA HOEHE
3. Activate particular change pointer in BD50
Message Type Active
ZMATMAS yes
4. Activate change pointers u2013 Generally (Tcode BD61).
5. Assign Segment fields to change document fields (Tcode BD66 )
Segment Type Field Name Object Table Name Field Name
E1MARAM BREIT MATERIAL MARA BREIT
E1MARAM HOEHE MATERIAL MARA HOEHE
E1MARAM LAENG MATERIAL MARA LAENG
6. I have done the distribution model settings (BD64) and the idoc configurations
1. Logical System
2. RFC destination
3. Create port
4. Create partner profile
7. I changed the fields in material master data(Tcode MM02) and I executed the Tcode BD21.
Idoc is generated but the fields are not getting fill with the values
(Note: some fields are filled with values e. g material number, material description)
I checked the Idoc data segment E1MARAM (WE02)
Fld name Fld cont.
LAENG /
BREIT /
HOEHE /
Can you please let me know the issue
PradIssue is solved when I select the segments and the fields in the segments (Tcode :BD53)
Prad -
Web service client needs to share data with a SOAP Message Handler
I have a web service client that is built using WebLogic 10 clientgen. I also have a Soap Message Handler configured that will create the required Soap Headers for the web service call.
Creating these Soap Headers works great as long as the header data is static but the problem comes up when I need to place some dynamic data in these headers. The web service client has this data and somehow needs to pass it to the Soap Message Handler. It looks like I need to somehow have the client place this data in the MessageContext before the call so the data can be accessed by the Soap Message Handler.
How do I get access to the MessageContext from the client or is there a better way to do this?
Thanks in advance for any help you can give.You may want to check the response to this previous post to see if it yields any ideas for you:
Not able to Pass header info to Microsoft MapPoint WebService using WLS10 -
Different Message Type, Different Namespace, same structure
Hi,
we have the scenario:
We have a message type (with our namespace) in a regular file-tofile scenario.
The sender is sending us an xml-file from his PI that has exactly the same structure and same xsd.
Except, that his message type name and namespace are different.
What is the scenario to get his message type and namespace mapped to my message type and namespace in a regular file-to-file scenario?
Thanks
hsHi, you could also remove namespaces with XMLAnonymizerBean, then you only need to adapt the message type.
Alternatively you can import the external definition of the message and create a mapping for that. You can reuse your existing message mapping, just do a copy and change the message type in the signature. Then you can correct structural inconsistencies automatically in order to adjust the mapping to the changed namespace and message type. Or even better, create a mapping template for the structure which you use in both message mappings. Like this, you have a separate interface and mapping for the file and thus a clear separation of message flow.
Regards, Martin -
How to handle different message types of EDIFACT in single input file.
Hi All,
Currently we have a requirement like we will be receiving the input with different messages in the same input file (eg: ORDERS and ORDRSP in the same file).
We have configured both the message types in the document definitions. One more thing is the versions of the messages are different.
When we pass the input we are getting the error.
The input looks like below,
UNB
UNG
UNH*ORDERS
UNT
UNE
UNG
UNH*ORDRSP
UNT
UNE
UNZ
Please assist us to overcome the error.
Thanks,
Ravindra.Hi Prasanna,
Thanks for your reply.
I have created the agreements for both the messages still i'm getting the below error,
B2B-50037
B2B inbound message processing error
If i give the input as separate messages (i mean 2 input files). Its working fine.
Also let me know is there any configuration settings to handle multiple messages in a single input file.
Thanks,
Ravindra. -
Ale with user created message type
Hello,
I have a created a segment ,idoc and message type and done the assignment of Idoc with message type also.
i have to send the material 800 to 810 client through ALE.
By using the Standard Message type MATMAS i m getting the material on 810 client.
But when i am using my message type ie ZMAT_MSG in tcode BD10 on client 800 to send the material it is saying error that message type does not exist.
I am not getting the problem
Or it is not possible to use your message type to send the material through Tcode BD10.You have to always use the standard message type MATMAS.
If yes then how to use our own message type to transfer the data from client 800 to 810.
Please reply .
ManishHi Vasu,
Please try this.
1. Create distribution model (BD64) for message type MATMAS_BAPI.
2. Create inbound partner profile (WE20) for message type MATMAS_BAPI and IDoc type MATMAS_BAPI01 and process code BAPI.
3. Create IDoc ports (WE21)
4. Setup RFC destination (SM59).
Hope this will help to start with.
Regards,
Ferry Lianto
Please reward points if helpful. -
Interface-Mapping with a Fault Message Type
Hi,
we have an abap-proxy and some messages generated errors. The errors can be displayed via sxmb_moni. The proxy raises an "Application Error (Restart possible)".
Now I wanna transform the generated fault message (of the proxy) with a message mapping and send the output to a file.
My problem is, that it is not possible to define an interface mapping with the fault message as well as it is not possible to define a receiver determination.
Any ideas?
Thanks a lot
Regards
Wolfgang HummelHello
As far as I know you can propogate the application error back to the calling application only in case of a Synch Interface? Are you making a Synch call where the proxy triggers a fault message, if yes then all you need to do is to make the change in XI to have the fault message for both the outbound and inbound message interfaces and then a corresponding fault message mapping and select this in the Interface Mapping and then the fault message will be sent to the source / calling application.
In the case of Asynch calls I don't think this is possible until you use a BPM. Have not tried this myself though.
Regards,
Bhavesh -
Hi Problem with LSMW-IDOC message type COND_A(COND_A02)
hi Experts,
I am using LSMW-IDOC to create the condition record for transcation code(XK15) when i am executing i am generating successfully idoc i can see the updated vales in TK15 tcode, the data base is getting updated the problem is the scale id is increaminting automatically i should increament the scaleid i am passing the scale id that scale id should be displayed in Tk15 but the scale id is increamenting.......
its urgent requirement...Hi,
Thanks. But still I don't see values.
I have a question in chang pointer.
When I change the values in the table( Segment data ) for IDOCs, an IDOC should be generated
Other words, When I change any application, an IDOC should be generate.
What should I do, I think Change pointer is required for this to geneate idoc for change of application/data.
In BD50 I see the change pointer is active for my custom message type.
May be I'm misunderstanding about change pointer.
can you help me out.
Venkata -
How to send different message types to different partners in purchase orde?
Hi Folks,
I have been searching the forum for my question and have not found a solution yet. Maybe there is one out there that can give the solution.
The situation is as follows.
PO is created and output is determined for the Vendor and medium is correctly set to 5 (External Message, PDF).
The requirement is the be able to either manualle add a partner and enter a email address or get it via automatically determination from buyer (Pur.Grp.)
I have made a new Message type as a copy of neu and only allowed partner BU (Buyer). However that does not seem to work
Anyone out there that could help?
Thanks in advance,
ThomasHi Craig,
In the print program we call the form z_get_mail_address
when '5'.
data: lvs_comm_type type ad_comm,
lvs_comm_values type szadr_comm_values.
... use stratagy to get communication type
enhancement-section lmedruckf1o_01 spots es_saplmedruck .
call function 'ADDR_GET_NEXT_COMM_TYPE'
exporting
strategy = nast-tcode
address_number = lfa1-adrnr
importing
comm_type = lvs_comm_type
comm_values = lvs_comm_values
exceptions
address_not_exist = 1
person_not_exist = 2
no_comm_type_found = 3
internal_error = 4
parameter_error = 5
others = 6.
end-enhancement-section.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*Begin 27-09-2011
perform z_get_mail_address changing lvs_comm_type lvs_comm_values.
End 27-09-2011 xkgu
convert communication data
move-corresponding nast to intnast.
move sy-repid to xprogramm.
call function 'CONVERT_COMM_TYPE_DATA'
exporting
pi_comm_type = lvs_comm_type
pi_comm_values = lvs_comm_values
pi_country = lfa1-land1
pi_repid = xprogramm
pi_snast = intnast
importing
pe_itcpo
we added the following code:
form z_get_mail_address changing lvs_comm_type type ad_comm lvs_comm_values type szadr_comm_values.
data: c_recipient(2) type c value $R
c_buyer(2) type c value 'ZC',
l_mail like lvs_comm_values-adsmtp-smtp_addr.
tables: pa0105.
case nast-parvw.
when c_indkoeber.
Get mail address in infotype PA0150 subtype 0009.
nast-parnr must be personal number from HR.
select single * from pa0105 where
pernr = nast-parnr
and subty = '0010'
and begda <= nast-erdat
and endda >= nast-erdat.
if sy-subrc = 0.
l_mail = pa0105-usrid_long.
perform z_get_mail using l_mail. " some logic here
lvs_comm_values-adsmtp-smtp_addr = l_mail.
translate l_mail to upper case.
lvs_comm_values-adsmtp-smtp_srch = l_mail.
lvs_comm_values-adsmtp-consnumber = '001'.
lvs_comm_values-adsmtp-flgdefault = 'X'.
lvs_comm_values-adsmtp-home_flag = 'X'.
lvs_comm_type = 'INT'.
endif.
when c_recipient
Get mail address in PO item (EKPO-AFNAM)
l_mail = ekpo-afnam.
perform z_get_mail changing l_mail.
lvs_comm_values-adsmtp-smtp_addr = l_mail.
translate l_mail to upper case.
lvs_comm_values-adsmtp-smtp_srch = l_mail.
lvs_comm_values-adsmtp-consnumber = '001'.
lvs_comm_values-adsmtp-flgdefault = 'X'.
lvs_comm_values-adsmtp-home_flag = 'X'.
lvs_comm_type = 'INT'.
endcase.
endform. " Z_GET_MAIL_ADDRESS -
Different message type received. How?
Hi Experts,
Its sap to sap integration through xi.The message type send from sender sap is hrmd_a but at receiver side it is received as hrmd_b as a result idoc failed with 51 status (error-> there are no entries available in the distribution model for the message type hrmd_a )in receiver sap system.
I have checked in control record in XI and its hrmd_a only.
Please help !!!
Regards,
Suresh.hi,
>>>I have checked in control record in XI and its hrmd_a only.
as control record has very little do to with it in XI
check out the target IDOC (in the mapping) and it's name - probably it will be hrmd_B.something
is it? or in the ID you've selected IDOC hrmd_B.something
if you correct it there it will work for 100%
Regards,
Michal Krawczyk
Edited by: Michal Krawczyk on Jul 16, 2009 12:32 PM
Maybe you are looking for
-
Error 'Specify account number' while posting a parked document through FBV0
Hi, I am getting an error 'Specify account number' while posting a parked document through transaction FBV0. I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no
-
Pre + Clarion CX609 BT works for others but not for me?
I have a VERY strange issue with my new Clarion CX609 head unit. I had read a post on the Precentral.net forums by a guy who had the same head unit and his Pre auto-connected and worked with it flawlessly. So I figured I would give it a shot and or
-
Planned sales vs actuval sales report
Dear Friends, I am SD CONSULTANT My requirement is Mentioned below i.e.Planned sales Vs Actuval Sales report Annual Sales Planning initiates with two Criteria:- A. For Existing Customer, (Historical Data used):- A. Last Two year Sales & Cur
-
Sales Employee based on Ship to party
Hi , We have a scenario where one sold to party is having multiple ship to parties... and each ship to party is catered by one sales employeee. Can we get sales employee number determined in sales order based on ship to party if yes how. please help.
-
I am working on a project in Edge Animate using SVG images responsively. However, whenever I increase them in my browser (Chrome), the images get very blurry and almost look like bitmaps. I saved the SVG images from Illustrator in SVG 1.1 as only one