Finding Sales order number in RVADOR01
Hi Gurus,
For printing Sales order we will assign the form in nace for driver program RVADOR01.
My question is Sales order program is different. Driver program is different and from driver program our form will be triggered. How the program RVADOR01 knows the sales order number when we click on print preview in sales order?
Thanks
Ravi
It takes the document number from structure NAST which is filled by the calling process - note that this structure is declared with "TABLES" statement so the same instance of this structure is known for both RVADOR01 and the program that calls it.
To see more details look at the subroutine GET_DATA in program RVADOR01.
regards
Similar Messages
-
Find Sales order number from IDOC number
I have a bunch of SO idocs, in status 64. They are then posted and Sales orders are created.
How can I programatically find the Sales order Number from the Sales Order idoc number once it is in status 53 (other than going to EDIDS and checking if status = '53' and grabbing the 'STAPA2' field there ).Look at table EDIDS for sales order idocs and you can see SO number in any of STAPA1/2/3/4 variable for specific message id and message number.
-
Find Sales Order Number for teh combination of material and serial number
HI Friends,
Can you please tell me how do i find out the sammes order number for a combination of material number and serial number. I need to make technical specs for this. Can you guys help me give soem idea !
Thanks in advance for your help !Hello Mike
If i'm not wrong , as per my understanding you can't find the combination at sales order level , as serial no will come into picture in delivery level only .
so plz find some other way ,
hope this will give you some input
Regards
Venkat -
SD-How to find table link of special delivery and sales order number?
Hi Experts,
I have a requirement as below.
In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
Thanks a lot,
Frankhi,
check this.
[https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069] -
Tell me the link between Purchase Requisition and Sales Order Number
tell me the link between Purchase Requisition(MEREQ_TOPLINE-BANFN_EXT) and Sales Order Number(COBL-KDAUF)
Hi Puja,
If you have created sales order for matrial which has both procurement type,after MRP run you will get
planned order.This planned order you can convert to purchase requisition for external procurement or
subcontracting.
You will find sales order number in details of purchase requisition ( ME52N) in Account assignment tab.
Hope this help you.
Regards,
Raja -
Sales Order number on PO; VA01 ME21N
Hi Gurus,
Is there a way to see Sales Order number on the PO?
PO is created from PR which is created automatically during saving Sales Order. The relation between PR and PO is always 1:1.
Thanks
RHi,
If PO created with account assignment category C or E
OR
PR created with account assignment category and then PO created with respect to that PR,then you can find sale order number in account assignment TAB in PO item details
Regards,
Biju K -
Find the sales order number with delivery document
hi:
i want to quickly look for the delivery document related the sales order ,now i find it via se16 in talble vbfa.
please help me provied with means.
best regards.hello, friend.
you can go to your delivery document and click on the 'document flow' icon. you will see the sales order number there.
regards. -
FM to find Sales Order based on Purchase Order Number
Hi All,
I have a Purchase Order number and based on this I want to find out the corresponding Sales Order Number.
Can anyone help me find any FM for this (I have tried RV_ORDER_FLOW_INFORMATION but its not of much help).
Regards,
ShoebCheck my reply here.
Re: Purchase order number from Sales order -
Find production order using quote and/or sales order number
How can I find the related production order if I only have the quote/sales order number and line item? I know that I can go through AFPO and/or AFKO but is there another way?
Regards,
DavisIn the Table AFPO, the Field KDAUF contains the Sales Document Number and KDPOS the Line Item Number. If you are looking for a Transaction to Enter the Sales Document Number at, use TCode CO26.
-
How to find the Purchase Orders from Sales Order number
Hi ...
Is there a way to write a query to find the Purchase orders
from the Sales Order number ....
I have notice the table POR9 (Purchase Order - base Document)
but it seems to be empty.
Could you please help me to figure this out,
Thank you very much
Kind Regards
Sanjayahi,
u did mistake in selecting the table
SELECT T0.DocNum FROM ORDR T0 for sales order
SELECT T0.DocNum FROM OPOR T0 for purchase order
how to find the table in SAP B1.
go to above menu view => system information. tick it(or select it)
then below status bar u can see the table and field name.
open the required form and just keep the mouse cursor on any field.
you can see the table and field name below.
hope now u can able to track the table name.
regards
sandip -
How to look for sales order number if I know outbound delivery number?
How to look for sales order number if I know outbound delivery number?
Hi ,
If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
You will get a window,there you can see the Sales order Number before your outbound delivery Number
With Thanks and Regards,
Priya -
Fetch Sales Order number VBELN from Purchase requisition number BANFN
Hi,
I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
Kindly suggest a suitable method for this.
I've used the query as folllows:
select single vbeln banfn
from vbep
into (wa_vbep-vbeln, wa_vbep-banfn)
where banfn eq wa_eban_zdd1_x-banfn.
where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
Scenario in brief described below:
Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
in this case, only one sales order is created corresponding to a preq..
BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
then we check if the sales order corresponding to the preq is in open status...
for this i need to programmatically fetch the sales order number corresponding to the preq...
this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
no other way i could find to fetch sales order number corresponding to the preq number....
there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
Guess i couldnt find anyother way...
Thanks.I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
I used the select query as follows:
select single vbeln banfn
from vbep
into (wa_vbep-vbeln, wa_vbep-banfn)
where banfn eq wa_eban_zdd1_x-banfn.
where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
I tried a few other combinations also, but those also didnt work effectively:
select vbeln banfn
from vbep
into (wa_vbep-vbeln, wa_vbep-banfn)
where banfn eq wa_eban_zdd1_x-banfn.
without using SINGLE in the select query as the select query would implicitly pickup only a single record,
select vbeln banfn
from vbep
into wa_vbep
where banfn eq wa_eban_zdd1_x-banfn.
and another query where the INTO statement was directed directly to a workarea.
But unfortunately, nothing seemed to be working.
The index i had created was on BANFN alone in the VBEP table. -
Find Sales Order Item Basic Data by Elements query fails
I am trying to consume Find Sales Order Item Basic Data by Elements in .NET 3.0.
Every thing appears to be working fine -- I could query by PO number, Creation time, SalesOrganisationID etc.
However, the most basic query is mysteriously failing. I just want to query by Sales order number, and have given a valid sales order number 6718 that exists in SAP.
It fails giving the following errors:
(in Log.LogItem.Note variable):
<b>"Conversion failed: Invalid input format"</b>
(in Log.LogItem.TypeID variable):
<b>"701(SFB)"</b>
Code is pretty simple, and I am just trying to query Saler Order number 6718. Of course there is nothing wrong with its format.
From the ESOA site, all I could get was:
<i>----
QUOTE -
The following values are optional selection criteria for restricting the search result:
SelectionByID Document number range
INCLUSION_EXCLUSION_CODE
INTERVAL_BOUNDARY_TYPE_CODE
LOWER_BOUNDARY_ID
Value
UPPER_BOUNDARY_ID Value
Value
UNQUOTE -
</i>
I could not even have any documentation on what to put in InclusionExclusionCode, and IntervalBoundaryTypeCode. They apper to be some Global Data Types for which I couldn't find any documentation. By sifting through Wiki, I just guessed a couple of values praying that it may work. I am a bit new to ESOA, but have expertise in .NET 3.0. Would someone guide me where to find the documentation for that, where are the error codes listed, so that I make the queries with little better preparation.
querydata.SelectionByID = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID[1];//Single element array is good enough
querydata.SelectionByID[0] = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID();
querydata.SelectionByID[0].InclusionExclusionCode = "E";
querydata.SelectionByID[0].IntervalBoundaryTypeCode = "6";
querydata.SelectionByID[0].LowerBoundaryID = new SalesOrderID();
querydata.SelectionByID[0].LowerBoundaryID.Value = "6718";
querydata.SelectionByID[0].UpperBoundaryID = new SalesOrderID();
querydata.SelectionByID[0].UpperBoundaryID.Value = "6718";How do you test with a SOAP Client - I am trying to use same dataset as provided?
I did with WSDL Test - SAP, SOAP Client and got the following error:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<nr1:SalesOrderERPBasicDataByElementsResponse_sync xmlns:nr1="http://sap.com/xi/APPL/Global2">
<Log>
<MaximumLogItemSeverityCode>1</MaximumLogItemSeverityCode>
<Item>
<TypeID>701(SFB)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Conversion failed: Invalid input format</Note>
</Item>
<Item>
<TypeID>701(SFB)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Conversion failed: Invalid input format</Note>
</Item>
<Item>
<TypeID>701(SFB)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Conversion failed: Invalid input format</Note>
</Item>
<Item>
<TypeID>701(SFB)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Conversion failed: Invalid input format</Note>
</Item>
<Item>
<TypeID>701(SFB)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Conversion failed: Invalid input format</Note>
</Item>
</Log>
</nr1:SalesOrderERPBasicDataByElementsResponse_sync>
</soap-env:Body>
</soap-env:Envelope>
Thanks..
Vikas -
Need IDOC and segment for mappping the sales order number
Hi,
we need the IDOC name and segment for mapping the sales order number created by oracle in sap for transaction VA01.
Whether the sales order number created by Oracle can be used to create the sales order in sap using the idoc ACC_SALES_ORDER01?
. If we can do,then what is the segment and field for the sales order number in the idoc ?
Please reply asap it's very urgent
Thanks
Edited by: suresh kumar nandhagopal on May 16, 2008 12:07 PMHi,
IDOC for sales order is ORDERS05. Segment E1EDKA1, for field go to SE11 and enter E1EDKA1 to find field for sales order.
Cheers.
...Reward if useful. -
"In FBL5N unable to view purchase order number and the sales order number"
Hi,
Below mentioned is the problem we are facing,
In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
Kindly advise how to go about the same.
Regards
HarishDear,
Please also check note 152335. There, you will find a more detailed
explanation of the issue.
The only way to see some information regarding related PO-es in a Vendor
line items is a workaround. For example, it is possible to create
a substitution in order to fill in one of not currently used fields
like Reference, Text, etc.
I hope this helps You.
mauri
Maybe you are looking for
-
TV Not working . No VCR no TV no S-Video
Please Help I install new Nvidia drivers, and all works ok (exclude remote) But WinDvr no screen any programs no from TV no from S-video and no from VCR. I connect my video to VCR and if i change source from S-Video or Composite, or VCR i see black s
-
Can't delete folder until I quit InDesign and Photoshop
I'm sure this has been covered but I can't find it anywhere. I'm cleaning house; working in Windows Explorer on Windows 7. I look at files in InDesign CS5 and Photoshop CS5, close the files delete them but I can't delete the folder that contained the
-
How do I create seperate contact groups (family, business, friends) in my Contacts application on my Macbook Pro?
-
SELECT Ename, CONNECT_BY_ROOT Sal RootVal, Sal ActualValue, CONNECT_BY_ROOT Sal - Sal TotalValue FROM Emp START WITH Ename='KING' CONNECT BY PRIOR EmpNo=MGR
-
Sql Loader fails with newline fields
Hi,I have a csv file delimited by "|" which is exported from MS Access. One of the fields contains a newline (e.g. notes column) which sql loader treats as beginning of new record. Can anyone tell me how to force the loader to ignore this newline.Is