Using HRALE00INBOUND_IDOC BADI for HRMD_A message, infty 0105
Hello Experts,
I am using HRALE00INBOUND_IDOC BADI for HRMD_A message type (for HR master data and infotype 0105).
I have configured OUTBOUND and INBOUND systems. I have created Z programe for idoc generation.
In Z program, changing only one filed i.e. USRID_LONG (EMAIL Address).
After executing the Z program IDOC is generating and if we see in WE05 then it is in YELLOW color with status 30 and 01.
After that i am using we19 or BD87 and process the IDOC then it will come in green color. I am checking on INBOUND system, IDOC is receving successfuly with green color and with updated data.
But If we go to PA30 transaction code and check to the email address (infty 0105 and subtype 0010) that is not updating.
Why? If i am receving IDOC successfuly then why Data base table is not updating?
Thanks in advance,
Ranveer
Hello Anatony,
BADI HRALE00INBOUND_IDOC is trrigering in INBOUND side.
Now data is updating, but problem with data.
s_e1plogi-plvar = '01'.
s_e1plogi-otype = 'P'.
s_e1plogi-objid = '00000014'.
s_e1plogi-opera = 'U'.
APPEND s_e1plogi.
int_edidd-segnam = c_e1plogi.
int_edidd-hlevel = '02'.
int_edidd-sdata = s_e1plogi.
APPEND int_edidd.
s_e1pityp-plvar = '01'.
s_e1pityp-otype = 'P'.
s_e1pityp-objid = '00000014'.
s_e1pityp-infty = '0105'.
APPEND s_e1pityp.
int_edidd-segnam = c_e1pityp.
int_edidd-hlevel = '03'.
int_edidd-sdata = s_e1pityp.
APPEND int_edidd.
U for update. If sender system have data for 0010 subtype, and recevier side 10 subtype is blank. In that case infotype 0105 is creating, but if infotype is already available on INBOUND system and wants to update, in that case data is not updating and IDOC in red color with 51 status. Message is " Infotype 0105 cannot be updated on database table PA0105".
My logic is for update....
select * from pa0105 into table int_pa30
where pernr = '00000014'.
int_pa30-usrid_long = 'ABC1 ATTHERATE SAP.COM'.
modify int_pa30 transporting usrid_long
where usrid_long = 'XYZ ATTHERATE SAP.COM'.
*--To send the data to 510 Client thru IDOC.
loop at int_pa30.
int_pa0105-infty = '0105'.
move-corresponding int_pa30 to int_pa0105.
append int_pa0105.
endloop.
So, where is my fault kindly update me.
Thanks in Advance,
Regards,
Ranveer
Similar Messages
-
How to activate change pointers for HRMD_A message
Hi all,
I want to activate change pointers for HRMD_A message for intotypes 0001, 0002, 0006.... .
But I can't find any change object which I could use in BD52 transaction.
Is there any delivered change object by SAP for HRMD_A message?
Could you please tell me which change object should be used for example for infotype 0001?
Thanks a lot.
PetrThere seem to be a number of related questions asked and answered in the forums. Have you searched?
Rob -
Use of BADI for SNP capacity levelling
I am using APO V5.1.
I'm interested in using the Business Add in (BADI) for SNP capacity levelling.
Can anyone tell me which BADI this is, and the possible functionality it can provide?
Thanks for any information on this...To give you a couple of examples of what we use the BADi for:
1) Based on a product characteristic, the levelling will only level certain products. E.g. you could set a characteristic to mark products for internal use versus export use and then level the internal requirements first.
2) The levelling will only level planned production for highlighted orders in the data view.
Hope that helps for ideas
Regards
Ian -
How to add custom infotype in ALE for HRMD_A message type
Hi Friends-
Pls help me for our req we are using HRMD_A Message Type for HR master data but now we need to add one custom infotype ( 9902 ) also in standard ALE filters for this message type how i can do that pls let me know ?
<<removed_by_moderator>>
Regards
Meeta & Glory
Edited by: Vijay Babu Dudla on Dec 14, 2008 11:38 PMHi
Thanks for your support,
Pls let me know which steps i should go ? my secanrio is inbound side only,
step 1 ) Define idoc extension for HRMD_A01 using WE30 transaction and define it in partner profiles
step 2) do i need to write some code in BADI also to update information for my custom infotype also if yes then where and which BADI pls let me know ? because already am working on one badi HRALE00INBOUND_IDOC for few validation for incoming data.
step 3 ) add this new custom infotype in my standard ALE filters.
Pls let me know if am mistaking some where or if i have to do some thing else ?
Regards
Meeta & Glory -
Badi for every message in sxmb_moni
Hello,
I would like to do something for every message that's appears in the sxmb_moni monitor.
is there a badi that I can use for this ?
regardsHello Francis,
thanks for your reply but that wasn't what I was looking for
I would like have a badi/enhancement for which the system passes through for every message processed in xi
any other idea's ?
regards -
ALE - Status 52 Idocs for HRMD_A message type
HRMD_A Idocs in target system are not completely posted, turning into status '52'. Most of the times the infotype 1001 idoc with relations ship P->S arrives before the idoc which has the actual objects(P, S) causing 'Relationship imposible because the object does not exist". We use program RBDAPP01 for inbound processing of Idoc which should take care of Serialization based on the time stamp of idoc creation in source system.
Change pointors for Message type HRMD_A are processed using program RBDMIDOC in source system.
It is unlikely that relationship P->S is created without object P being created in the source system. So the change pointors should create the idocs in the same sequence. But it is not happening.
Any help on this appreciated.Hi Santosh,
If you haven't found by now the .... here is the Solution:
First change the size of table T77S0 check out note 305688
Then process the IDOCS again - check out note 363187
Regards
Luis -
Which function module i should use in mereq001 for warning message
hi all,
when creating purchase requistion(me51n) with item and plant and material etc.when we enter different plant for the second item which is not there in first item. we should get the warning message in the popup
for this i have used
fuction module EXIT_SAPLMEREQ_005
written the following code.
INCLUDE ZXM02U05 *
CHECK SY-TCODE = 'ME51N'.
TABLES MARC.
DATA : BEGIN OF I_MARC OCCURS 0,
WERKS LIKE MARC-WERKS,
BNFPO LIKE EBAN-BNFPO,
END OF I_MARC.
DATA : I_WERKS LIKE MEREQ_ITEM-WERKS.
read table I_MARC index 1.
if sy-subrc <> 0.
IF I_MARC-WERKS IS INITIAL.
I_MARC-BNFPO = IM_DATA_NEW-BNFPO.
I_MARC-WERKS = IM_DATA_NEW-WERKS.
append I_MARC.
endif.
MOVE IM_DATA_OLD-WERKS TO I_WERKS.
elseif IM_DATA_NEW-BNFPO > I_MARC-BNFPO
and I_WERKS <> IM_DATA_NEW-WERKS.
CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
EXPORTING
TITEL =
MSGID = 'ZMMMSG'
MSGTY = 'W'
MSGNO = 001.
MSGV1 =0
MSGV2 =
MSGV3 =
MSGV4 =
ENDIF.
but after entering the data for first item 00010 ,data is storing in the internal table. but when i entered the data for item 00020 it storing the data in internal table. but item 00010 data is not appearing in the internal table when we give item 00020 data . i have checked in the debugging.
please advise me what to do for the above requirement.
thanks in advance
rama.Hi Roy,
You should use BI SDK for Java to connect to BW from Web Dynpro (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20the%20bi%20java%20sdk%20in%20a%20web%20dynpro%20application.pdf)
http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm
https://media.sdn.sap.com/public/html/submitted_docs/BW/BI_SDK_JavaDocs/bi_sdk_doc/docs/documentation.html
/people/moya.watson/blog/2004/04/05/the-bi-java-sdk-whats-in-it-for-you
/people/moya.watson/blog/2004/12/27/three-new-how-to-guides-for-the-bi-java-sdk
Best regards, Maksim Rashchynski. -
Using Oracle Designer for XML Message Definition
Knowing what a great advantage it is to have all my data definitions in one place (Deigner Repository) I was wondering if anyone has had a go at using Designer for XML message definitions?
Hello:
Didnt know I will have my question almost ready:).
Was wondering is it possible to have xmltyple column as data source, use xsl for transformation and then display as html or pdf? Also, how about css? Not sure if any of these would work. If anyone can give a reference, that would be great. What is the best way. My xml stored in the database in quite complex and may vary depending on different types of input parameters. Do I need to get a master that will have all valid elements and attributes - or - have dtd or xsd? -
Issue with Alerts using BPM : Trigerred for Successful messages also
Hi Everybody,
I am working on configuring Alerts using BPM.
I have followed the below blog by Micheal.
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
In BPM after the receive step I have used container and control steps to capture the Idoc Number as mentioned in the blog.
I am facing an issue with it now as an Alert message is send to my Inbox even when the message is succesfully processed by the adapter.
This is a strange behaviour when we talk about Alerts.
Can somebody help me out in this?
Thanks & Regards,
ZabiullaHi Zabiulla,
Michal explained just the basic, the logic of your process is to build by yourself. Usually an alert will be raised inside of an exception branch. You can define exceptions for critical operations, f.e. send steps or transformations, the exception will be catched by jumping to the exception branch, where you can store a suitable reaction - f.e. an alert.
Regards,
Udo -
USing KM articles for advisory messages
We have several pages set up in ESS that include Knowledge Management articles, these are used provide guidance to the user, these are mainly displayed in the navigation pages for example on the Working Time page.
We have been asked to add an advisory message to another page, can anyone advise what we need to do to do this. Ideally I would like to duplicate the solution that has already been used in our environment for consistency sake but am unsure as to how to interpret the properties within the Pages and iViews that make up the current functionality. I think the current functionality is being delivered through Webdynpro.Within the portal view the properties for the iView where you wish to place the additional content look at the application parameters. Part of the parameter string is sap.xss.menuarea, take note of the value assigned to this parameter.
Within SPRO for the same client navigate to the following: Personnel Management -> Employee Service -> General Settings -> Homepage for Self-Services -> Resources. Execute Define Server for Resources.
Ensure that there is a server definition for KM.
Using the Portal within KM create the content that you wish to display on the page and save it to the KM folder that is specified or you have specified in the Define Server for Resources.
Within SPRO execute Define Resources. Create a resource key that points to the document that you created and saved to KM. Server should be KM, object name is not the name of the file that you saved to KM but should be the Access Link ID of the document in KM. To get he access link right click on the document and select details, select settings tab from the popup, select properties from the context menu, from the popup select the access links tab.
In SPRO navigate to the following: Personnel Management -> Employee Service -> General Settings -> Homepage for Self-Services -> Areas. Execute Define Areas. You will find an entry in this list that matches the parameter value from the iView. You need to modify this to include the new resource in the input box "Area Description Long Text (External)".
When you view the Portal the new content is displayed. -
Using existing XSD for Outbound Messages
Hello,
I am tasked with creating a new outbound message to send xmls to a SOA. I have been provided with the wsdl and xsd files that are being currently being used by the current system and I am hoping to use these exact same files in CC&B. Is there anyway to do this?Looks like I asked this question too soon. I found that I could just reference the existing xsd files in my xsl file.
-
How can we use one badi for mutiple times
HI,
I have one badi i want to do some changes to previous badi and that is already implemented in some project.
is it possible to change that badi?Hi,
The Main feature of the BADI is it can have multiple meanings. So go ahead with one more implementaion.
Thnks,
Raghu Posani. -
Regarding Error message in ME_PROCESS_PO_CUST badi for validation.
hi Friends,
I am Using ME_PROCESS_PO_CUST badi for validation in Purchase order (ME21N),
For that I implemented PROCESS_ITEM method which fires during each row now i add another validation in same implementation for plant should be same through out the all line item. Now following code is woking fine but when for second line item user changese plant then it shows error message as per logic which is fine but even after changing plant to correct one the error message is still coming why is it so?
following is my current validation code
method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
DATA:ls_poitem TYPE mepoitem,
ls_poitem_set TYPE mepoitem.
DATA:ls_poheader TYPE MEPOHEADER.
DATA:lm_poheader TYPE ref to IF_PURCHASE_ORDER_MM.
DATA:w_mara TYPE mara.
DATA:IT_ZMMTBL039 TYPE STANDARD TABLE OF ZMMTBL039 ,
WA_ZMMTBL039 TYPE ZMMTBL039 .
DATA:ls_poitem1 TYPE mepoitem.
DATA:V_KUNNR1 TYPE KNA1-KUNNR.
DATA:V_KUNNR2 TYPE KNA1-KUNNR.
DATA:W_WERKS(4),
w_werks_tmp(4),
w_flag(1).
ls_poitem = im_item->get_data( ).
lm_poheader = im_item->GET_HEADER( ).
ls_poheader = lm_poheader->GET_DATA( ).
IF ls_poitem-werks IS NOT INITIAL.
w_werks = ls_poitem-werks.
import w_flag to w_flag from MEMORY ID 'FLAG'.
if w_flag is initial.
w_flag = 'X'.
EXPORT w_werks_tmp FROM w_werks TO MEMORY ID 'MEMO1'.
export w_flag from w_flag to MEMORY ID 'FLAG'.
clear: w_flag.
endif.
ENDIF.
IMPORT w_werks_tmp TO w_werks FROM MEMORY ID 'MEMO1'.
break swaroopb.
IF ls_poitem-werks NE w_werks.
MESSAGE E010(zparts) with 'Different plants are not allowed in single PO.'.
ENDIF.
CLEAR: WA_ZMMTBL039,w_mara.
REFRESH:IT_ZMMTBL039[] .
SELECT *
INTO TABLE IT_ZMMTBL039
FROM ZMMTBL039
WHERE bsart EQ ls_poheader-bsart.
IF sy-subrc EQ 0.
CLEAR: WA_ZMMTBL039,w_mara.
SELECT SINGLE *
INTO w_mara
FROM mara
WHERE matnr EQ ls_poitem-MATNR.
IF SY-SUBRC EQ 0.
READ TABLE IT_ZMMTBL039 INTO WA_ZMMTBL039 WITH KEY bsart = ls_poheader-bsart
mtart = w_mara-mtart
spart = w_mara-spart.
IF SY-SUBRC NE 0.
MESSAGE E009(zparts) WITH ls_poitem-MATNR w_mara-spart ls_poheader-bsart .
ENDIF.
ENDIF.
ENDIF.
end methodHello Swarup
Since you want to compare all items together (having the same plant) I would suggest to implement this logic either in method CHECK or POST of the interface.
However, if you want to make your checks within the PROCESS_ITEM method then you should change your logic.
It does not make sense to work with the ABAP memory within a BAdI implementing class because the class itself is your "memory".
I would use the following logic to implement your validation:
lo_poheader = im_item->get_header( ). " retrieve header instance
lt_items = lo_poheader->get_items( ). " retrieve all items
ls_detail_x = im_item->get_detail( ). " details of currently processed item
LOOP AT lt_items INTO ls_item.
ls_detail = ls_item-item->get_detail( ).
IF ( ls_detail-werks NE ls_detail_x-werks ). " validation failed
" do something...
ENDIF.
ENDLOOP.
However, I would prefer to do this kind of validation in CHECK or POST method.
Regards,
Uwe -
Using alsb for asynchronous messaging
hello @ all,
I like to implement a kind of asynchronous messaging.
It is only possible with the Routing mechanism (see http://e-docs.bea.com/alsb/docs21/consolehelp/proxyactions.html).
But the Client can not perform other works while the server prepares it response.
The question is: How can I use asynchronous messaging, when a client send a request and can continue performing other work while the server prepares it response and the server can notify the client when the response is ready?
The white paper from BEA (http://dev2dev.bea.com/2006/04/AL_Service_Bus_wp.pdf) and other documentation from BEA promise this kind of messaging style.
I use only http for transform Messages. Accordingly I like to accomplish SOAP communications over http for asynchronous requirements.
Can anybody help me to accomplish any scenario with the Aqualogic Service Bus in an asynchronously way?
thanks a lot
FabioAsynchronous messaging using HTTP is possible.
Please follow the below link for documentation
http://e-docs.bea.com/wls/docs91/webserv/advanced.html -
HAP_DOCUMENT BSP redirect using the BADI HRHAP00_BSP_TMPL
Hi all,
Below is my issue:
Last year, We have modified the BSP HAP_DOCUMENT by copying it to Y_HAP_DOCUMENT. Now we had to make further changes to the BSP which had to be template specific.
So we used the BADI HRHAP00_BSP_TMPL to redirect the document to a new BSP Y_HAP_DOCUMENT_V1.
The iviews are pointing to the BSP Y_HAP_DOCUMENT, but when the BADI is hit its getting redirected to the V1 BSP.
But the issue is that whenever the redirect BSP is used, the error messages are getting killed.
Please let me know if anyone had a similar issue and if they were able to solve the issue.
Thanks,
Manasa
I am using theHi Luk!
Sorry that i got back to you this late. Have you solved the issue?
whenever we redirect using the badi for hap_document the control starts from layout_alternative.htm view instead of the layout_sap_standard.htm. So if you copy paste the code from the sap standard view you will be able to redirect it.
Hope this helps. Plesae reward hlpfull answers.
Thanks,
manasa
Maybe you are looking for
-
Can anyone help me write a script that would click "get info" and then "enter" on each movie in my itunes library? I am asking because my itunes 11 repeatedly loses the artwork to my movies in my itunes library. I can restore the artwork (and make my
-
How do I add my husbands computer as an authorized computer
I have a "family share" account, and I have 4 authorized computers, but for some reason, my husband's computer suddenly gives him the message that his is not authorized for my iTunes account. How can I see what computers are authorized? How can I add
-
Can't Publish Due to File Size
I'm using Captivate 4. I need to create a video demonstration using my iPad. I'm currently utilizing a screen sharing app to mirror my iPad screen on my laptop. Using this, I created a 6 minute demonstration with audio and text boxes. The file was br
-
Same Valuation class with diff valuation group with same valauation area
Dear Expert, We r having two material XYZ and ABC with same valuation class and in the same plant(valuation Area) For consumption VBR general modifier we want to assign two different gl codes to different material XYZ & ABC. Is it possible in OMWD ca
-
Adding swing javabean in websphere studio
I have my own JFormattedTextField derived bean component which i wanted to add as another component in the palette (where other Swing, AWT etc. components are there). so that developer can just drag and drop it. I know i can use "Choose Bean" dialog