How to update the Sent Idoc Status based on the Response From Webservice
Hi All,
I have to develop Idoc--SOAP Sync Process Scenario Using BPM .
I have configured every thing using BPM and mapped
MATMAS----SOAP Request
SOAP Resp----STATUS.SYSTAT01
In R/3 the Main Idoc Number(MATMAS) Status needs to be update , but it is creating the new Idoc with STATUS.SYSTAT01.
I have used STATUS.SYSTAT01 Idoc to Update the status of the Original idoc based on the Response that is coming from webservice .
I was posted the same thread a days ago and there Bhavesh suggested me some sugessions.
How can we make the status of the Idoc based on some response Text
iam unable to follow OR not able to clear my self on this.
Please suggest me or give some over view kind of thing on this
Regards
Hi Suman,
It is clearly mentioned in SAP help that "SAP Intermediate Documents (IDOCS) are EDI like documents that are asynchronous in nature."
So Your Scenario is Asynch(receive) - Synch(WS call) -Transformation (Multimapping)- Asynch(Send to R/3).
now go in this way:
you can develop all the message Interfaces of Abstract catagory (not manditory )
MI_AA_MATMAS -> Abstract Asynchronous message interface for your Matmas IDOC
MI_AS_SOAP_ReqandResp -> Abstarct Syncronous MI for SOAP request and response.
MI_AA_STATUS ->Abstract Asyncronous MI for Status Idoc
MI_AA_SOAP_Req -> Abstarct Asyncronous MI for SOAP request .
MI_AA_SOAP_Res -> Abstarct Asyncronous MI for SOAP response .
Thats all in Message interface.
your first reciever :
(This will receive the message asynchronously from R/3)
create a conatainer varaiable (say preceive) and assign it message interface MI_AA_MATMAS
Now in thw Propert TAB of this step: give this message name.
Step2: Synchronous call :
create container Variable psoaprequest and psoapresponse give abstract message interface MI_AA_SOAP_Req and MI_AA_SOAP_Req resp.
Now in thw Propert TAB of this step:
Synchronous Interface : MI_AS_SOAP_ReqandResp
Request Message : psoaprequest
Response Message: psoapresponse
Transformation Step :
Here you will specify Interface Mapping that will conatain Multimapping between Synch Response - MATMAs and STATUS
Let's name it as IM_ResandMatmasToStatus
create a container variable as pstatus and assign it abstract interface MI_AA_STATUS.
In Property pan of this step :
Interface mapping :IM_ResandMatmasToStatus
Source Message :psoapresponse
preceive
(IT will ask you for two source messages as IM selected in this transformation has 2 source messages)
Target Message :pstatus
Send step:
Select a message as pstatus.
thats all in IR.
If have doubt in ID just let me know.
Thanks
Sunil Singh
Similar Messages
-
Need to change the Idoc Status based on the Text in the Idoc
Hi All,
I have developed Idoc--SOAP Sync Process Scenario Using BPM and Works Perfectly.
I have used STATUS.SYSTAT01 Idoc to capture the Response that is comming from the Webservice.
I have mapped the response Text( Success or Fail) to one of the field in the Response Idoc, this is perfect.
Requirement:
1) If the Response Idoc Field receives Success Text means the Idoc Status shld be in Green Status.
2) If the Respnse Idoc Field Receives FAIL means the Idoc Status shld be in RED Status.
How can i Do this. please suggest me......
RegardsHi Santhosh,
YES, I have to Capture the Response from Webservice in SAP R/3 by using STATUS.SYSTAT01 Idoc.
I have mapped the response from webservice to the one of the field in the Idoc.
If this field contains Success as text means the Idoc Status in We05 shld be 53 else it shld be 56
With out changing the FM code, can we use any other process to achieve this???
@ Mario
Can u please Allobarate your views more based on my requirement
Regards -
Material Statuses based on the Purchase order Document type
Hi Experts,
We need to maintain the Plant material status based on the purchase order document type.
Example - If I am using NB for normal purchase orders and ZB for STO procurement then, there should be a material status which should give warning message - 'do not use ' for ZB STO purchase orders and it should allow to create NB purchase orders for that same materials.
Please advise what are the possibilities?
Thanks
Regards
MMHi Gurus,
Thank you for your reply, Please find my replies below
@@ - Mallinath - We need this restrictions for some type of materials ( with specific Material types) which should not be procured through inter company STO process, buying plant should use the normal purchase. for other Material types they should be able to use the inter company STO process.
@@ DEV - We are already using the Spl. Procurement keys for inter company STO process.
Example - Material type ZXYX should not use the inter company STO process, but it should be allowed all other processes.
Please advise how we can control this process?
Thanks
Regards
Raja -
How can i update rows in a table based on a match from a select query
Hello
How can i update rows in a table based on a match from a select query fron two other tables with a update using sqlplus ?
Thanks Glenn
table1
attribute1 varchar2 (10)
attribute2 varchar2 (10)
processed varchar2 (10)
table2
attribute1 varchar2 (10)
table3
attribute2 varchar2 (10)
An example:
set table1.processed = "Y"
where (table1.attribute1 = table2.attribute1)
and (table1.attribute2 = table3.attribute2)Hi,
Etbin wrote:
Hi, Frank
taking nulls into account, what if some attributes are null ;) then the query should look like
NOT TESTED !
update table1 t1
set processed = 'Y'
where exists(select null
from table2
where lnnvl(attribute1 != t1.attribute1)
and exists(select null
from table3
where lnnvl(attribute2 != t1.attribute2)
and processed != 'Y'Regards
EtbinYes, you could do that. OP specifically requested something else:
wgdoig wrote:
set table1.processed = "Y"
where (table1.attribute1 = table2.attribute1)
and (table1.attribute2 = table3.attribute2)This WHERE clause won't be TRUE if any of the 4 attribute columns are NULL. It's debatable about what should be done when those columns are NULL.
But there is no argument about what needs to be done when processed is NULL.
OP didn't specifically say that the UPDATEshould or shouldn't be done on rows where processed was already 'Y'. You (quite rightly) introduced a condition that would prevent redo from being generated and triggers from firing unnecessarily; I'm just saying that we have to be careful that the same condition doesn't keep the row from being UPDATEd when it is necessary. -
How to findout the clearning document number based on the reference
Hi all
we need to findout the clearning document number based on the reference number in financial transaction code.
basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
we want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
Please confirm.
Thanks
K.Gunasekaryou can get it from BSAD too. but again its not a primary key
-
How to get structure of IDOC into xi in the scenario is IDOC - XI - File
hi XI Guys,
When i want to Integrate SAP sys(IDOC) with File how to get structure of IDOC into XI, As we will define Data types in File -> XI -> File. Please send Step by Step process as i am new to Netweaver(XI)
ThankYou,
B.Pushparaju.When i want to Integrate SAP sys(IDOC) with File how to get structure of IDOC into XI
>>>>
import the IDoc under the imported object in your SCV. Note that import should be allowed for the SCV.
As we will define Data types in File -> XI -> File.
>>>>
Ref. these blogs to help you out ..
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 -
IDOC Number based on the output type
Hi,
I have a special requirement where in I need to find the IDOC number generated from the output type .
I have the NAST details and the Invoice number and need to find the IDOC generated for the particular NAST entry.
Is there any table or FM which gives this information in SAP.
Please let me know.
Regards
PraneethAll,
Solved myself.
Used FM WFMC_PROTOCOL_GET to get the IDOC number based on the NAST value.
Regards
Praneeth -
How can i set up my macbook pro that the sent emails show up in the sent folder?
How can i set up my macbook pro that the sent emails show up in the sent folder?
look at the Preferences and open the "Mailbox Behavior" maybe the sent mail is being stored on the server?
I going to have this post moved to the "Mail" forum -
How to update I phone 4( iOS 4) to the latest version .not only that but updating my old software to a new in a iPhone 4 will it make any problem to the device or loose it's data completely .
chrissaji1998 wrote:
How to update I phone 4( iOS 4) to the latest version ...
All the Information you need is in the Support Article you posted from.
iOS 4: Updating your device to iOS 5 or later -
How to find bpel instance in 11g based on the index values
We have 10g BPEL process where we define 4 index values for all the instances. Whenever support request comes, we ask index values and based on that we search the process instance.
We have migrated this 10g bpel process to 11g now. How to find bpel instance in 11g based on the index values ???I have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???
-
How to determine the length of variable based on the character contents
Hi Experts,
I need to determine the length of variable based on the character contents I am looking for.
Example;
lv = 'FENCE - Construction bond'
Where I need to know the exact field length of 'FENCE -'.
It's possible that variable will have different values in different lengths.
Thanks.
KathKathy Amion ,
hello Will you please elaborate ...!
The suggestion for your proble as i understood it is you will have to split the string at seperator '-' in two say variable name and conten. and then you will calculate the length of the VARIable name by using string function. -
IDoc status 53 in employee replication from SAP HR
Hi experts,
We are having some problems in CRM BP creation with role employee.
We are using CRM 5.0 and SAP ECC 6.0 and we are trying to replicate employees information to CRM from HR.
After read the notes 934372, 615896, 550055, 363187, 312090 we made the next configuration steps in our systems:
R/3:
- Creation of connection port (trans. WE21)
- Creation of logical system (trans. WE20) and assignment of outbound message HRMD_ABA
- Creation of distribution model (trans. BD64) with all filters indicated in note 312090
CRM
- Creation of logical system (trans. WE20) and assignment of inbound message HRMD_ABA
- Creation of conversion between basic types HRMD_A05 and HRMD_ABA01 (trans. WE70) as described in note 312090
- Creation of conversion between message types HRMD_A and HRMD_ABA (trans. WE73) as described in note 312090
- Creation of external number range ZE from HR01200001 to HR01299999 (using PA04 in R3 we found the number range between 01200001 and 01299999)
- Creation of BP Grouping with the same name of number range (ZE) checked to be external too
- Update of table T77S0 (using SM30):
HRALX HRAC X
HRALX PBPON OFF
HRALX PBPHR ON
HRALX PBPON ON
HRALX PNUMB 3
HRALX PPROL BUP003
HRALX PSUBG ZE
PLOGI PLOGI MV
We know we should have the same value in R3 and CRM for PLOGI/PLOGI, so we created in CRM MV because that is the plan version used in R3. To create it, we just manually add a new row in table T778P and then selected it in table T77S0. Is this the correct way to create a plan version?
After these steps, in R3 we execute program RHALEINI with parameters:
- Plan version = MV
- Object type = P
- Object ID = an active employee
- Reporting period = all
- Transfer mode = Insert
- Receiving system:
Receiving partner No = DCRCLNT300 (logical system created in WE20)
Message type = HRMD_ABA
And everything looks fine in R3.
In CRM, using trans. WE05, we can see that the iDoc is created, apparently without problems with status 53 - "Applicaton document posted" but the business partner is never created.
Did we miss some configuration steps?
Should we do something more after see the iDoc in CRM to create BP?
Thanks in advance.
Aldahi pratk bhai,
ya i have done the same setting what Ada has mentioned eariler,
and as of your suggestion to maintatin the mandatory infotype, i have even done tht,
after running RHALEINI in R3, the status is all green here.
when i run the tcode BD87 to check the Idoc status its showing fine (Error free).
now, through tcode se38 the report CRMHRALE_CENTRAL_PERSON shows all the employees as status green,,
but the partner number is not getting generated. ( i have used HRALX-PNUMB= 3 (Prefeexing the number range coming from R3)).
kindly advice me what should be done in order to generate a BP number for the replicated HR Employee.
best regards,
Madhup -
On my MacBook Pro in the "sent" mailbox emails are listed by my email address but on my iPad the "sent" emails are listed by the sent email address. Very hard to look at the address where the message was sent to?
After upgrading to IOS 7.0.3 the problems gone.
There is no mention of this being a bug or a fix so im thinking a software glitch was the issue.
When I look at a message in my inbox and it says "To: JB Manz" - I click my name and it shows my contact info including my 4 email addresses and the address the message was addressed to is highlighted blue, others all black.
Not sure how it got fixed but it's working like it used to. -
How to check Internal, Concurrent Manager status in Oracle Apps R12 from fr
Step by step how to check Internal, Concurrent Manager status in Oracle Apps R12 from front end and how to start them.
Richa wrote:
Step by step how to check Internal, Concurrent Manager status in Oracle Apps R12 from front end Concurrent Processing - Concurrent Manager Generic Platform Questions and Answers [ID 105133.1]
and how to start them1) Using adcmctl.sh (from the backend)
2) Using Activate button (from the front-end) -- http://docs.oracle.com/cd/E18727_01/doc.121/e12893/T174296T174302.htm#4334248
Thanks,
Hussein -
Fetch the operating unit name based on the country name
Hi all,
I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
Can any one know how to get this thing.
any help or idea is appreciable.
Thanks,
GiriGiri,
I don't think you will find such a link. One country can be used by multiple operating units.
Hope this helps,
Sandeep Gandhi
Maybe you are looking for
-
I am going to connect my IPod 4th generation to my other computer, it's not a MacBook just a regular computer. I guess when it sync it will erase everything does that include pictures?
-
Can't open a document saved as a text file
I recently saved a document as a text file because I wanted to send it to some Windows users. Now, a few days latter when I try to open the document it is in code/ASCII thereby unreadalbe. I had one of the people I sent it to send it back to me, whic
-
Videos now Musik, help me
Hi There When I last connected my Ipod Video (30GB) to my computer and opend the iTunes, it automatically started a "Optimization for the songs, so they play faster" or something like that. After that ALL my Videos on the iPod were treated like music
-
Help in Changing Initial Focus in Jpanel?
HI I have extended JPanel to create a class which has many components like JButtons etc. This class is reusable and has to be used at many places. When I include this class in a JFrame, the focus is always with the first component of my class. But I
-
Mac osx 10.6.5 showing up as 10.6.4??
even after using the update combo 10.6.5 and running the package the mac still states its on 10.6.4,i ran software update after that and it showed that 10.6.5 was available so i ran the update via that and after downloading it restarted my system but