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

Retrieving/validating PO data from third party application

$
0
0

I hope that someone can help me with the following query.

 

I'm looking for an easy way to retrieve PO data from SAP that we can use in a third party application.

We want to send a few selection parameters like Vendor, Creation Date, etc.

The outcome we want to use in this application.

 

Besides retrieving the data we would also like to do a validation on the PO (does it exist, deletion indicator set, delivery completed) from this third party application.

 

Hope anybody can help.


IDOC to Biztalk --> Status SM58 LUW stays in "Transaction executing"

$
0
0

Hi All,

 

We are sending IDOC's to Biztalk using a TCP/IP connection. When this connection is tested in SM59 it is working fine.

 

When we are sending the IDOC it arrives correctly in Biztalk, but in SM58 the LUW remains in status "Transaction Executed".

 

 

It seems that Biztalk is not sending a message that the IDOC has been received and the LUW can be closed.

 

Is anybody familiar with this problem and knows how to tackle this problem?

 

Best Regards

 

Ron

Using Non Standard Idocs for Inbound Intefaces

$
0
0

Hi anybody,

We are currently developing and inbound interface and are having problems.   Any guidance would be appreciated.

 

Scenario:

We need to interface Plant Maintenance Order data from a 3rd party system to be created within ECC.

 

I have created and imported an external definition for the data and done all the set up in ESR and Integration Builder.

 

On ECC we have new Idoc segments, a new Idoc type and Message type.  The Idoc type is linked to the Message type.

The function module Z_IDOC_INPUT_ZPMORD has been created by using IDOC_INPUT_FIDCC1 as a guide, to create the Idocs.

A further FM will be used to feed the Idoc data in to ECC via BAPI_ALM_ORDER_MAINTAIN.

 

The BD51 ALE attributes are set, the process code on WD42 is added, BD57 links FM with Idoc and Message types.

 

On first attempting to run we got the error in PI SXMB_MONI No standard agreement found for our outbound service interface.

 

To solve this I altered the receiver agreement Receiver Communication Channel from REC_IDOC_ERP to REC_XI_ERP. 

The assumption being that as we aren't using standard Idocs we can't use this channel.  The ReceivePMOrder action in ESR is set to Operation, under Inbound Interfaces in order to properly link through, the standard Idoc option is not allowing us to complete the entry fully.

 

The next message was on ECC SXMB_MONI No implementing class registered for the interface (ABAP interface, request message for our outbound service interface.

 

I have tried generating some proxy code for this via SPROXY, by my ABAP colleague is unsure what is needed from here, and doing this didn't resolve the No implementing class message anyway.

 

Are we proceeding along the correct lines?

We are also somewhat unclear generally as to how everything fits together to achieve our Idocs and PM Orders

 

Any help would be much appreciated

Thanks

Elizabeth

No service found for namespace /SAP/

$
0
0

Hi Experts,

 

 

 

                 Need your urgent help to resolve below issue.

 

                 I  am getting error No service found for namespace /SAP/ when i execute URL to test odata services.

 

 

                Odata services is created in gateway client.We are calling RFC from remote system ECC  I am getting proper output in

 

               development   gateway.

                On moving it to Pre Prod i am getting Service not found error.

 

                Services are active in SICF, system alias is maintained for services ,RFC are there in Backend pre prod system.

 

 

 

                  When i execute with URL with meta data that is  /sap/opu/odata/sap/servicename /$metadata

 

                  i am getting proper response with all property names but on passing with entity set name i am getting no service error.

 

Below is URL I am using

 

same URL is working on Development gateway but not in Pre Prod gateway.

 

 

  /sap/opu/odata/sap/ZAPI_OTC_ADD_AGENT_SRV/AddagentSet?$filter= ZBillNo eq '953323999' and ZCustomerNo eq 'HK00027878'

 

 

 

    I am getting below error.

 

             

 

<?xml version="1.0" encoding="utf-8" ?>

 

- <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

 

  <code>/IWFND/MED/039</code>

 

  <message xml:lang="en">No service found for namespace /SAP/, name ZAPI_OTC_ADD_AGENT_SRV, version 0001.</message>

 

- <innererror>

 

  <transactionid>561C1FC9D8CC4751E10000000AFF1F8C</transactionid>

 

  <errordetails />

 

  </innererror>

 

  </error>

 

 

 

 

 

 

Kindly suggest solution for this issue.

 

 

 

 

Regards,

 

Aditya

How to store IDOC-XML file on external FTP or internet accessible directory.

$
0
0

Hi Expert,

 

I want Create RFC to store xml file of IDOC to ftp server or internet accessible directory(like \\ 165.0.0.111\abc ).

 

Please let me know how to create RFC and which type of RFC i have to create.

 

and how to use this RFC to store XML in transaction WE21

 

Regards,

Dipesh Gupta

SAP PM Work item for Tool status Change

$
0
0

Hi

 

I have a requirement for Work item in the sap Inbox and Email notification for the tool status change at the operation level in IW31 and IW32.

For the same I tried the following steps

 

1. I have copied the Standard BO AFVC_PM and created one new method and a new event and added the code for my tool status.

2. I copied the standard task 20000014 and 20000015 and assigned ZAFVC_PM(Custom BO) and binding is done.

3. Few other configs like BSVX BSVY AND BSVZ BSVV and SWE2 and SWELS and SWEL is properly assigned and are work fine.

 

when the status @ operation is changed the  status is not coming in the SAP Inbox even though the work item is created the status is missing.

And I am not able to debug the BO and Task.

 

My belief is BO is not getting triggered.

 

Please explain what are BSVX and BSVY and BSVX traction's.

 

The same I have done in the IDES and it is working fine.

 

please help and I will reward points.

 

Thanks & Regards.

How to add BP_HEAD component fields into BT111S_OPPT result page (mobile,firstname ,lastname)?

$
0
0

Hi Team,

 

In opportunity result page , i want  to add the fields Firstname ,lastname,mobile number. these fields are available on BP_HEAD Component,BUILHEADER Context node.so how to add these standard fields on opportunity result page.

 

Opportunity result page component - BT111S_OPPT

View - BT111S_OPPT/Result

 

How to add the standard fields of BP_head on BT111S_OPPT view.

BUILHEADER context node is not available on BT111S_OPPT

 

 

Thanks in advance ..

Thanks& regards

Kalpana

How to upload data from IBM MQ Series to SAP ABAP

$
0
0

Hi ,

 

Can anyone please let me know how to upload data from MQ series to SAP ABAP?


RFC Destination ID search

$
0
0

Hi All,

 

I have a requirement to fetch the RFC destination ID/Name dynamically when I pass source system and target system.

Is this possible?

 

Please guide.

RFC Destination Active

$
0
0

Hi All,

 

I have a requirement to access tables in another System ex. ST2 - ST8.

I am making use of RFCs. using Destination Key word and Destination name.

Is there a way to check programatically if the connection is active so that there will be no dumps thrown when I use RFC with Destination.

-Srihari.

Conversion rule to filter special charachters

$
0
0

Hi,

 

Description of the Issue:

SAP sends DESADV idocs to middleware.

If a text contained in segment E1TXTP8 segment contains some special characters, like " # " the idoc cannot be read at the middleware and remains stuck there.

 

Question:

Would that be solved by a conversion rule?

How should the conversion rule look like?

 

Thanks and regards,


F

Baseline date in debit memo accounting document

$
0
0

Hi All,

 

When i create accounting document for debit memo, baseline date BSEG-ZFBDT is flowing from base line date of invoice.

I want it to flow from FIXED VALUE DATE of debit memo.

 

is there any configuration to do this?

or any customization in code is required? if so please help me with the user exit to do this?

 

PS : any changes for this issue should not affect baseline determination for invoice.

 

Thanks in advance,

Pradeep M.

Acknowledgment for PO item contains quantity variance

$
0
0

Hi Gurus,

 

I am facing error "Acknowledgement for PO item contain quality variance " during when my vendor does a partial confirmation in order. For an instance purchase order has created with 2 quantities, however my supplier acknowledge confirmation with only one order as a partial confirmation method. Could you please suggest me the feasible solutions in partial confirmation through inbound Idoc.

 

Basic type :  Orders05

Message type : ORDRP

Process Code : ORDR

 

Regards

Raja

how to search by field name and entry

$
0
0

Hi

I have problem

Need find table in abap stack where column name = AAA and value of AAA = BBB.

How I can find it, please help

thank you

Missing reference number in Indonesia invoices

$
0
0

Hi all,

 

 

for Indonesia reference number VBRK-XBLNR is generated through number ranges.

 

Official Document Numbering - Indonesia - SAP Library

 

but in some invoices, reference number is not filled.

 

Number range was incremented when invoice was created, but reference number  VBRK-XBLNR is empty.


Also when i cancelled invoice (error : ref number not present occurs. so i updated vbrk - xblnr manually and cancelled)

and created new invoice for the same delivery, reference number got filled

 

i want to know

1. what are the fields need to be checked

2. Why number range is incremented but not filled in reference field in invoice.

 

thanks in advance,

Pradeep M.


Retrieving/validating PO data from third party application

$
0
0

I hope that someone can help me with the following query.

 

I'm looking for an easy way to retrieve PO data from SAP that we can use in a third party application.

We want to send a few selection parameters like Vendor, Creation Date, etc.

The outcome we want to use in this application.

 

Besides retrieving the data we would also like to do a validation on the PO (does it exist, deletion indicator set, delivery completed) from this third party application.

 

Hope anybody can help.

Error when calling RFC: IDOCTYPE_READ_COMPLETE

$
0
0

Hi All,


When pushing idocs from ECC to PI system facing below error. Kindly help.


Error details: SAP.RFCException: Details: ErrorCode=RFC_EXCEPTION. ErrorGroup=RFC_ERROR_APPLICATION_EXCEPTION. SapErrorMessage=EXCEPTION OBJECT_UNKNOWN RAISED.  AdapterErrorMessage=Error returned by RfcCallReceiveEx while calling RFC: IDOCTYPE_READ_COMPLETE..

How to Post WPUFIB in ECC without POSDM?

$
0
0

Dear Experts,

 

Our client will deploy new e-commerce website. The data need to be parsing to SAP.

We have an idea to get the data from e-commerce with xml file. XML file will be parsing from SPROXY.

Then PI get the data, and transferred them by IDOC WPUFIB to create accounting document.

 

ABAPer use function module IDOC_INPUT_POS_FINANCIAL_ACC to create idoc WPUFIB in ECC.

But, the result is an outbound idoc created. It supposed to be an inbound idoc.

 

How to use function module IDOC_INPUT_POS_FINANCIAL_ACC so the idoc created is the inbound one?

Thanks for the help before.

 

 

Best regards,

Rosida

RFC doesnt work when import parameter is passed from Jco

$
0
0

Hi,

 

I am passing import parameter from JCO to RFC , however it doesn't work

Following are the code:

 

 

        JCoDestination destination = JCoDestinationManager.getDestination(DESTINATION_NAME2);

        JCoFunction function = destination.getRepository().getFunction("ZTEST_BAPI_SALES");

        ;

        if (function == null)

            throw new RuntimeException("ZTEST_SALES not found in SAP.");

       

 

       JCoParameterList ipl=function.getImportParameterList();

       ipl.setValue("WERKS","5200");

 

        try {

 

 

           

            function.execute(destination);

 

           

        } catch (AbapException e) {

            System.out.println("error in fetching data: "+e.toString());

           

            return;

        }

 

        System.out.println(" Response: " + function.getExportParameterList().getString("RETURN"));

 

Pls help.

Regards,

Asia Khan

unable to update Cost Center and GL Account while using BAPI_PO_CHANGE

$
0
0

error_po.PNG

i am trying to add new service line item in existing Purchase Order via  BAPI_PO_CHANGE the Service line item is added successfully but not able to update Cost Center and GL Account for service line 20 .. any solution for it ?

 

 

CALL FUNCTION 'BAPI_PO_CHANGE'

     EXPORTING

       purchaseorder     = ebeln

     TABLES

       return                   = wt_return[]

       poitem                  = it_poitem[]

       poitemx                 = it_poitemx[]

       poschedule            = it_poschedule[]

       poschedulex          = it_poschedulex[]

       poaccount             = it_poaccount[]

       poaccountx            = it_poaccountx[]

       poservices             = it_poservices[]

       posrvaccessvalues = it_posrvaccessvalues[].

Viewing all 1115 articles
Browse latest View live


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