Partner Email id
Dear CS Gurus,
I am trying to execute Follow up actions for a Service Notification,in sending a confirmation Note to "Employee Responsible".
The Employee communication details are maintained in Infotype 105 in HR Master(PA30).
But when I am calling Parner address data,it is not copying the email id from HR Master?
Is there any other setting which needs to be done?
Thanks in advance,
Rajat
Rajat,
On looking at the same, for Partner type PE, the address number isnt copied over from the HR master, into the Partner table.This is what is probably causing the issue. This however looks like the design for this partner type.This is probably because there isnt a default address for the personnel number and the default communication isnt also available in the HR master in PA30. If you however maintain the address for this partner, in the partner overview screen on the notification and assign the default communication type and value, it will get picked up on the follow up FM screen.
Hence if possible You could probably use a different partner type (Refering to user) for this functionality or You could probably request your developer to copy the follow up FM and make the neccessary changes to extract the communication details and pass it to the is screen.
Hope it helps.
Regards
Narasimhan
Similar Messages
-
Hi,
I get the popup/dialog when I double click on partner in sales document, there I fill name, email address and other details of the partner. I am able to capture partner name from FM SD_REPRESENTANT_GET_DATA by passing VBPA-PERNR but I'm unable to capture the email address. Is there any FM available to get it?
Thanks in advance.
Regards,
Balaji Viswanath.HI
Try to use the FM
1 SAMPLE_PROCESS_00001040
if this is not useful pls let me know
Regards
Rajesh -
Partner Function - Partner Email address- VA01/VA02
Hi Masters,
In VA01 and Va02 when I determine patner function, I want the email Id to be mandatory for certain conditions.
I get the popup when I double click on partner, I fill the email address but I'm unable to capture the email address.
Suggest me the USER Exit to find the email address of partner.
Thanks in Advance,
Suresh.Hi Suresh,
The email id stored in table ADR6. You can pass address number from table KNA1.
Check the below link the below link to find available user-exits.
http://sap.niraj.tripod.com/id21.html
You can get the email id from the above table. Program SAPMV45A contains many exits in sales-order exits..
Thanks,
ramakrishna -
Partner email address mandatory
Dear experts,
I would like to check that at least one email address was filled-in when saving a business partner... Any idea on how to do it? I tried to implement badi BUPA_FURTHER_CHECKS to throw an error if no email address is found, but I couldn't manage to read address data from this badi.
If there is anyone that knows how to read address data stored in the buffer BEFORE the business partner is saved (meaning before a number and a guid are available in BUPA_FURTHER_CHECKS), I would really appreciate some help.
Best regards,
Nicolas.
PS: this check should be available in dialog, but also in batch jobs... that's why I'm not implementing it on the UI.Hello Rishu,
Thank a lot for your answer: in fact I already implemented badi BUPA_ADDR_CHECK, but the problem is that when you add 2 email addresses to one business partner, this BADI is called twice
--> The first time for the first email
--> Second time for the second email
And if you don't enter any address at all this badi is not called. So I'm facing 2 problems:
1) If more than one email address are entered and the user decides to remove one of them, I don't know how to assure that there is one email address left (because in IT_ADSMTP I only see the address that is being removed).
2) Worse case: the user do not enter any address information... then my check is not even executed.
That's the reason why I tried to implement badi BUPA_FURTHER_CHECKS (it is called everytime). But I couldn't manage to read email addresses that are still in the buffer (i.e. not already stored in the database)... I tried using the following function modules but wihtout success:
BUA_ADDRESS_GET_ALL
BUA_BUPA_ADR6_GET
BUA_ADDRESS_READ
Kind regards,
Nicolas Busson. -
Dear friends,
I have a requirement to send delivery output through mail to business partner VE sales employee from employee master.
But the problem is employee email address is not automatically picking up from employee master like for customer master in output type.
Kindly suggest.
Regards,
Praveen LoboHi Praveen,
As my principles the last options are "Z" and ABAP soluctions... so I've made some tests here trying to execute you scenario.
So finally I found a SAP note that I alread have for long time but not remembered.
Please check:
Note 960088 - FAQ: Sending SD messages externally;
Other one is: Note 152474 - Testing fax and e-mail;
Specificaly it tells you:
Question: I want to send an SD message externally to a 'PE' partner (personnel number), for example, to ER Employee Responsible or to PE Sales Personnel. Where must I specify the e-mail address of the recipient?
Answer: Due to the design of the output determination, the e-mail
address cannot be determined from the HR (mini-) master record when you send a message externally to a partner of the 'PE' partner type (personnel number).
For example, for output medium '7' (simple mail), you can define the e-mail address of the employee as described in the answer to Question 2. For output medium '5', for example, you could create the employees as customers (a specific account group) and then send the message to these recipients as described in the answer to question 1 above.
The references it makes to "Question 1" and "Question 2" are in the note.
I think it solve completely your problem without ABAP "Z" things...
Best regards,
demas
Edited by: demas on Aug 21, 2008 6:09 PM -
Creating a target group based on the BP email address only in CRM
Hi there,
I am currently trying to create a target group based on the business partner email address only.
I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses. With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range. I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list. I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
Any help would be most appreciated.
Kind regard
JoJoHi JoJo ,
The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
REPORT zexcel.
* G L O B A L D A T A D E C L A R A T I O N
TYPE-POOLS : ole2.
TYPES : BEGIN OF typ_xl_line,
email TYPE ad_smtpadr,
END OF typ_xl_line.
TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
DATA : t_data TYPE typ_xl_tab,
lt_bu_guid TYPE TABLE OF bu_partner_guid,
ls_bu_guid TYPE bu_partner_guid,
lt_guids TYPE TABLE OF bapi1185_bp,
ls_guids TYPE bapi1185_bp,
lt_return TYPE bapiret2_t.
* S E L E C T I O N S C R E E N L A Y O U T
PARAMETERS : p_xfile TYPE localfile,
p_tgguid TYPE bapi1185_key .
* E V E N T - A T S E L E C T I O N S C R E E N
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
CALL FUNCTION 'WS_FILENAME_GET'
IMPORTING
filename = p_xfile
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
CLEAR p_xfile.
ENDIF.
* E V E N T - S T A R T O F S E L E C T I O N
START-OF-SELECTION.
* Get data from Excel File
PERFORM sub_import_from_excel USING p_xfile
CHANGING t_data.
SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
but000~partner =
but020~partner
INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
t_data-email.
CLEAR: lt_guids,ls_guids.
LOOP AT lt_bu_guid INTO ls_bu_guid.
ls_guids-bupartnerguid = ls_bu_guid.
APPEND ls_guids TO lt_guids.
ENDLOOP.
CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
EXPORTING
targetgroupguid = p_tgguid
TABLES
return = lt_return
businesspartner = lt_guids.
*& Form SUB_IMPORT_FROM_EXCEL
* text
* -->U_FILE text
* -->C_DATA text
FORM sub_import_from_excel USING u_file TYPE localfile
CHANGING c_data TYPE typ_xl_tab.
CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
DATA : l_dummy TYPE typ_xl_line,
cnt_cols TYPE i.
DATA : h_excel TYPE ole2_object,
h_wrkbk TYPE ole2_object,
h_cell TYPE ole2_object.
DATA : l_row TYPE sy-index,
l_col TYPE sy-index,
l_value TYPE string.
FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
* Count the number of columns in the internal table.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
IF sy-subrc EQ 0.
cnt_cols = sy-index.
ELSE.
EXIT.
ENDIF.
ENDDO.
* Create Excel Application.
CREATE OBJECT h_excel 'Excel.Application'.
CHECK sy-subrc EQ 0.
* Get the Workbook object.
CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
CHECK sy-subrc EQ 0.
* Open the Workbook specified in the filepath.
CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
CHECK sy-subrc EQ 0.
* For all the rows - Max upto 65536.
DO const_max_row TIMES.
CLEAR l_dummy.
l_row = l_row + 1.
* For all columns in the Internal table.
CLEAR l_col.
DO cnt_cols TIMES.
l_col = l_col + 1.
* Get the corresponding Cell Object.
CALL METHOD OF h_excel 'Cells' = h_cell
EXPORTING #1 = l_row
#2 = l_col.
CHECK sy-subrc EQ 0.
* Get the value of the Cell.
CLEAR l_value.
GET PROPERTY OF h_cell 'Value' = l_value.
CHECK sy-subrc EQ 0.
* Value Assigned ? pass to internal table.
CHECK NOT l_value IS INITIAL.
ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
<fs_dummy> = l_value.
ENDDO.
* Check if we have the Work Area populated.
IF NOT l_dummy IS INITIAL.
APPEND l_dummy TO c_data.
ELSE.
EXIT.
ENDIF.
ENDDO.
* Now Free all handles.
FREE OBJECT h_cell.
FREE OBJECT h_wrkbk.
FREE OBJECT h_excel.
ENDFORM. " SUB_IMPORT_FROM_EXCEL
Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
snap shot of excel file:
Let me know if it was useful. -
Dear Friends,
I would like to know if is possible to send a XL report to filtered by Business Partner to the specific Business partner email box.
GiuseppeHi Giuseppe,
When you choose "Send by Email" as Output option in the Job properties screen, System will prompt you to specify the email address top which this report needs to be sent.
The possible way to achieve this is to create multiple reports specific to each BP and then creating individual jobs for each BP with output pointing to the BP email address. You cannot let the system autoselect the email address to which it is going to send the report.
Hope this helps.
Regards,
Hamsa -
Why wont my android email set up for for BC email? Keep getting this message "Unable to connect to email server to verify your account information. No response from server."
Hi
Please refer to : http://helpx.adobe.com/business-catalyst/partner/email-configuration-guide-android-os.html to know how you may complely setup email on Adroid. Please see the article : http://forums.adobe.com/docs/DOC-1804 for further troubleshooting issues sending and receving emails. -
Hi,
How to configure to send an email if a support message is created.(suppose a ticket is created from satellite system in the solution manager).
Thanks in advance.Hey Kobby,
You need to change the Business partner Email-id....
Follow this:
1) Find out the support team in the Support message...This gives you the Business partner of the Support team.
2) Execute Tcode BP and enter the BP id you have found in the Number Field..
3) Now display the business partner and there can you can change the entry in the Email-id field...
Inspire by rewarding...
Regards,
Anand Rangarajan -
We have just moved house. In our last house, the BT account was in my partner's name and all was sweetness and light.
In our current house, the BT account is in my name. I set up a new e mail address for myself, and tried to set up my partner's address as a secondary email address. Understanably, the address was rejected as being "already in use".
I therefore set up her old address in Outlook, with the old password, and for almost 4 months, this has worked fine.
Recently, Outlook has taken to repeatedly asking for her user name and password, and rejecting them when entered. This goes on for up to 24 hurs, and then suddenly, miraculously, emails start to be received again.
I have checked the account during these "dead" periods, with numerous other e mail clients, and they all report that the user name or passowrd are incorrect.
In the last couple of days, this has started to happen to my BT e mail address as well.
Does this strike a chord with anybody else, and if so, is there a solution.
Changing e mail adress is not really an option due to the disruption of work and scial life it would cause.
Thanks,
MarinerMariner wrote:
We have just moved house. In our last house, the BT account was in my partner's name and all was sweetness and light.
In our current house, the BT account is in my name. I set up a new e mail address for myself, and tried to set up my partner's address as a secondary email address. Understanably, the address was rejected as being "already in use".
I therefore set up her old address in Outlook, with the old password, and for almost 4 months, this has worked fine.
Recently, Outlook has taken to repeatedly asking for her user name and password, and rejecting them when entered. This goes on for up to 24 hurs, and then suddenly, miraculously, emails start to be received again.
I have checked the account during these "dead" periods, with numerous other e mail clients, and they all report that the user name or passowrd are incorrect.
In the last couple of days, this has started to happen to my BT e mail address as well.
Does this strike a chord with anybody else, and if so, is there a solution.
Changing e mail adress is not really an option due to the disruption of work and scial life it would cause.
Thanks,
Mariner
Hi. Welcome to the forums.
Sometimes account access can fail with respect to a pop3 mail client such as Outlook (does it work fine with webmail access ?)
As you've noted, your partner email account did start to work again - the same things will probably happen to your account. These fleeting errors can last up to a few days.
You need to be wary that your partner's email account could stop altogether due to it not being used as a main primary. It could be added as a sub account to your new primary, and you've already been given the details how to contact the Mods who should be able to help with this.
http://www.andyweb.co.uk/shortcuts
http://www.andyweb.co.uk/pictures -
The following seems like a bug in the business components framework
to me:
To make things simple, I will use view objects aV, bV, cV,
corresponding rows aR, bR, cR and row iterators aI (not used though),
bI, cI.
I create two view links from aV to bV and from bV to cV at runtime,
with the accessor names "Bs" and "Cs".
ViewLink a2b = createViewLinkBetweenViewObjects(..., "Bs", ...);
ViewLink b2c = createViewLinkBetweenViewObjects(..., "Cs", ...);
First of all this code works perfectly fine:
ViewObject aV = a2b.getSource();
ViewObject bV = a2b.getDestination();
ViewObject cV = b2c.getDestination();
while(aV.hasNext())
Row aR = aV.next();
System.err.println("aR");
while(bV.hasNext())
Row bR=bI.next();
System.err.println(" bR");
while(cV.hasNext())
Row cR=cI.next();
System.err.println(" cR");
Using the accessor name "Bs" at the first level is ok, too:
ViewObject aV = a2b.getSource();
while(aV.hasNext())
Row aR = aV.next();
System.err.println("aR");
RowIterator bI=(RowIterator)aR.getAttribute("Bs");
while(bI.hasNext())
Row bR=bI.next();
System.err.println(" bR");
HOWEVER, USING THE ACCESSOR "Cs" AT THE SECOND LEVEL OF THE MULTITABLE
RELATIONSHIP IN THE FOLLOWING CODE, GIVES ME AN EXCEPTION
oracle.jbo.NoDefException: JBO-25002: Definition Cs of type Attribute
not found. THE SEEMS LEGAL USAGE OF THE ACCESSOR "Cs" TOO ME THOUGH,
THEREFORE MY SUSPICION OF A BUG.
ViewObject aV = a2b.getSource();
while(aV.hasNext())
Row aR = aV.next();
System.err.println("aR");
RowIterator bI=(RowIterator)aR.getAttribute("Bs");
while(bI.hasNext())
Row bR=bI.next();
System.err.println(" bR");
RowIterator cI=(RowIterator)bR.getAttribute("Cs");
while(cI.hasNext())
Row cR=cI.next();
System.err.println(" cR");
(By the way, could make your window for filling in the message a little bit wider,
making it easier to cope with the line breaks).
Feedback is appreciated.
Andreas Reuleaux
Klopotek & Partner
[email protected]
nullYour results are as expected per the imlementation. Basically you've established (two) ViewLinks between two sets of two instances of VOs.
Now you try and get an accessor to return a set of details. You need to establish a link between that detail set and it's details to use the accessor on the second detail to get the desired results. Basically you've to establish the chaining between appropriate instances of VOs and not just the outer VOs or VO members of your AM. -
Loadjava Problems !!
Hi All,
I'm experiencing some problems trying to load the SSOHash.class file to the schema that I created just like the same in the Install guide...
The error String follows :
E:\Projetos\Portal_SSO\lib\packages\oracle\security\sso>loadjava -user partner/[email protected]:1521:o817
-thin -verbose -resolve -force SSOHash.class
initialization complete
loading : oracle/security/sso/SSOHash
creating : oracle/security/sso/SSOHash
Error while creating class oracle/security/sso/SSOHash
ORA-00604: error occurred at recursive SQL level 1
ORA-01405: fetched column value is NULL
ORA-06512: at "LBACSYS.LBAC_EVENTS", line 29
ORA-06512: at line 2
resolver :
resolving: oracle/security/sso/SSOHash
Error while resolving class oracle/security/sso/SSOHash
ORA-04043: object oracle/security/sso/SSOHash does not exist
loadjava: 2 errors
Could Anyone help me ?? I have no idea of what could it be !!
P.S: Please, reply to my e-mail because I'm not part of this list !!!!
Thanks in Advance !!
IlanLooks like either your database is not java enabled or database is not configured properly.
You may check your database if it is Java enabled
sqlplus sys/change_on_install
select object_name from all_objects where object_name like 'JAVA%';
You must see various java objects name if your database is Java enabled.
(Result for 8.1.7.0.0 database query )
OBJECT_NAME
JAVA$CLASS$MD5$TABLE
JAVA$HTTP$DEPLOYMENT$DIGEST$
JAVA$HTTP$LOG$
JAVA$HTTP$REALM$GROUP$
JAVA$HTTP$REALM$ID$
JAVA$HTTP$REALM$MAPPING$
JAVA$HTTP$REALM$POLICY$
JAVA$HTTP$REALM$PRINCIPAL$
JAVA$HTTP$REALM$P_SEQ$
JAVA$POLICY$
JAVA$POLICY$SEQUENCE$
JAVA$POLICY$SHARED$00000002
JAVA$POLICY$SHARED$00000004
JAVA$POLICY$SHARED$00000005
JAVA$POLICY$SHARED$TABLE
JAVA$RMJVM$AUX
JAVA$RMJVM$AUX2
JAVA$RMJVM$AUXI
JAVA$RMJVM$AUXI2
JAVASNM
JAVASNM$
JAVA_AUTONOMOUS_TRANSACTION
JAVA_AUTONOMOUS_TRANSACTION
JAVA_XA
JAVA_XA
JAVASNM
JAVA_AUTONOMOUS_TRANSACTION
JAVA_XA
JAVA$HTTP$DEPLOYMENT$DIGEST$
JAVA$HTTP$LOG$
JAVA$HTTP$REALM$GROUP$
JAVA$HTTP$REALM$ID$
JAVA$HTTP$REALM$MAPPING$
JAVA$HTTP$REALM$POLICY$
JAVA$HTTP$REALM$PRINCIPAL$
JAVA$HTTP$REALM$P_SEQ$
JAVA$CLASS$MD5$TABLE
JAVA$CLASS$MD5$TABLE
38 rows selected.
null -
SAML2 Service Provider not writing artifact key to cache
I have been following http://biemond.blogspot.com/2009/09/sso-with-weblogic-1031-and-saml2.html to attempt to get Single Sign On working.
I created 2 new WebLogic 10.3.3 domains using an RDBMS Security Store (They are both pointing to the same RDBMS Security Store). I went through the guide, and after some time and troubleshooting was able to complete all the steps. I then created a very very basic JSF2 application that basically has a secured blank page. I set up this URL in the Service Provider configuration so that when I attempt to browse to the url http://localhost:7002/saml-test/ (7002 is the port I assigned the second server, it is not ssl) it does successfully attempt to redirect to the Identity Provider for authentication. However; when it redirects I get a 403 Forbidden Error.
Based on the logs it appears that the Service Provider is writing the artifact key to "the cache" (logs aren't specific, but I'm assuming DemoIdentity.jks?). But when the Identity Provider attempts to retrieve the key from the cache it finds nothing and returns null, causing an exception. I also attempted to view the DemoIdentity.jks contents by using:
keytool -list -keystore DemoIdentity.jks -storepass DemoIdentityKeyStorePassPhrase
And the key specified in the logs is not there. I also looked at all the data in the RDBMS database and could not find the key there. I'm assuming I am just missing some basic understanding of what is going on here, but I've been pulling my hair out with this thing for a week, and have had no luck figuring it out.
Below are the logs: (Note: I removed some of the leading debug info like time and date to save space)
Service Provider Logs:
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667020> <BEA-000000> <SAML2Filter: Processing request on URI '/saml-test/index.xhtml'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667020> <BEA-000000> <getServiceTypeFromURI(): request URI is '/saml-test/index.xhtml'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667020> <BEA-000000> <getServiceTypeFromURI(): request URI is not a service URI>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667020> <BEA-000000> <getServiceTypeFromURI(): returning service type 'SPinitiator'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667020> <BEA-000000> <SP initiating authn request: processing>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667036> <BEA-000000> <SP initiating authn request: partner id is null>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667036> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667036> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667036> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore Checking if the Keystore file was modified>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667052> <BEA-000000> <put: item with key _0x55e0aecb9df9ad1a2061c408ed8fb7a6 is saved in cache.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667052> <BEA-000000> <SP initiating authn request: use partner binding HTTP/Artifact>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <put: item with key AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI= is saved in cache.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <store saml object org.opensaml.saml2.core.impl.AuthnRequestImpl@1d0397d, BASE64 encoded artifact is AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI=>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <post artifact: false>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <local ARS binding location: http://localhost:7001/saml2/idp/sso/artifact>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <post form template url: null>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <URL encoded artifact: AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI%3D>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <URL encoded relay state: null>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667067> <BEA-000000> <artifact is sent in http url:http://localhost:7001/saml2/idp/sso/artifact?SAMLart=AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI%3D>
Identity Provider Logs:
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <SAML2Servlet: Processing request on URI '/saml2/idp/sso/artifact'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <getServiceTypeFromURI(): request URI is '/saml2/idp/sso/artifact'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <getServiceTypeFromURI(): service URI is '/idp/sso/artifact'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <getServiceTypeFromURI(): returning service type 'SSO'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <Request URI: /saml2/idp/sso/artifact>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <Method: GET>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <Query string: SAMLart=AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI%3D>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> < Accept: */*>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> < Accept-Language: en-us>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> < User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727)>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> < Accept-Encoding: gzip, deflate>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> < Host: localhost:7001>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> < Connection: Keep-Alive>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore Checking if the Keystore file was modified>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <ssl client key:Sun RSA private CRT key, 512 bits
modulus: 7817332509587397552890028336578207339286770598290114724527725719770879356379795125511472689827439136630867724827096844273172334826513804343303721031800247
public exponent: 65537
private exponent: 2389560434022984500008330220587930903580143665342415250567830833638555718851227441135738538593823573280638974177840057994863001694333515217638747428107137
prime p: 89878601557891020780681845905770729690536603261106674473148151816104280723703
prime q: 86976570330283066459007767878319559738265898367448286741620259855280595939649
prime exponent p: 49531492934775012550710075660752268859317797579709015700240960055270126903855
prime exponent q: 86241336493473679108071803409323587446354469591404733468585827031687427955905
crt coefficient: 20900431671220180283467175612491957186643034513437468583594091501365673934630, ssl client cert chain:[Ljava.security.cert.Certificate;@17de8c5>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <get BASE64 encoded artifact from http request, value is:AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI=>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667083> <BEA-000000> <ArtifactResolver: sha-1 hash value of remote partner id is '0x0a6b8a4b62a8fc4312f59b578c8e615540467de7'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <ArtifactResolver: found remote partner 'WebSSO-SP-Partner-0' with entity ID 'saml2AP'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <ArtifactResolver: returning partner: [email protected]ba20>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <partner entityid issaml2AP, end point index is:0>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <find end point:[email protected]6886, binding location is:http://localhost:7001/saml2/sp/ars/soap>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <got samlp:ArtifactResolve signing key:Sun RSA private CRT key, 512 bits
modulus: 7817332509587397552890028336578207339286770598290114724527725719770879356379795125511472689827439136630867724827096844273172334826513804343303721031800247
public exponent: 65537
private exponent: 2389560434022984500008330220587930903580143665342415250567830833638555718851227441135738538593823573280638974177840057994863001694333515217638747428107137
prime p: 89878601557891020780681845905770729690536603261106674473148151816104280723703
prime q: 86976570330283066459007767878319559738265898367448286741620259855280595939649
prime exponent p: 49531492934775012550710075660752268859317797579709015700240960055270126903855
prime exponent q: 86241336493473679108071803409323587446354469591404733468585827031687427955905
crt coefficient: 20900431671220180283467175612491957186643034513437468583594091501365673934630>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667099> <BEA-000000> <weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667114> <BEA-000000> <<?xml version="1.0" encoding="UTF-8"?><samlp:ArtifactResolve xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_0x419833daa9699be237eb505d62fe5ab2" IssueInstant="2012-09-17T13:47:47.099Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">saml2CMP</saml:Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_0x419833daa9699be237eb505d62fe5ab2">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml samlp"/></ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>QBOav/grXIftH9szz7jigjkJSXe5oeTUe+mecOWQs44=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
C9bKLG5yYjU0UvLj0nlN8KJJfRoQiGzse8ZeSVOR2nHicx3M3YQjGgzNJdDIiC69FoUitEOBNAHg
oYfLcc/5Uw==
</ds:SignatureValue>
</ds:Signature><samlp:Artifact>AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI=</samlp:Artifact></samlp:ArtifactResolve>>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667114> <BEA-000000> <open connection to send samlp:ArtifactResolve. partner id:saml2AP, endpoint url:http://localhost:7001/saml2/sp/ars/soap>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667114> <BEA-000000> <isClientPasswordSet:false>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667114> <BEA-000000> <connect to remote ARS.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667114> <BEA-000000> <SoapSynchronousBindingClient.sendAndReceive: begin to send SAMLObject to server.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667114> <BEA-000000> <SoapSynchronousBindingClient.sendAndReceive: sending completed, now waiting for server response.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667317> <BEA-000000> <SAML2Servlet: Processing request on URI '/saml2/sp/ars/soap'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667317> <BEA-000000> <getServiceTypeFromURI(): request URI is '/saml2/sp/ars/soap'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667317> <BEA-000000> <getServiceTypeFromURI(): service URI is '/sp/ars/soap'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667317> <BEA-000000> <getServiceTypeFromURI(): returning service type 'ARS'>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667317> <BEA-000000> <ArtifactResolutionService.process: get SoapHttpBindingReceiver as receiver and SoapHttpBindingSender as sender.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667333> <BEA-000000> <remove: key AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI= does not exist in cache.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667333> <BEA-000000> <retrieve: no message was found in cache with the messageHandle, return null.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667333> <BEA-000000> <SoapHttpBindingSender.sendResponse: Set HTTP headers to prevent HTTP proxies cache SAML protocol messages.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667333> <BEA-000000> <SoapHttpBindingSender.send: the SOAP envelope to be sent is :
>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667333> <BEA-000000> <<?xml version="1.0" encoding="UTF-8"?><soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"><soap11:Body><samlp:ArtifactResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_0xd927ce91bb367412a50520dc7695df1e" InResponseTo="_0x419833daa9699be237eb505d62fe5ab2" IssueInstant="2012-09-17T13:47:47.333Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">saml2CMP</saml:Issuer><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/><samlp:StatusMessage>[Security:096502]There is no saml message in returned samlp:ArtifactResponse.</samlp:StatusMessage></samlp:Status></samlp:ArtifactResponse></soap11:Body></soap11:Envelope>>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <SoapSynchronousBindingClient.sendAndReceive: response code from server is: 200>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <SoapSynchronousBindingClient.sendAndReceive: get a HTTP_OK response, now receive a SOAP envelope message.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <SoapSynchronousBindingClient.sendAndReceive: found XMLObject in envelope, return it.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <http url connection disconnect.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <<?xml version="1.0" encoding="UTF-8"?><samlp:ArtifactResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_0xd927ce91bb367412a50520dc7695df1e" InResponseTo="_0x419833daa9699be237eb505d62fe5ab2" IssueInstant="2012-09-17T13:47:47.333Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">saml2CMP</saml:Issuer><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/><samlp:StatusMessage>[Security:096502]There is no saml message in returned samlp:ArtifactResponse.</samlp:StatusMessage></samlp:Status></samlp:ArtifactResponse>>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <get samlp:ArtifactResponse and verify it.>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <saml version:2.0>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <inResponseTo:_0x419833daa9699be237eb505d62fe5ab2>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <status code: urn:oasis:names:tc:SAML:2.0:status:Success>
#<SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889667349> <BEA-000000> <status message: [Security:096502]There is no saml message in returned samlp:ArtifactResponse.>
####<Sep 17, 2012 9:47:49 AM EDT> <Debug> <SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889669802> <BEA-000000> <[Security:096577]Failed to receive AuthnRequest document from the requester.>
####<Sep 17, 2012 9:47:49 AM EDT> <Debug> <SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889669802> <BEA-000000> <Caused by: [Security:096502]There is no saml message in returned samlp:ArtifactResponse.>
####<Sep 17, 2012 9:47:49 AM EDT> <Debug> <SecuritySAML2Service> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347889669802> <BEA-000000> <exception info
com.bea.security.saml2.service.SAML2Exception: [Security:096577]Failed to receive AuthnRequest document from the requester.
at com.bea.security.saml2.service.sso.SSOServiceProcessor.receive(SSOServiceProcessor.java:301)
at com.bea.security.saml2.service.sso.SSOServiceProcessor.processAuthnRequest(SSOServiceProcessor.java:118)
at com.bea.security.saml2.service.sso.SSOServiceProcessor.process(SSOServiceProcessor.java:100)
at com.bea.security.saml2.service.sso.SingleSignOnServiceImpl.process(SingleSignOnServiceImpl.java:50)
at com.bea.security.saml2.cssservice.SAML2ServiceImpl.process(SAML2ServiceImpl.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.utils.ThreadClassLoaderContextInvocationHandler.invoke(ThreadClassLoaderContextInvocationHandler.java:27)
at $Proxy26.process(Unknown Source)
at com.bea.security.saml2.servlet.SAML2Servlet.service(SAML2Servlet.java:34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3686)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: com.bea.security.saml2.binding.BindingHandlerException: [Security:096502]There is no saml message in returned samlp:ArtifactResponse.
at com.bea.security.saml2.artifact.impl.AbstractArtifactResolver.getSamlMsg(AbstractArtifactResolver.java:459)
at com.bea.security.saml2.artifact.impl.AbstractArtifactResolver.resolve(AbstractArtifactResolver.java:304)
at com.bea.security.saml2.binding.impl.ArtifactBindingReceiver.resolve(ArtifactBindingReceiver.java:77)
at com.bea.security.saml2.binding.impl.ArtifactBindingReceiver.receiveRequest(ArtifactBindingReceiver.java:40)
at com.bea.security.saml2.service.sso.SSOServiceProcessor.receive(SSOServiceProcessor.java:295)
at com.bea.security.saml2.service.sso.SSOServiceProcessor.processAuthnRequest(SSOServiceProcessor.java:118)
at com.bea.security.saml2.service.sso.SSOServiceProcessor.process(SSOServiceProcessor.java:100)
at com.bea.security.saml2.service.sso.SingleSignOnServiceImpl.process(SingleSignOnServiceImpl.java:50)
at com.bea.security.saml2.cssservice.SAML2ServiceImpl.process(SAML2ServiceImpl.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.utils.ThreadClassLoaderContextInvocationHandler.invoke(ThreadClassLoaderContextInvocationHandler.java:27)
at $Proxy26.process(Unknown Source)
at com.bea.security.saml2.servlet.SAML2Servlet.service(SAML2Servlet.java:34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3686)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>Hi user13435437,
The key=AAQAAApriktiqPxDEvWbV4yOYVVARn3nNdPnLeD3F4z6gSCUJyQg8b2cZZI= is the SAMLArtifact id, it has nothing to do with any of the public/private keys of the managed servers.
My scenario is a little bit different: Weblogic working as SP and ADFS2 as IdP. What I would recommend you s to use the HTTP-POST & HTTP-REDIRECT binding instead of the Artifact one.
But if you want to remain with this binding maybe you should check the "Authentication Request Cache Timeout" attribute.
Hope it helps,
Luis -
Need help to check my code !
I am not ble to fetch all the data .
Where is the problem !
please help me to modify the select statement
REPORT YINTERACTIVEPROGRAM01.
*CREATED BY:JYOTIRMOY DEB *
*DATE OF CREATION : *
*TABLE DECLARATION
TABLES:VBAK, "Sales Document: Header Data
VBKD, "Sales Document: Business Data
VBPA, "Sales Document: Partner
VBAP, "Sales Document: Item Data
ADRC, "Addresses (central address admin.)
T178T, "Conditions: Groups for Materials:text
T188T, "Pricing groups for customers
TVM1,
TVM1T, "Material pricing group 1: Description
TVM2,
TVM2T, "Material Pricing Group 2: Description
TVM3,
TVM3T, "Material Pricing Group 3: Description
TVM4,
TVM4T, "Material Pricing Group 4: Description
TVM5,
TVM5T, "Material Pricing Group 5: Description
SZA1_D0100,
TVLV , "Check table for release orders: Usage ID
TVLVT,
TVKGG, "Customer Condition Groups (Customer Master)
TVKGGT,
TPAR, "Business Partner: Functions
TPART,
TVAUT. "Sales Documents: Order Reasons: Texts
*SELECT OPTIONS
Select-options S_VBELN for vbak-vbeln.
*CREATING INTERNAL TABLES
TYPES:BEGIN OF TY_TAB,
VBELN LIKE VBAK-VBELN,
VKORG LIKE VBAK-VKORG,
ERDAT LIKE VBAK-ERDAT,
AUGRU LIKE VBAK-AUGRU,
BEZEI LIKE TVAUT-BEZEI,
BSTDK LIKE VBKD-BSTDK,
BSTDK_E LIKE VBKD-BSTDK_E,
BSTKD LIKE VBKD-BSTKD,
KDKG2 LIKE VBKD-KDKG2,
KONDA LIKE VBKD-KONDA,
MATNR LIKE VBAP-MATNR,
SPART LIKE VBAP-SPART,
KONDM LIKE VBAP-KONDM,
WAERK LIKE VBAP-WAERK,
NETWR LIKE VBAP-NETWR,
KWMENG LIKE VBAP-KWMENG,
VKAUS LIKE VBAP-VKAUS,
MVGR1 LIKE VBAP-MVGR1,
MVGR2 LIKE VBAP-MVGR2,
MVGR3 LIKE VBAP-MVGR3,
MVGR4 LIKE VBAP-MVGR4,
MVGR5 LIKE VBAP-MVGR5,
KUNNR LIKE VBPA-KUNNR,
POSTCODE1 LIKE ADRC-POST_CODE1,
POBOX LIKE ADRC-PO_BOX,
NAME1 LIKE ADRC-NAME1,
NAME2 LIKE ADRC-NAME2,
CITY1 LIKE ADRC-CITY1,
CITY2 LIKE ADRC-CITY2,
COUNTRY LIKE ADRC-COUNTRY,
STREET LIKE ADRC-STREET,
STRSUPPL1 LIKE ADRC-STR_SUPPL1,
STRSUPPL2 LIKE ADRC-STR_SUPPL2,
STRSUPPL3 LIKE ADRC-STR_SUPPL3,
NRART LIKE TPAR-NRART,
VTEXT1 LIKE TPART-VTEXT,
PARVW LIKE TPART-PARVW,
BEZE_I LIKE TVLVT-BEZEI,
VTEXT LIKE V_T178-VTEXT,
V_TEXT like V_T188-VTEXT,
BEZEI1 LIKE TVM1T-BEZEI,
BEZEI2 LIKE TVM2T-BEZEI,
BEZEI3 LIKE TVM3T-BEZEI,
BEZEI4 LIKE TVM4T-BEZEI,
BEZEI5 LIKE TVM5T-BEZEI,
VTEXT2 LIKE TVKGGT-VTEXT,
SMTP_ADDR LIKE ADR6-SMTP_ADDR,
END OF TY_TAB.
DATA: ITAB TYPE STANDARD TABLE OF TY_TAB WITH HEADER LINE.
*WRITING THE QUERY
SELECT A1~VBELN
A1~VKORG
A1~ERDAT
A1~AUGRU
A2~BSTDK
A2~BSTDK_E
A2~BSTDK
A2~KONDA
A2~KDKG2
A3~MATNR
A3~SPART
A3~KONDM
A3~WAERK
A3~NETWR
A3~KWMENG
A3~VKAUS
A3~MVGR1
A3~MVGR2
A3~MVGR3
A3~MVGR4
A3~MVGR5
A4~POST_CODE1
A4~PO_BOX
A4~NAME1
A4~NAME2
A4~CITY1
A4~CITY2
A4~COUNTRY
A4~STREET
A4~STR_SUPPL1
A4~STR_SUPPL2
A4~STR_SUPPL3
A5~BEZEI
A6~KUNNR
A7~NRART
A8~VTEXT
A9~PARVW
A10~BEZEI
A11~VTEXT
A12~VTEXT
A13~BEZEI
A14~BEZEI
A15~BEZEI
A16~BEZEI
A17~BEZEI
A18~VTEXT
A20~SMTP_ADDR
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM VBAK AS A1
JOIN VBKD AS A2
ON A1VBELN = A2VBELN
JOIN VBAP AS A3
ON A1VBELN = A3VBELN
LEFT OUTER JOIN VBPA AS A6
ON A2VBELN = A6VBELN
AND A2POSNR = A6POSNR
*JOIN ADR6 AS A20
*ON A6ADRNR = A20ADDRNUMBER
JOIN ADRC AS A4
ON A6ADRNR = A4ADDRNUMBER
LEFT OUTER JOIN TVM1T AS A13
ON A3MVGR1 = A13MVGR1
LEFT OUTER JOIN TVM2T AS A14
ON A3MVGR2 = A14MVGR2
LEFT OUTER JOIN TVM3T AS A15
ON A3MVGR3 = A15MVGR3
LEFT OUTER JOIN TVM4T AS A16
ON A3MVGR4 = A16MVGR4
LEFT OUTER JOIN TVM5T AS A17
ON A3MVGR5 = A17MVGR5
JOIN TPAR AS A7
ON A7PARVW = A6PARVW
JOIN TPART AS A8
ON A8PARVW = A6PARVW
LEFT OUTER JOIN T178T AS A11
ON A3KONDM = A11KONDM
AND A11~SPRAS = SY-LANGU
LEFT OUTER JOIN T188T as A12
ON A2KONDA = A12KONDA
AND A12~SPRAS = SY-LANGU
JOIN TPART AS A9
ON A6PARVW = A9PARVW
LEFT OUTER JOIN TVLVT AS A10
ON A1ABRVW = A10ABRVW
AND A10~SPRAS = SY-LANGU
LEFT OUTER JOIN TVAUT AS A5
ON A1AUGRU = A5AUGRU
AND A5~SPRAS = SY-LANGU
LEFT OUTER JOIN TVKGGT AS A18
ON A8SPRAS = A18SPRAS
UP TO 100 ROWS
WHERE A1~VBELN IN S_VBELN.
*PRINTING THE OUTPUT
loop AT ITAB.
WRITE :
/(30) 'Order No :', itab-VBELN,
/(30) 'Sales Org :', itab-VKORG,
/(30) 'Order Date :', itab-ERDAT,
/(30) 'Purchase Order # :', itab-BSTKD,
/(30) 'Purchase Order Date :', itab-BSTDK,
/(30) 'Order Reason code :', itab-AUGRU,
/(30) 'Order Reason description :', itab-BEZEI,
/(30) 'Partner Type :', itab-NRART,
/(30) 'Partner Type description :', itab-VTEXT,
/(30) 'Partner no :', itab-KUNNR,
/(30) 'Partner Name1 :', itab-NAME1,
/(30) 'Partner Name2 :', itab-NAME2,
/(30) 'Partner Address 1 :', itab-STREET,
/(30) 'Partner Address 2 :', itab-STRSUPPL1,
/(30) 'Partner Address 3 :', itab-STRSUPPL2,
/(30) 'Partner Address 4 :', itab-STRSUPPL3,
/(30) 'City :', itab-CITY1,
/(30) 'DISTRICT :', itab-CITY2,
/(30) 'Country :', itab-COUNTRY,
/(30) 'Post Code :', itab-POSTCODE1,
/(30) 'PO BOX :', itab-POBOX,
/(30) 'Partner email :', itab-SMTP_ADDR,
/(30) 'Material no :', itab-MATNR,
/(30) 'Material Division :', itab-SPART,
/(30) 'Product Line and Edition code:', itab-MVGR1,
/(30) 'Product Line and Edition Desc:', itab-BEZEI1,
/(30) 'Product Name code :', itab-MVGR2,
/(30) 'ProductName Desc :', itab-BEZEI2,
/(30) 'Product Version Code :', itab-MVGR3,
/(30) 'Product Version Desc :', itab-BEZEI3,
/(30) 'Product Platform Code :', itab-MVGR4,
/(30) 'Product Platform Desc :', itab-BEZEI4,
/(30) 'Product App Server Code :', itab-MVGR5,
/(30) 'Product App Server Desc :', itab-BEZEI5,
/(30) 'Compiler Code :', itab-KONDM,
/(30) 'Compiler Desc :', itab-VTEXT,
/(30) 'LanguageCode :', itab-KONDA,
/(30) 'LanguageDesc :', itab-V_TEXT,
/(30) 'Runtime Band Code :', itab-VKAUS,
/(30) 'Runtime Band description :', itab-BEZE_I,
/(30) 'Support Start Date :', itab-BSTDK,
/(30) 'Support End Date :', itab-BSTDK_E,
/(30) 'Support Level Code :', itab-KDKG2,
/(30) 'Support Level Desc :', itab-VTEXT2,
/(30) 'Order Quantity :', itab-KWMENG,
/(30) 'Net Price :', itab-NETWR,
/(30) 'Currency :', itab-WAERK.
uline.
ENDLOOP.
if sy-subrc <> 0.
write : / 'No data found'.
endif.Hi Jyotirmoy Deb,
Last time might be,you are the one that asking about using join statement on 3 tables.
Now what are you doing in your code. use are joining almost 18 tables.this will not work anyone, and it will slow down the processing time of the report.
First of all analysis the report what exactly you want and then
first read the header data as in your case you using the Sale Document Header data.
On the basis of Header data fetch the line item data.
Don't processes all the tables at a time using the join clause.Because it decrease the efficiency of the program.
Reward points,if useful.
Regards,
Manoj Kumar -
I have one report where i am printing out the partner types for one sales order. But my requirement is I have to get at least three partner types..in each line i.e SH,SP,BP.....
If Any body has SAP system with it then I can send my code
for better understandibility...to check....but its really important for me as i am under pressureIn the output....under the partner type field...i am actually getting one value for the partner type.....but it should be at least three values n each line.... i.e SP,SH,BP
REPORT ZTESTBAPIJOY line-size 1000.
*TABLE DECLARATION
TABLES:vbak, "Sales Document: Header Data
vbkd, "Sales Document: Business Data
vbpa, "Sales Document: Partner
vbap, "Sales Document: Item Data
adrc, "Addresses (central address admin.)
t178t, "Conditions: Groups for Materials
t188t, "Pricing groups for customers
tvm1,
tvm1t, "Material pricing group 1:Description
tvm2,
tvm2t, "Material Pricing Group 2:Description
tvm3,
tvm3t, "Material Pricing Group 3:Description
tvm4,
tvm4t, "Material Pricing Group 4:Description
tvm5,
tvm5t, "Material Pricing Group 5:Description
sza1_d0100,
tvlv , "Check table for release orders:Usage ID
tvlvt,
tvkgg, "Customer Condition Groups(Customer Master)
tvkggt,
tpar, "Business Partner: Functions
tpart,
tvaut. "Sales Documents: Order Reasons:Texts
*SELECT OPTIONS
SELECT-OPTIONS s_vbeln FOR vbak-vbeln.
*CREATING INTERNAL TABLES
TYPES:BEGIN OF ty_tab,
vbeln LIKE vbak-vbeln,
vkorg LIKE vbak-vkorg,
erdat LIKE vbak-erdat,
augru LIKE vbak-augru,
bezei LIKE tvaut-bezei,
bstdk LIKE vbkd-bstdk,
bstdk_e LIKE vbkd-bstdk_e,
bstkd LIKE vbkd-bstkd,
kdkg1 LIKE vbkd-kdkg1,
konda LIKE vbkd-konda,
matnr LIKE vbap-matnr,
spart LIKE vbap-spart,
kondm LIKE vbap-kondm,
waerk LIKE vbap-waerk,
netwr LIKE vbap-netwr,
kwmeng LIKE vbap-kwmeng,
vkaus LIKE vbap-vkaus,
mvgr1 LIKE vbap-mvgr1,
mvgr2 LIKE vbap-mvgr2,
mvgr3 LIKE vbap-mvgr3,
mvgr4 LIKE vbap-mvgr4,
mvgr5 LIKE vbap-mvgr5,
kunnr LIKE vbpa-kunnr,
parvw like vbpa-parvw,
post_code1 LIKE adrc-post_code1,
po_box LIKE adrc-po_box,
name1 LIKE adrc-name1,
name2 LIKE adrc-name2,
city1 LIKE adrc-city1,
city2 LIKE adrc-city2,
country LIKE adrc-country,
street LIKE adrc-street,
str_suppl1 LIKE adrc-str_suppl1,
str_suppl2 LIKE adrc-str_suppl2,
str_suppl3 LIKE adrc-str_suppl3,
smtp_addr LIKE adr6-smtp_addr,
beze_i LIKE tvlvt-bezei,
vtext LIKE v_t178-vtext,
v_text LIKE v_t188-vtext,
bezei1 LIKE tvm1t-bezei,
bezei2 LIKE tvm2t-bezei,
bezei3 LIKE tvm3t-bezei,
bezei4 LIKE tvm4t-bezei,
bezei5 LIKE tvm5t-bezei,
vtext2 LIKE tvkggt-vtext,
END OF ty_tab.
DATA: itab TYPE STANDARD TABLE OF ty_tab WITH HEADER LINE.
DATA: BEGIN OF t_vbak OCCURS 0,
vbeln TYPE vbak-vbeln,
erdat TYPE vbak-erdat,
vkorg type vbak-vkorg,
augru TYPE vbak-augru,
kunnr TYPE vbak-kunnr,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
vkaus TYPE vbap-vkaus,
spart TYPE vbap-spart,
netwr TYPE vbap-netwr,
waerk TYPE vbap-waerk,
kwmeng TYPE vbap-kwmeng,
kondm TYPE vbap-kondm,
mvgr1 TYPE vbap-mvgr1,
mvgr2 TYPE vbap-mvgr2,
mvgr3 TYPE vbap-mvgr3,
mvgr4 TYPE vbap-mvgr4,
mvgr5 TYPE vbap-mvgr5,
END OF t_vbak.
DATA:
BEGIN OF t_vbkd OCCURS 0,
vbeln TYPE vbkd-vbeln,
posnr TYPE vbkd-posnr,
konda TYPE vbkd-konda,
bstkd TYPE vbkd-bstkd,
bstdk TYPE vbkd-bstdk,
bstkd_e TYPE vbkd-bstkd_e,
bstdk_e TYPE vbkd-bstdk_e,
kdkg1 TYPE vbkd-kdkg1,
END OF t_vbkd.
DATA:
BEGIN OF t_vbpa OCCURS 0,
vbeln type vbpa-vbeln,
posnr type vbpa-posnr,
kunnr type vbpa-kunnr,
adrnr type vbpa-adrnr,
parvw type vbpa-parvw,
END OF t_vbpa.
DATA: t_adrc TYPE TABLE OF adrc WITH HEADER LINE.
DATA:
BEGIN OF t_tvm1t OCCURS 0,
mvgr1 TYPE tvm1t-mvgr1,
bezei TYPE tvm1t-bezei,
END OF t_tvm1t.
DATA:
BEGIN OF t_tvaut OCCURS 0,
augru TYPE vbak-augru,
bezei TYPE tvaut-bezei,
END OF t_tvaut.
DATA:
BEGIN OF t_tvm2t OCCURS 0,
mvgr2 TYPE tvm2t-mvgr2,
bezei TYPE tvm2t-bezei,
END OF t_tvm2t.
DATA:
BEGIN OF t_tvm3t OCCURS 0,
mvgr3 TYPE tvm3t-mvgr3,
bezei TYPE tvm3t-bezei,
END OF t_tvm3t.
DATA:
BEGIN OF t_tvm4t OCCURS 0,
mvgr4 TYPE tvm4t-mvgr4,
bezei TYPE tvm4t-bezei,
END OF t_tvm4t.
DATA:
BEGIN OF t_tvm5t OCCURS 0,
mvgr5 TYPE tvm5t-mvgr5,
bezei TYPE tvm5t-bezei,
END OF t_tvm5t.
DATA:
BEGIN OF T_ADR6 OCCURS 0,
SMTP_ADDR TYPE ADR6-SMTP_ADDR,
ADDRNUMBER TYPE ADR6-ADDRNUMBER,
END OF T_ADR6.
data:
begin of t_tvkggt occurs 0,
vtext type tvkggt-vtext,
kdkgr type tvkggt-kdkgr,
spras type tvkggt-spras,
end of t_tvkggt.
data:
begin of t_tpart occurs 0,
parvw type tpart-parvw,
vtext1 type tpart-VTEXT,
spras type tpart-spras,
end of t_tpart.
DATA:
BEGIN OF T_T178T OCCURS 0,
SPRAS TYPE T178T-SPRAS,
KONDM TYPE T178T-KONDM,
VTEXT TYPE T178T-VTEXT,
END OF T_T178T.
DATA:
BEGIN OF T_T188T OCCURS 0,
SPRAS TYPE T188T-SPRAS,
KONDA TYPE T188T-KONDA,
VTEXT TYPE T188T-VTEXT,
END OF T_T188T.
data:
begin of t_tvlvt occurs 0,
spras type tvlvt-spras,
abrvw type tvlvt-abrvw,
bezei type tvlvt-bezei,
end of t_tvlvt.
*WRITING THE QUERY
Sales Order details...
*break-point.
SELECT vbak~vbeln
vbak~erdat
vbak~vkorg
ABRVW
augru
kunnr
posnr
matnr
vbap~vkaus
vbap~spart
vbap~netwr
vbap~waerk
kwmeng
kondm
mvgr1
mvgr2
mvgr3
mvgr4
mvgr5
FROM vbak AS vbak INNER JOIN vbap AS vbap
ON vbak~vbeln EQ vbap~vbeln
INTO corresponding fields of TABLE t_vbak
WHERE vbak~vbeln IN s_vbeln.
Sales data from VBKD.
SELECT vbeln
posnr
konda
bstkd
bstdk
bstkd_e
bstdk_e
kdkg1
FROM vbkd
INTO TABLE t_vbkd
WHERE vbeln IN s_vbeln.
SELECT vbeln
posnr
kunnr
adrnr
parvw
FROM vbpa
INTO CORRESPONDING FIELDS OF TABLE t_vbpa
where vbpa~vbeln IN s_vbeln.
IF t_vbak[] IS INITIAL.
WRITE : / 'No data found'.
else.
SORT t_vbak BY vbeln.
SELECT augru bezei
FROM tvaut
INTO TABLE t_tvaut
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND augru EQ t_vbak-augru.
SORT t_tvaut BY augru.
SELECT vbeln posnr kunnr adrnr parvw
FROM vbpa
INTO CORRESPONDING FIELDS OF TABLE t_vbpa
FOR ALL ENTRIES IN t_vbak
WHERE vbeln EQ t_vbak-vbeln
and posnr EQ t_vbpa-posnr.
IF sy-subrc EQ 0.
SORT t_vbpa BY vbeln posnr parvw.
SELECT *
FROM adrc
INTO TABLE t_adrc
FOR ALL ENTRIES IN t_vbpa
WHERE addrnumber EQ t_vbpa-adrnr.
SORT t_adrc BY addrnumber.
ENDIF.
select smtp_addr
from adr6
into table t_adr6
for all entries in t_vbpa
WHERE ADDRNUMBER = t_vbpa-ADRNR.
SORT T_ADR6 BY ADDRNUMBER.
SELECT mvgr1 bezei
FROM tvm1t
INTO TABLE t_tvm1t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr1 EQ t_vbak-mvgr1.
SORT t_tvm1t BY mvgr1.
SELECT mvgr2 bezei
FROM tvm2t
INTO TABLE t_tvm2t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr2 EQ t_vbak-mvgr2.
SORT t_tvm2t BY mvgr2.
SELECT mvgr3 bezei
FROM tvm3t
INTO TABLE t_tvm3t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr3 EQ t_vbak-mvgr3.
SORT t_tvm3t BY mvgr3.
SELECT mvgr4 bezei
FROM tvm4t
INTO TABLE t_tvm4t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr4 EQ t_vbak-mvgr4.
SORT t_tvm4t BY mvgr4.
SELECT mvgr5 bezei
FROM tvm5t
INTO TABLE t_tvm5t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr5 EQ t_vbak-mvgr5.
SORT t_tvm5t BY mvgr5.
SELECT SPRAS KONDM VTEXT
FROM T178T
INTO TABLE T_T178T
FOR ALL ENTRIES IN T_VBAK
WHERE SPRAS EQ SY-LANGU
AND KONDM EQ T_VBAK-KONDM.
SORT T_T178T BY KONDM.
SELECT SPRAS KONDA VTEXT
FROM T188T
INTO TABLE T_T188T
FOR ALL ENTRIES IN T_VBKD
WHERE SPRAS EQ SY-LANGU
AND KONDA EQ T_VBKD-KONDA.
SORT T_T188T BY KONDA.
LOOP AT t_vbak.
MOVE-CORRESPONDING t_vbak TO itab.
SORT t_vbkd BY vbeln posnr.
loop at t_vbkd.
READ TABLE t_vbkd WITH KEY
vbeln = t_vbak-vbeln
posnr = t_vbak-posnr
BINARY SEARCH.
endloop.
IF sy-subrc EQ 0.
MOVE-CORRESPONDING t_vbkd TO itab.
ENDIF.
READ TABLE t_tvaut WITH KEY augru = t_vbak-augru BINARY SEARCH.
itab-bezei = t_tvaut-bezei.
READ TABLE t_tvm1t WITH KEY mvgr1 = t_vbaK-mvgr1 BINARY SEARCH.
itab-bezei1 = t_tvm1t-bezei.
READ TABLE t_tvm2t WITH KEY mvgr2 = t_vbak-mvgr2 BINARY SEARCH.
itab-bezei2 = t_tvm2t-bezei.
READ TABLE t_tvm3t WITH KEY mvgr3 = t_vbak-mvgr3 BINARY SEARCH.
itab-bezei3 = t_tvm3t-bezei.
READ TABLE t_tvm4t WITH KEY mvgr4 = t_vbak-mvgr4 BINARY SEARCH.
itab-bezei4 = t_tvm4t-bezei.
READ TABLE t_tvm5t WITH KEY mvgr5 = t_vbak-mvgr5 BINARY SEARCH.
itab-bezei5 = t_tvm5t-bezei.
READ TABLE t_tpar WITH KEY PARVW = t_vbpa-PARVW BINARY SEARCH.
ITAB-NRART = T_TPAR-NRART.
itab-parvw = t_tpar-parvw.
READ TABLE T_T178T WITH KEY KONDM = T_VBAk-KONDM BINARY SEARCH.
ITAB-KONDM = T_T178T-KONDM.
ITAB-VTEXT = T_T178T-VTEXT.
READ TABLE T_T188T WITH KEY KONDA = T_VBKD-KONDA BINARY SEARCH.
ITAB-KONDA = T_T188T-KONDA.
ITAB-V_TEXT = T_T188T-VTEXT.
READ TABLE t_adr6 with key addrnumber = t_vbpa-adrnr binary search.
itab-smtp_addr = t_adr6-smtp_addr.
READ TABLE t_vbpa WITH KEY vbeln = t_vbak-vbeln
BINARY SEARCH.
itab-kunnr = t_vbpa-kunnr.
itab-parvw = t_vbpa-parvw.
SELECT bezei FROM TVLVT
INTO CORRESPONDING FIELDS OF TABLE T_TVLVT
WHERE ABRVW = ITAB-VKAUS.
read table t_tvlvt with key abrvw = t_tvlvt-abrvw binary search.
itab-beze_i = t_tvlvt-bezei.
SELECT vtext FROM TVKGGT
INTO CORRESPONDING FIELDS OF TABLE t_tvkggt
WHERE KDKGR = itab-kdkg1.
clear t_tvkggt.
read table t_tvkggt with key kdkgr = t_tvkggt-kdkgr binary search.
itab-vtext2 = t_tvkggt-vtext.
READ TABLE t_adrc WITH KEY addrnumber = t_vbpa-adrnr BINARY SEARCH.
if sy-subrc EQ 0.
MOVE-CORRESPONDING t_adrc TO itab.
ENDIF.
APPEND itab.
CLEAR :itab, t_tvm1t,t_tvm2t,t_tvm3t,t_tvm4t,t_tvm5t,t_adrc,t_tvaut,
t_adr6,t_t188t,t_t178t,t_tvlvt,t_vbak, t_vbpa.
ENDLOOP.
ENDIF.
*PRINTING THE OUTPUT
FORMAT COLOR COL_HEADING
WRITE:/
'Order-No',' ',
'Sales-Org',' ',
'Order-Date',' ',
'Purchase-Order',' ',
'Purchase-Order-Date',' ',
'Order-Reason-code',' ',
'Order-Reason description',' ',
'Partner-Type',' ',
'Partner-Type description',' ',
'Partner-no',' ',
'Partner-Name1',' ',
'Partner-Name2',' ',
'Partner-Address 1',' ',
'Partner-Address 2',' ',
'Partner-Address 3',' ',
'Partner-Address 4',' ',
'City',' ',
'DISTRICT',' ',
'Country',' ',
'Post Code',' ',
'PO BOX',' ',
'Partner-email',' ',
'Material-no',' ',
'Material-Division',' ',
'Product-Line and Edition code',' ',
'Product-Line and Edition Desc',' ',
'Product-Name code',' ',
'ProductName Desc',' ',
'Product-Version Code',' ',
'Product-Version Desc',' ',
'Product-Platform Code',' ',
'Product-platform Desc',' ',
'Product-App Server Code',' ',
'Product-App Server Desc',' ',
'Compiler-Code',' ',
'Compiler-Desc',' ',
'LanguageCode', ' ',
'LanguageDesc',' ',
'Runtime-Band Code',' ',
'Runtime-Band description',' ',
'Support-Start Date',' ',
'Support-End Date',' ',
'Support-Level Code',' ',
'Support-Level Desc',' ',
'Currency',' ',
'NetPrice',' ',
'Order-Quantity',' ',
sy-uline.
FORMAT COLOR COL_NORMAL.
LOOP AT itab.
WRITE:/
itab-vbeln UNDER 'Order-No',
itab-vkorg UNDER 'Sales-Org',' ',
itab-erdat UNDER 'Order-Date',
itab-bstkd UNDER 'Purchase-Order',
itab-bstdk UNDER 'Purchase-Order-Date',
itab-augru UNDER 'Order-Reason-code',
itab-bezei UNDER 'Order-Reason description',
itab-parvw UNDER 'Partner-Type',
itab-vtext UNDER 'Partner-Type description',
itab-kunnr UNDER 'Partner-no',
itab-name1 UNDER 'Partner-Name1',
itab-name2 UNDER 'Partner-Name2',
itab-street UNDER 'Partner-Address 1',
itab-str_suppl1 UNDER 'Partner-Address 2',
itab-str_suppl2 UNDER 'Partner-Address 3',
itab-str_suppl3 UNDER 'Partner-Address 4',
itab-city1 UNDER 'City',
itab-city2 UNDER 'DISTRICT',
itab-country UNDER 'Country',
itab-post_code1 UNDER 'Post Code',
itab-po_box UNDER 'PO BOX',
itab-smtp_addr UNDER 'Partner-email',
itab-matnr UNDER 'Material-no',
itab-spart UNDER 'Material-Division',
itab-mvgr1 UNDER 'Product-Line and Edition code',
itab-bezei1 UNDER 'Product-Line and Edition Desc',
itab-mvgr2 UNDER 'Product-Name code',
itab-bezei2 UNDER 'ProductName Desc',
itab-mvgr3 UNDER 'Product-Version Code',
itab-bezei3 UNDER 'Product-Version Desc',
itab-mvgr4 UNDER 'Product-Platform Code',
itab-bezei4 UNDER 'Product-platform Desc',
itab-mvgr5 UNDER 'Product-App Server Code',
itab-bezei5 UNDER 'Product-App Server Desc',
itab-kondm UNDER 'Compiler-Code',
itab-vtext UNDER 'Compiler-Desc',
itab-konda UNDER 'LanguageCode',
itab-v_text UNDER 'LanguageDesc',
itab-vkaus UNDER 'Runtime-Band Code',
itab-beze_i UNDER 'Runtime-Band description',
itab-bstdk UNDER 'Support-Start Date',
itab-bstdk_e UNDER 'Support-End Date',
itab-kdkg1 UNDER 'Support-Level Code',
itab-vtext2 UNDER 'Support-Level Desc',
itab-kwmeng UNDER 'Order-Quantity',
itab-netwr UNDER 'NetPrice',
itab-waerk UNDER 'Currency'.
ULINE.
ENDLOOP.
Maybe you are looking for
-
Problems setting up HH3 to Belkin N1 via TP-Link T...
I am setting up a wireless set up in an out building by running the HH3 via a TP-Link TL-PA211KIT to a Belkin N1. All goes to plan but the Belkin is very intermittent and is not reliable. I have had a look at allot of advice for setting up the Belkin
-
How to find out the modified or customized objects in oracle apps
Hi all, I have a proble, there is no documentation available from the client and I have to find out what all oracle seeded objects have been modified during customizations (in reports, forms, work flow, jsp, tables etc..) Are there any tools or any p
-
How do it know which backup files to keep and which to delete?
How do you know which backup files to keep and which to delete?
-
I recently decided to upgrade my past songs with iTunes Plus. When I go to download them, it gives me the error "Unable to check for available downloads. The network connection timed out. Make sure your network settings are correct and your network c
-
Purchasing Group Basic Question
Gurus, I have a some basic question in EBP................ 1. Creating PO is Purchasing Group is mantatory. 2. Classic Scenario - If i create Shopping Cart for local Purchasing group. PO can create without error in backend(R/3). 3. Extended Classic S