Quantcast
Channel: SCN : Unanswered Discussions - ABAP Connectivity
Viewing all 1115 articles
Browse latest View live

Not able to create Maintenance Notification using SAP .NET Connector 3.0

$
0
0

Hi,

I am working on a .NET Console application to create maintenance notification. I am using SAP .NET Connector 3.0 to connect to SAP system from my console application.

 

As per the requirement to create a notification I am using following BAPI calls in given order:

 

1. BAPI_ALM_NOTIF_CREATE

                IRfcFunction funcCreateNotification = this.SAPRfcDestination.Repository.CreateFunction("BAPI_ALM_NOTIF_CREATE");

               funcCreateNotification.SetValue("NOTIF_TYPE", notif_Type);

                funcCreateNotification.SetValue("NOTIFHEADER", notifheader);

                funcCreateNotification.SetValue("ORDERID", orderid);

                funcCreateNotification.SetValue("SENDER", sender);

                funcCreateNotification.SetValue("TASK_DETERMINATION", task_Determination);

                funcCreateNotification.SetValue("NOTIFHEADER_EXPORT", notifheader_Export);

                funcCreateNotification.SetValue("KEY_RELATIONSHIPS", key_Relationships);

                funcCreateNotification.SetValue("LONGTEXTS", longtexts);

                funcCreateNotification.SetValue("NOTIFACTV", notifactv);

                funcCreateNotification.SetValue("NOTIFCAUS", notifcaus);

                funcCreateNotification.SetValue("NOTIFPARTNR", notifpartnr);

                funcCreateNotification.SetValue("NOTIFTASK", notiftask);

                funcCreateNotification.SetValue("NOTITEM", notitem);

                funcCreateNotification.SetValue("RETURN", return0);

                funcCreateNotification.Invoke(this.SAPRfcDestination);

 

Above BAPI call gives me notification number in notifheader_Export object. I pass this notification number "%00000000001" to BAPI_ALM_NOTIF_SAVE function as shown below.

 

2.     BAPI_ALM_NOTIF_SAVE

               RfcSessionManager.BeginContext(this.SAPRfcDestination);

               IRfcFunction funcSaveNotification = this.SAPRfcDestination.Repository.CreateFunction("BAPI_ALM_NOTIF_SAVE");

                IRfcStructure structNotifExp = funcSaveNotification.GetStructure("NOTIFHEADER");

                funcSaveNotification.SetValue("NUMBER", notifheader_Export.GetValue("NOTIF_NO"));

                funcSaveNotification.SetValue("NOTIFHEADER", structNotifExp);

               IRfcFunction funcCommit = this.SAPRfcDestination.Repository.CreateFunction("BAPI_TRANSACTION_COMMIT");

               funcSaveNotification.Invoke(this.SAPRfcDestination);

                funcCommit.Invoke(this.SAPRfcDestination);

               RfcSessionManager.EndContext(this.SAPRfcDestination);

 

After save I commit changes by calling BAPI_TRANSACTION_COMMIT.

At the end of this function call I expect structure 'structNotifExp' to retun valid notification number but it only return empty string.

 

Could you please suggest me why I am not able to create notification?

 

I found some posts similar to my problem but suggested solution didn't help me: BAPI_ALM_NOTIF_CREATE not creating any maintenance notification.    

 

Could you please suggest me why I am not able to create notification?


Thanks,

Nirav


ALE or EDI to transfer idocs between two independent SAP ECC systems?

$
0
0

Hi All,

 

 

Can we go for ALE to transfer the idocs between two independent SAP ECC systems. Basically I got this doubt because most of the  examples for ALE transfer published in SDN are between two different clients.

 

Thanks,

Gowrinath.

ABAP Outbound Proxy Error

$
0
0


Hi Everyone,

 

In PI ESR, I have update the data enhancement structure with new field and I have mistakenly activated standard service Interface which is refering to ehancement structure.

 

Now in the ABAP side in SPROXY transaction, Interface is showing red. Since its standard proxy I am unable to regenerate the proxy.

 

Please let me know your suggession.

 

 

 

 

Regards,

Sudheer

SAP Basis : Import request error

$
0
0

Dear basis Experts,

I have uploaded the DR because our PRD server crashed and we have created the new stms system .

When I import the request in the PRD server it gives eror. Image is attached. Please help and guide if anybody knows about such issue.

 

Regards

Aneel

Untitled.png

How to make a call to function module of R/3 side in BW?

$
0
0

I am writing a code in BW to check some discrepancies in data. But this code requires some values which are given as output to the function module, which is present on R/3 or PC1 system. So is there any way by which i can make a call to the R/3 function module in BW so that i could fetch its records directly in BW! any help or suggestion would be apprecited.

idoc generated successfully but no documents posted

$
0
0

hello,

 

i have an idoc generated in status 53 (success) but the document not create in SAP/

in idoc paremeters i can see the message: Interface Order 1022990349 has been saved

Practicly this order not exist in table VBAK

 

WE57 - FM BAPI_IDOC_INPUT1

SALESORDER_CREATEFROMDAT202

 

i know that i can use WE19 to generate idoc again//

 

but more important ,  how can i Explore & Find the reason for this case ??


Regards,

Eyal

Issue with reduced message type for matmas

$
0
0

Hi,

 

I have requirement to send whole material data using MATMAS message type whenever any field changes from MM02. I have searched in SCN and found out that we can achieve this using reduced message type. Now I have created reduced mesasge type from BD53. For testing I have selected 2 segments only and selected all the fields in that 2 segments also. After this I have activated the change pointer for this new message type. Did BD84 for distrubution model and generated parter profile.

Now when I do changes in MM02 and save, it is still giving me delta Idoc only, not complete Idoc. Could anyone please suggest if I miss something.

 

Thanks & Regards,
Swarna

where to find a catalog field for EDI (ORDERS)

$
0
0

Hello,

I'm looking for a kind of segment/field catalogue to be able to determine and be sure at 100% where a value of an IDOC (ex. ORDERS <=> VA01) is located in a sales order...

(In tcode WE30, it's by example the object ORDERS05 used to create the sales order)

 

I suppose the company who are doing the mapping between SAP and other format (EDIFACT, XML, ...) must have this ... but is it possible to have or find somewhere this kind of documentation?

 

thanks for your help!

 

Pascal.


Message type aclpay user exit

$
0
0

Hello Experts,

 

We want to change values of some fields in message type ACLPAY(inbound idoc).

we have checked some user exit.

EXIT_SAplacc1_031

EXIT_SAplacc1_032

EXIT_SAplacc1_033

 

However i am confused that if we have to change value of e1ac3a field wrbtr , so what has to be done.

 

Also i want to remove tax segment from the idoc.

 

Can some one guide me to know if i am using incorrect user exits and how to change  the values ?

 

Thansk

I need help to send idocs from 1 client to another , both in different systems

$
0
0

Hi all,

 

I am new to Idoc. I am trying to use idoc to send some table records of a custom table created in client 800 to client 020, both clients are in different systems.

 

I found examples of same scenario but for both clients in same system..

 

what changes should I make then to be able to send idoc .

 

any link showing step by step instructions would be great.

 

Thank you.

Unable to receive Custom Idoc from SAP B1 where as Standard IDOCS are working fine

$
0
0

Dear all,

 

I have created a Inbound Custom IDOC at ECC and when sent from SAP B1 it is not even visible in Queue(WE05). At SAP B1 end success message is shown as successfully handed over to SAP ECC. When i have sent Standard MATMAS IDOC it is received and visible at WE05.

 

I have created Outbound IDOCS as well for SAP B1 in which all are working fine.

 

 

Following the steps followed for Development at SAP ECC side.

1.Created Segments  (WE31)

2. Created Basic Idoc type and assigned Segments to IDOC Type( WE30)

3. Created Message Type (WE81)

4. Assigned Message Type and IDOC Type( WE82)

5. Created In Bound Function Module ( SE37)

6. Registered the In Bound FM (BD51)

7. Assigned FM, Message Type and IDOC Type ( WE57)

8. Maintained Inbound Process Code , created Logical message & Identification (WE42)

9. Maintained Inbound Partner Profile (WE20)

 

Can any one help me in resolving this problem.

 

Regards,

Miyandad.

How to use the ANONYM certificate list for a Service Consumer

$
0
0

Dear all,

 

I wish to consume an external Web Service from an ABAP function module, using HTTPS and Basic Authentication. Service Consumer and Logical Port are ready and it works - but everytime a dialog for username and password shows up, even though the correct user data is already saved in the Logical Port. This means that background processing fails.

 

Does anyone have an idea how to avoid that?

 

I suspect the reason is that the external server certificate is checked using the DFAULT certificate list, I can see that in the trace data. However, we do not use a client certificate and have imported the server certificate into the ANONYM keystore in STRUST. With an RFC destination in SM59 (just for testing) I can ping the web service without a popup.

 

What is the prerequisite or the configuration for the ANONYM keystore to be used?

 

Thank you for any hints,

Ringo

RFC Error

$
0
0

Hi All,

 

need all your help on this,

I encountered an error on RFC connection to SAPMSSY1 as shown below:

 

RFC.JPG

 

my question is how do I identify which RFC in SM59 this program uses?

I tried to use report RSRFCCHK and filter on my SAP_BASIS as the username in SM59 all went well (even the account is locked)

 

Thank you,

 

Regards,

Ura

Switching from http to https

$
0
0

Hi,

 

Our management wants to switch all services from http to https. What does this implies from SAP Basis point of view? We have a complex landscape, with Java portals, ABAP systems, dual-stack systems etc. I searched the internet regarding this subject and found something related to switching the access ports and installing some SSL certificates. Is this all we need to do or there is something else? A full documentation would help alot.

 

Many thanks.

Who has experiences with Idoc inbound processing with QRFC using bgRFC setup according to SAP Note 1855518?

$
0
0

Dear experts, my aim is to set up queued processing of idocs without PI, so that the queue stops when an error occurs, preventing other idocs in the same queue from being processed.

 

I found note 1855518 - QRFC: Inbound processing with help of Background Remote Function Call (bgRFC) explaining set up of idoc inbound processing with QRFC in transaction code WE20BGRFC, but didn't succeed with the set up. I managed to set up of processing with bgRFC according to note 1793313 - ALE: IDoc inbound processing using bgRFC as standard which is referenced in 1855518 and is prerequisite for using QRFC.

 

I wonder if anybody is using this functionality since I do not find any discussion about it.

 

Thanks and best regards.


User without roles can login with webservice

$
0
0

Hi all,

 

I created an Enterprise service in ECC and configured it that it in SOAMANGER so it can be consumed. I configured basic authentication (username / pw).

However, when this user doesn't have any user-roles or autorisation profiles at all, it can still log on using the web service.

 

How is this possible? Did I miss some configuration?

 

Best Regards

 

Ron

LSMW Measuring Point Standard Batch/ Direct Input Issue

$
0
0

Hello All,

 

I am trying to upload measuring points with Standard Batch/ Direct Input Issue, Object- 0425, Method-0000, Program Name- IBIP, Program Type- B.

 

I do not get two fields viz. MRMAC- Upper Limit & MRMIC- Lower Limit in structure IBIPMEAS. So I tried to search SCN & came across following thread, Problem in LSMW, Also referred SAP Online Help but could not really resolve the issue, may be because I am fucntional consultant & do not know the coding. Our ABAP consultant has never worked on this so was not able to help me.

 

Would you please help me to resolve the same step by step in details.

 

Regards

Manoj P.

How to use XML signatures for WS consumer proxies?

$
0
0

I have a WSDL from a remote system that I used to create a web service consumer proxy (via SE80). Configuration of the logical port via SOAMANAGER worked fine, I can connect to the remote web service.

 

However, I need to sign the XML of my requests with our server certificate. According to the SAP docs for that I need to enable WS security in the "Operations" tab of the port configuration in SOAMANAGER. Problem is: there is no such security section there, no options to set.

 

Where can I set the certificate to use for signing the XML messages sent by the consumer proxy?

SOAP request to proxy interfaces

$
0
0


Hi,

We have developed proxy interfaces and generated the WSDL using SOAMANAGER.  This we configured in SOAP UI 5.0.0 for testing.  But nowadays we are facing on challenge.  Once we load the WSDL, it will work fine.  But the same request will give below error after some time.

 

<env:Text xml:lang="en">Web service processing error; more details in the web service error log on provider side (UTC timestamp 20150311103533; Transaction ID 54FF1844BFE20E40E10080000A300DA3)</env:Text>

 

When we check t-code SRT_UTIL, it gives the below message.

 

error.jpg

If we add a new request using the same WSDL, it will work fine again.

 

Any idea why is this happening?

RSBATCH giving dump

$
0
0

After running RSBATCH with deletion selection the job BI_DELETE_OLD_MSG_PARM_DTPIEMP is getting cancelled in Background.

Getting dump at statement Message X000, which is happening due to standard exception handling.

 

After debugging the issue end - end i guess its because of status check for DTP process, but not sure.

 

Please suggest.

Viewing all 1115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>