Bapi_Salesorder_Getlist return no items
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();
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
Similar Messages
-
User exit/BADI for Return PO item delivery Address
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 SAP populates Plant address. If we manually give Vendor number in item details=>Delivery address tab then it populates vendor address. We want to automate this functionality.
Is there any Exit/BADI which serve this purpose.
Note: We need this functionality for few doc types(i.e PO doc type should also be available in the exit).
Any ideas could be really helpfull.
Thanks,
Vinod.Hi,
there are some user-exit & enhancements....
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number
Some BADI s:
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
SMOD_MRFLB001 Control Items for Contract Release Order
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_PURCHDOC_POSTED Purchasing Document Posted
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
No.of Exits: 35
No.of BADis: 55
Arunima -
Return Free Items should copied into the invoice.
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 did the PGR. Now the client requirement is they want RENN should copied into the invoice.So now i changed in VOV7 for RENN item category and tried to invoice that open Delivery.But the system is still not copying the return free items into the invoice.
So what changes do i neeed to do in return delivery document or return sales order so that free item should reflect in the invoice.
Regards
DebasishHi
Can you check the status of the free return item (Renn)in the delivery and run the below report
RVDELSTA
if the above report is not updating then kindly take the help of Abaper to create a program to update the same ,please find the
program below:
TABLES: VBFA.
data: cnt like sy-tabix.
SELECT SINGLE * from vbfa where VBTYP_N = ' ' and vbelv = ' '.
if sy-subrc = 0.
UPDATE vbfa SET PLMIN = ' ' where vbelv = ' ' and vbtyp_n = ''.
endif.
KIndly check the ossnote 445763
Regards
Damu -
VPRS has condition value 0 in Returns Order item
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 order-ralated.
But when we update the pricing in returns order item, VPRS has the right value.
Any advice will be appreciated.
Thank you in advance.
RichardIn addition to the suggestions already given, you may also have a look at the following notes which may help you.
1) Note 27062 - VPRS: deliv-related billing document for returns
2) Note 615432 - No cost with non-valuated goods receipts
3) Note 672681 - VPRS calculation in RK document
thanks
G. Lakshmipathi -
Bridge CS4 search returns No items to display
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 the keywords in the missing files and reindexed all of my files afterwards. The same files are still missing from a parent keyword search and from a specific child keyword search.
I upgraded from CS2, and had no similar problems under CS2. Both CS4 and my OS, WinXP Pro, are updated to date.
Any ideas? Thank you.
(I mistakenly posted this to an old similar named problem under the Bridge Mac discussion group; there was no effective solution offered there.)Curt,
No difference at first, but, a new observation and resolution. The suggested Keywords, Find..., search procedure continued to ignore/overlook all of the previously missing files.
Observation: All of the missing files are contained in one subfolder named, Oregon. Any Find continues to return no items from this subfolder.
Resolution: I renamed folder Oregon to Oregonx, created a new folder named Oregon, and copied all files from the old folder, Oregonx, to the new folder, Oregon.
Find under Oregon = No items
Find under Oregonx = all files containing the keyword.
I tested this result by renaming the new folder, Oregon, to Oregon1. Find under Oregon1 = all files containing the keyword.
Finally, I reran the global Edit, Find..., across all folders = all files containing the required keyword.
Go figure!
Thank you for the suggestions and persistence.
Joe -
CAML Query returning all items with date condition
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 to get specific items from the calendar. The same issue exists for start date and end date.
var oWebsite = clientContext.get_web();
this.collList = oWebsite.get_lists();
var camlQuery1 = new SP.CamlQuery();
camlQuery1.set_viewXml(
'<query><Where>'+
'<Eq>'+
'<FieldRef Name=\'Modified\' IncludeTimeValue=\'TRUE\'/>' +
'<Value Type=\'DateTime\'>2014-02-24T12:00:00Z</Value>'+
'</Eq>'+
'</Where></query>');
this.collListItem1 = oList.getItems(camlQuery1);
clientContext.load(collListItem1);Firstly try to make this change in your query and see if that helps
camlQuery1.set_viewXml(
'<View><Query><Where>'+
'<Eq>'+
'<FieldRef Name=\'Modified\' IncludeTimeValue=\'TRUE\'/>' +
'<Value Type=\'DateTime\'>2014-02-24T12:00:00Z</Value>'+
'</Eq>'+
'</Where></Query></View>');
Geetanjali Arora | My blogs | -
Returns ( text item)
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 trying to create Retrun Order with reference to SO, in the initial screen i am getting the 2 line items but for the second line item ( text item) there is no item category and system is asking to enter Material number or Item category. if i want to return the entire Orginal SO including text item, what is the procedure?
Thanks,
Suresh
Edited by: suresh s on Jul 27, 2009 6:21 AMHi,
Try this
Create onr return text item category by copynin std TATX..say RETX
Do the item category determination in VOV4 like RE-Blank-TEXT(usage)-Blank-RETX
Do copy control settings in VTAA/VTAF for RETX by copying std TATX
say RE-RETX(Tgt doc.) F2-TATX(source doc)
Reg
JJ -
SPList.GetItems Method not returning any items at first instance
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 for let's say
5 seconds(this is not fixed), take my debugger back to that line to execute the query again, it returns the item this item.
Code and everything else looks fine as the same thing when tried with console app always return items. I understand the console app run's as Administrator.
Considering it may be inconsistent issue due to permissions, I also changed my permission as Site Collection Administrator no change in behavior. The App Pool account is also having full permissions on list.
I have seen below blog but without any in-depth detail of explain this behavior.
http://thingsthatshouldbeeasy.blogspot.com/2009/09/getitems-list-query-returns-no-items.html#.VSLfKvnF_To
Any thoughts or suggestions to workaround this issue?
Since I know what item needs to be fetched, I just don't want to get all items and then loop through my items to get one specific item.
Thanks, Rakesh
Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. ***Posting is provided "AS IS" with no warranties, and confers no rights.Hi,
Will the issue persist if query other list for a specific item?
I suggest you show the complete code in use for a further research, it would make others easier to find out the root cause for you.
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Procedure to Return Assert item.
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 much a question for the finance forum.
It is obviously indicating that the item has a value as an asset and so by returning the asset you are removing the original value that was paid and the asset is now worth less (due to depreciation) and so the end result would be a negative asset value.
So you need someone who knows assets well enough to give the full process to be followed. It may even be that you can't return the asset with a 122 after it has depreciated. But I am sure that there will be a process availabel
Sorry I can't help.
Steve B -
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 authorized and a regurgitation of my email address and other info. Does anyone have any suggestions on how to fix.
I have the same message.
-
Using REST API: Query search box to return list items
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 be used. I'm completely inexperienced in using the REST API so all kind of suggestions are available.Hi,
Here are some articles about SharePoint 2013 REST API for your reference:
Get started with the SharePoint 2013 REST service
http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx
How to: Complete basic operations using SharePoint 2013 REST endpoints
http://msdn.microsoft.com/en-us/library/office/jj164022.aspx
SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
Working with SharePoint list data - OData, REST and JavaScript
http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
Best regards
Dennis Guo
TechNet Community Support -
Unable to return borrowed item to library
Tried returning borrowed item to library. Got message "E_BAD_LOAN_ID" "error returning item, licence server communication problem" Need Overdrive support service.
Message was edited by: agatevilleI'm getting the same message. Would really appreciate a solution.
-
Revision: 11523
Author: [email protected]
Date: 2009-11-06 11:58:50 -0800 (Fri, 06 Nov 2009)
Log Message:
Fix return values for ASyncListView/setItemAt(),removeItemAt(): return failed items if they exist.
QE notes:
Doc notes:
Bugs: sdk-24078
Reviewer: Evtim
Tests run: AsyncListView Mustella tests pass
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/sdk-24078
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/AsyncListView.as -
Haven't received my $10 certificate/500 points yet after returning two items.
Haven't received my $10 certificate/500 points yet after returning two items. I have also waited seven days before making this to see if I got it. As of right now it hasn't returned. Thanks
Good morning 713cham92,
Thank you for reaching out to us on the forum. It can generally take 3 to 6 business days for a certificates point value to repost to a member's My Best Buy™ account following a return or cancellation. From what I can see, the 6th business day would be 2/6/2014, so tomorrow. If you do not see 500 points repost to your My Best Buy™ account by the end of the day tomorrow, please send me a private message and I will see what I can do to help. A private message can be sent by clicking on the blue button located within my signature.
I hope you have a wonderful day!
Derek|Social Media Specialist | Best Buy® Corporate
Private Message -
Package item Vs returnable pac item
hi gurus,
can any one explain exactly what is the diff between pakage item and returnable packaging item (with example)
thanks in advanceHi Manoj,
PACKING:------
Follow the steps mentioned below:
Before creating the packaging material you have to go to:
IMG-Logistics Execution-Shipping -Packing.
1. Define packaging material types- it can be anything like boxes crates, etc. in this you have to maintain the output determination procedure, output type, plant determination, packaging material category, generate delivery items, number assignment. you can copy from standard also.
2. Then go to define material group for packaging materials - here you maintain the four digit code and the description. Actually, this group is nothing but similar products which require similar packing products. For Ex. Nokia Phones all types they are basically packed first into a polythene bag. So here nokia phones can become a material group for packaging materials and polythene bag can become the packaging material type which can include different sizes and types of polythene bags.
3. Define Allowed Packaging Materials - Here you assign the shipping group for packaging materials to the packaging material type. This is related to your mterial master data of the packaging material which you create.
4. Now go to MM01 to create a packaging material. use material type as Packaging material then inside the system will take the item category group as VERP. Then in the Basic Data1 screen you have the material group for packaging material (MGPM). Slect the proper one. Now in the Sales:General/ Plant screen you have to maintain data regarding the packaging. you select the MGPM same as the basic data 1 screen, then select the packaging material type, the allowed pkh weight, allowed pkg volume. This is important because if the weight of your finished item is 2 KG and in the allowed pkg weight you enter only 1.5 KG, then while you carry out the packing process in delivery, the system will give you error," packaging weight exceeded." The assignment in the IMG creen for Define allowed packaging materials should be same as u mention in the material master. Then save your material master for packaging material.
5. VA01 create the order, save it.
6. VL01N enter shipping point, go to edit - pack- you will face a screen with 2 parts. In the top part you select your packaging material in which you want to pack your finished item, enter the system will assign a number to that material. Now select the Material in the top part and the finished one in the lower part and click on the Icon Pack. Here one thing has to be taken care of. Suppose if you want to pack only one finished item in one packaging material, then in the lower part of the screen you have a field for partial quantity here you chnge it to 1. system will prompt quantity changed. now you select the material in the top part and the one in the lower part and click on the PER PART. QTY ICON. In this way the system will pack only one finished item in a single packaging material. Packing is done go back, select the picking and do the PGI. save the delivery and create the invoice.
Returnble packing:
Returnble packing includes 3 steps and need to maintain special business partner.
1. Returnble packing shipments
Doc. type-- OR Item Cat. TAL Special Stock -- "V" Sc. line cat. --- E2
2. Returnble packing pickup
Doc. typeLA Item Cat. LAN Sc.line cat. --- F2
3. Returnble packing issue
Doc. type-- LN Item cat. - LNN Sc.line cat.- C2
Note" RP issue occurs in case of if customer has to decide to keep the returnble packing mat. or if customer damage the RP mat.
Reward points if u helpful
Cheers,
Govind.
Maybe you are looking for
-
Problem with internet and mail configuration(From France)
Hey x) I just got my Blackberry yesterday (I'm from France) with Universal Mobile- Bougues Telecome, forfait bloqué pour BlackBerry. In that "package" i have SMS/mms ,internet and emails unlimited. But i can't go to internet , its not working and whe
-
HT3819 video stream from amazon prime to my TV
i want to video stream from amazon prime to my TV via my ipad, mac book using my apple TV device..
-
Page leads to proxy error sometimes or taking too much time to load
Hi All, APEX4.0 Web server: Apache 1.3.9 (Oracle 9iAS 10.0.1.2.2) I am getting the below error at first time when I try to open a page or the page takes 3 to 5 mins to load. From second time on wards, It takes 5 to 8 sec to open as normal. I debugge
-
How to unauthorize a computer from my apple ID
how to unauthorize a computer from my apple ID
-
Hyper V guest slow disk access
I have a Hyper V cluster(2012) with a 2012 guest running 2012 acting as my file server. My 2 hosts are connected to a gig switch stack which in turn is connected to my Dell MD3200i. My file server has a "data" disk that is a VHD(fixed) on the iSCSI s