Sitemap

Amicuk Programming Answers

Bapi_Salesorder_Getlist return no items

-0001-11-30   Views:0

Advertisement

When calling the Bapi_Salesorder_Getlist from .NET Connector but got no items return. I can browse the order for customer 1012 in SAPGUI. If the problem is caused by the searching parameters? Please check the code for me. Thanks!      Orders.SAPProxy

When calling the Bapi_Salesorder_Getlist from .NET Connector but got no items return.
I can browse the order for customer 1012 in SAPGUI.
If the problem is caused by the searching parameters?
Please check the code for me.
Thanks!
     Orders.SAPProxyOrders proxyorders= new Orders.SAPProxyOrders(cs);
     // call the RFM method on the proxy
     Orders.BAPIRETURN Return0=new Orders.BAPIRETURN();
     Orders.BAPIORDERSTable Sales_Orders=new Orders.BAPIORDERSTable();
     try
          proxyorders.Bapi_Salesorder_Getlist("1012", "", "", "", "", "", "", "*", out Return0, ref Sales_Orders);
     catch(SAP.Connector.RfcCommunicationException exp)
          MessageBox.Show(exp.Message);
          return;
     catch(Exception exp)
          MessageBox.Show(exp.Message);
          return;
               this.labelResultNumber.Text=Sales_Orders.Count.ToString();

The replay answer
Advertisement
Thanks.
Your hint is very helpful.
Bapi_Customer_GetDetail can read single customer by giving customernumber (Knnum)
Bapi_Order_GetStatus can also read a single order by giving order number.
But When calling Bapi_Order_GetList or Bapi_Customer_GetList, it return no Rows.
The BAPIREAUT.Number is 748, its Message said "No cusomter was found by giving criteria.
I still suspect the searching parameters is wrong.
The requirement is to list all the orders of a customer.
Or could you give me such code directyly.
Thanks a lot

Go to See the other 6 answers

Bapi_Salesorder_Getlist return no items

Category:DefaultRelease time:-0001-11-30Views:130

When calling the Bapi_Salesorder_Getlist from .NET Connector but got no items return. I can browse the order for customer 1012 in SAPGUI. If the problem is caused by the searching parameters? Please check the code for me. Thanks!      Orders.SAPProxy[More]

User exit/BADI for Return PO item delivery Address

Category:DefaultRelease time:2015-10-11Views:130

Hi Guyz, We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default[More]

Return Free Items should copied into the invoice.

Category:DefaultRelease time:2015-10-11Views:130

Dear All, We  created a return sales order with two line items.First line item is REN and second line item is RENN item category type.When we created the sales order at that time RENN was not billing relevant.(in VOV7).I have  made the delivery and d[More]

VPRS has condition value 0 in Returns Order item

Category:DefaultRelease time:-0001-11-30Views:130

Hi Experts, Our customer created a returns order refer to F2 invoice, but in returns order its VPRS has condition value 0. It caused accouting document error in Credit for Returns. There was no cost related accouting posted. Our Credit for Returns is[More]

Bridge CS4 search returns No items to display

Category:DefaultRelease time:-0001-11-30Views:130

A find search for "keyword contains" returns a partial list of files using a parent keyword, and returns "No items to display" for specific child keywords missing from the parent keyword "find". I have deleted and reapplied t[More]

CAML Query returning all items with date condition

Category:DefaultRelease time:-0001-11-30Views:130

HI, I have a problem doing a query with CAML over the elements of a calendar in SharePoint 2013 I just want to retrieve all items, which have been modified on a particular date. But below query returns all items from the Calendar. Any suggestion how[More]

Returns ( text item)

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, I created a Sales Order which contains Std item ( item cat: TAN) and text item ( item cat: TATX) and I followed the remaining sales cycle ( Delivery and billing). Now i want to create a Retrun Order with reference to Order/invoice, when i am[More]

SPList.GetItems Method not returning any items at first instance

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I am trying to get one specific item from a Info Path library based on the Name field from code behind of Info-Path form at Form Loading event. Now when I try to run the query for the first time, it does not return any item however if I wait f[More]

Procedure to Return Assert item.

Category:DefaultRelease time:-0001-11-30Views:130

Hi, Could you please anyone can tell me how to return assert item to vendor? I created a P.O. for Assert item. Received the goods and Invoice has made. Now I like to return the material ( Assert) to vendor. Kind Regards, Sankar.KHi, Then this is very[More]

Tryng to return borrowed item.  Get following error message: Unable to return.  Error returning item. License server communication problem: E_BAD_LOAN_ID

Category:DefaultRelease time:-0001-11-30Views:130

Tryng to return borrowed item.  Get following error message: Unable to return.  Error returning item. License server communication problem: E_BAD_LOAN_ID.  When I check authorization information I get a message that this computer is already authorize[More]

Using REST API: Query search box to return list items

Category:DefaultRelease time:-0001-11-30Views:130

Hey, My goal is to create a search box which returns the items (matching to the name) from a list. Bonus: The return would happen without requiring user to click a Search button or such. To achieve this I assume the SharePoint 2013's REST API should[More]

Hot
I'm trying to figure out what needs to be included with the software product when I've created a project in WebHelp using RoboHelp HTML X5.0.1. However, I can't always get to RoboHelp's online help by clicking Contents and Index. Is there something I [More]
Hi all, My head is about to implode. Help would be greatly appreciated This is somewhat complex: I own 2 moog analog synths ( hardware not virtual ) A Slim Phatty and a Voyager Both of them have "Local" set to OFF. The Phatty's in / out midi chn [More]
I use "Merge File into a Single File" to create a pdf file from many html files. However, the generated pdf file have the path information of the html files. I'm wondering how to generate a pdf without the path information.Go to CREATE > Crea [More]
No matter where I'm trying to import images from (card, hard drive), Aperture is denying the action, saying I don't have permission to save to the Pictures folder (where the Aperture library is). I have repaired the database permissions and even rebu [More]
Hi Everyone, I have been programming in java for quite some time now using an IDE (eclipse). I downloaded the following java file from: http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html#requirements and [More]
hi Expert, I'm developing customized infotype, IT9906 and a customized Table ZFDET. some ZFDET field will be show on the IT9906 infotype screen. refer to this picture for clearer view: [Infotype problem|http://2.bp.blogspot.com/-Kcun_tRx1OI/TgMOds-4b [More]
My imac 10.6.8 Snow Leopard makes 3 burps-beeps while running (not at  start-up) Nothing goes wrong or happens, just makes the 3 weird noises  while sitting with a web site open. How do I stop this. Only happens  about 2 to 3 times a day when it does [More]
Hi y'all, We are in a JDBC – FILE scenario and the JDBC connects to a SQL SERVER 2000. What is the apt JDBC driver for this and do these drivers depend on the OS of the XI system? -TeresaHi To add on How to deploy the Drives:https://www.sdn.sap.com/i [More]
Hi buddies please help me to resolve this problem my shuttle center button didn't work with and without shuttle center software installed i already uninstall the shuttle center software and reinstal but nothing happened i also try 1. set the default [More]
How can I change video screen from landscape to portrait.  It is set to landscape since I updated to IOS 6.  TYIs the screen-rotation lock on? If it is then there is a padlock shown in the upper right by the battery icon. To turn off double click the [More]