How to get IDOC #, If I know the sales order #? I tried in SE37 with*NEIGH*
Hi Experts,
I hv a sales order #, say, my_order.........its created from a IDOC via FM of IDOC_INPUT_ORDERS and message is ORDERS.
So, let me know that, If I know the slaes order #, my_order, How to get its associated IDOC #?
In SE37, I searched with key word NEIGHBOUR .........but, did not find any result!!
thanq
i went to WE05, and did looked all, in the 60days!!
thanq
Similar Messages
-
How to get know the Sales Order IDOC#, if I know the created Sales Order#?
Hi Experts,
Let me know that, How to get know the IODC #, if I know the Sales Order#?
Scenario is that, sales order(say 12345678) was created from Inbound EDI. I also Know the MATERIAL too.
So, How to pull the associated Inbound ORDERS idoc, which is created this Sales order-12345678?
Is it from EDID4 table? or EDIDC? or any thing else?
reples r appreciated.
thanq
Edited by: SAP ABAPer on Sep 8, 2008 5:29 AMHello
This can be done much easier using fm SREL_GET_NEXT_NEIGHBORS:
Input:
OBJECT-OBJKEY = <number of sales order> " with leading zeros!!!
OBJECT-OBJTYPE = 'BUS2032'
MAX_HOPS = '01'
Result:
NEIGHBORS-OBJKEY = <IDoc number with leading zeros>
NEIGHBORS-OBJTYPE = 'IDOC'
NEIGHBORS-ROLETYPE = 'INIDOC'.
Regards
Uwe -
How to check the sales orders that have been created with an Rebate Agreeme
Dear Experts,
Do you know how to check the sales orders that have been created with an Rebate Agreements?
Thanks!!Hi Hoo Laa,
I have one way but little lengthy.
Rebate condition always appears in the billing document.
So 1st you extract the sales order list from Table VBAK.
once you have the sales order list then you can put your order list in Table VBFA --> Extract the billing document list.
Now put that list in the table VBRK.
In VBRK you will get the "Doc. condition" --> put that doc condition in table KONV with your rebate condition type.
It will show the result.
Later, through VLOOKUP you can identify in which order you have given rebate to your customer.
Already said, Little lengthy
Regards,
MT -
Want to know the sale order report for Delivery bclok at header level
Dear,
i would like to know some reports
1). I would like to know is ther any SAP std report is available for Sale order if Blocked for delivery(VBAK-LIFSK)??
2). is ther any report for knowing the Sale order if header/item text is maintained??
Pl advice if any std report is available.
Thanks in advanceDear Pradyumna,
Thanks for your reply, I did't find any Header r item text in the report.
Pl suggest is there any other report is availble???
Thanks in adv. -
How to delete a line item from the sales order
Hi all,
how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
Regards
KumarHi
U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
This is called short close ( as the qty is not delivered fully).
Thx. -
How to know the sales order closed using right click menu -Close ???
I have an sales order with ten item, I have copied the same to delivery and before adding the Delivery I have deleted some items. After adding the Delivery, I manually closed the sales order by using the "right click menu close".
The Open Quantity of those lines are already closed while i Close it manually.
Now i need a report regarding the sales orders which i have closed manually. Any Options??Check the below result
DocNum DocDate CardCode CardName Row# ItemCode Dscription Price Quantity LineTotal
2 2012-02-04 00:00:00.000 ED-C-102 AI HUDHA BOOK STALL 2 1010 150.000000 10.000000 1500.000000
3 2012-02-04 00:00:00.000 ED-C-103 AL AMEEN ENGLISH SCHOOL-MANKADA 2 1011 ZINC ROD HIGH GRADE PURE ZINC 140 X 9 MM 59.790000 10.000000 597.900000
this is the result i get while i execute your query
but look at the db result
DocEntry LineNum TargetType TrgetEntry LineStatus ItemCode Quantity OpenQty
1 0 15 2 C 1010 10.000000 0.000000
2 0 15 3 C 1010 10.000000 0.000000
2 1 -1 NULL C 1010 10.000000 0.000000
3 0 15 4 C 1010 1.000000 0.000000
3 1 -1 NULL C 1011 10.000000 0.000000
3 2 15 4 C 1012 15.000000 0.000000
3 3 15 4 C 1013 20.000000 0.000000
4 0 15 5 O 1010 10.000000 5.000000
See the last line data...it have open quantity of 5 and it also have the target type 15, If I close the sales order with docentry 4 manually using right click, the open quantity will be Zero..
I need that last line result also as my output..
Hope you understand my problem.
Thank You -
How production peoples will know the sales order quantity?
Hi,
In our business we are getting orders from our customer in advance (ie before stock production). Is there any notification to send the Ordered item, Quantity and Dispatch date to the production department to produce the stock? Is there any setup for the same?
Thanks in Advance,
Regards,
Prabhu.S.JYour MRP / APS will create wip jobs based on the sales order demand. The shop floor may / maynot care about which sales order they are building it for.
If you want to create one-to-one relationship between the jobs and the sales orders, you can either make your items as ATO items and autocreate the wip jobs or check the LOT FOR LOT option in your ascp plan. -
How to create an Installed base from the sales order
Dear Friends,
could any one let me know the process of creating an Installed base with the below process.
Once a sales order is created in SD, an istalled base need to be created in CRM system with reference to sales order.
There are around 50 final products and approximately 2000(BOM)components for each product exists. but the client wants to maintain only few components
like 100 to 200 components in Installed base.
In CRM system, can we maintain Installed base Template with that 100 or 200 components. If yes, how do we assign the Individual objects(Serial numbers) to each component.
Regards,
VenHi Ajay
there can be two possibilities
Option 1. Create Install base in CRM while creating Sales order in ECC using RFC CRM_IBASE_CREATE. Make some reference of sales order in the Ibase. later when you move equipments to CRM then you can attach these equipments to Ibase (Already created in Thru RFC)in Badi CRM_EQUI_LOAD(This BAdi is called while moving equipments from ECC to CRM).
Option 2. Don't create Ibase at the creation of Sales order. but while creating Equipment just add some indiacator in the equipment to know which sale sorder this equipments belongs.
and once these equipments moves to CRM. Using the BADI CRM_EQUI_LOAD you can club all the equipments(of same sales order) under one ibase.
Regards
Naresh -
How to use a purchase condition in the sales order
Hello,
Customer would like to have a purchase "day-price" appearing in the pricing of the sales order.
I would suggest to write abap code (reading the correct PU condition record) in a condition base value routine that would be added in the customizing pricing procedure at SD side.
Is there any "more standard" solution for this ?
Thanks,Hello,
Here is the case in more detail :
This question concerns a product that is just purchased, stored, and sold. The purchase-price is based on a "day-price" that is maintained in a purchase condition record on a daily basis. The sales-price should be that daily price with a markup in %.
So, in the sales order, this purchase condition record should be picked up with the material and the pricing date as key. From that base price, a markup can be calculated in sales pricing.
I would suggest to use the field "condition base value" in the setup of the sales pricing procedure (Ref to IMG sales and distribution, pricing control, define and assign pricing procedures). In that field a new routine could be entered that (with a select or function or Bapi) picks up the purchase condition record-value.
I would like to know if this would be a "correct" way of solving this requirement, if there is no "more standard" solution, if anyone has experience with a similar requirement and how you solved it ?
Thanks, -
Who to get Actual Shipment Date for the Sales Order
Dear All,
How to Get Actual Shipment Date for the given sales order.
REgards
sudheerHai,
If you want the actual shipment date of an order call the function module RV_ORDER_FLOW_INFORMATION and pass the order number as vbeln in the structure COMWA.select the values from the return table which corresponds to 'J' type which are delivery and get thedate.
THis will give the actual delivery date (if created).
Oher way is to look for vbeln in table LIPS using VGBEL = order number as the selection criteria.
Cheers,
Sandeep -
How to determine via SQL who created the sales order
Hello I am trying to determine via SQL who created the Sales Order. I'm looking at the ADOC table but having a hard time determining which record points to the sales order creation.
Hi Jimmy,
Try this:
select
T0.[DocNum], T2.[DocDate], T2.[CardCode], T2.[CardName],
T1.U_NAME as [User Name], T2.UpdateDate as [Cancelled Date]
from
ORDR T0
inner join OUSR T1 on T0.UserSign = T1.UserID
inner join ADOC T2 on T0.DocNum = T2.DocNum
where
T2.LogInstanc = (select min(LogInstanc) from ADOC T3 where T3.ObjType = 17 and T3.DocNum = T0.DocNum and T3.CANCELED = 'Y')
and T2.CANCELED = 'Y'
and T2.ObjType = 17
group by
T0.DocNum, T2.DocDate, T2.CardCode, T2.CardName, T1.U_NAME, T2.UpdateDate
Kind Regards,
Owen -
How to get called from R3 on a Sales Order creation
Hi,
I'm completely new on SAP NetWeaver technology.
My domain is SAP Business One SDK development and .NET Technologies.
What I'm trying to do is some kind of integration between B1 and R3 and for that I need to get called in my .NET application by an event or something similar coming from and R3 system everytime a new Sales Order is created.
Could some of you as NetWeaver experts give me a hint on how to do it? Right now I'm looking at ALE and IDocs but I cannot find a concrete sample of a .NET application. Do you have some useful links to .NET samples?
Thanks,
Trinidad.Use ERP Connect.
Apart from the client functionality that allows function modules or BAPIs to be accessed in
the SAP system, ERP Connect also offers the possibility of easily developing a server
function.
For example, if you have a .net application which adds 2 numbers sent by R/3, you can call that .NET function using ABAP code like this one:
REPORT z_add_test .
DATA result TYPE i.
CALL FUNCTION 'Z_ADD' DESTINATION 'YAHOO'
EXPORTING
number1 = 13
number2 = 31
IMPORTING
res = result.
WRITE result.
Looks simple, right?
But don't forget that you still have to do something from the .net realm.
Code something like this:
using ERPConnect;
static void Main(string[] args)
RFCServer s = new RFCServer();
s.GatewayHost = "ides";
s.GatewayService = "sapgw13";
s.ProgramID = "YAHOO";
s.IncomingCall += new ERPConnect.RFCServer.OnIncomingCall(s_IncomingCall);
RFCServerFunction f = s.RegisteredFunctions.Add("Z_ADD");
f.Imports.Add("NUMBER1",RFCTYPE.INT);
f.Imports.Add("NUMBER2",RFCTYPE.INT);
f.Exports.Add("RES",RFCTYPE.INT);
s.Start();
Console.Write("Service is ready.");
Console.ReadLine();
private static void s_IncomingCall(RFCServer Sender, RFCServerFunction CalledFunction)
if (CalledFunction.FunctionName=="Z_ADD")
Int32 i1 = (Int32)CalledFunction.Imports["NUMBER1"].ParamValue;
Int32 i2 = (Int32)CalledFunction.Imports["NUMBER2"].ParamValue;
Int32 erg = i1 + i2;
CalledFunction.Exports["RES"].ParamValue = erg;
Console.WriteLine("SAP did a call at " + DateTime.Now.ToString());
else
throw new Exception("Something bad happened!!!");
That... should be working
Reward points when you find usefull. -
How to get COUNT of Invoice No and Sales Order No from Multiprovider
Hello Guys,
I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong.
How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
Regards,
Komik Shah
Edited by: Komik Shah on Aug 20, 2011 5:33 PMHi,
Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
Regards,
Suman -
How to Find Out The Production Order Number For The Sales Order Line Items
Hi All,
I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK. or in table AFPO.
Regards,
Rich HEilman -
Purchase Order missing for some of the Sales Order for few customers
Hi All,
There are few sales orders for which corresponding PO is missing.
But most of other Sales orders for the same set of customers, PO is coming.
Could you please enlighten me how this PO is assigned to the Sales order or it is updated with the Inbound Idoc ..
In any case what may be the reason for PO missing for these sales order...How I can explore this...?
Thanks,
SanjeetHi sanjeet,
If your IDOC is ORDERS05, Check if you are getting the PO Number in : E1EDK01-BELNR
Regards,
Ravi
Maybe you are looking for
-
Hi All Since doing a system update a couple of weeks ago my mac mini is running very slow. It keeps bringing the spinning color wheel up for about 10 seconds every time I click anything. It is slowly getting worse so thought I should try to resolve i
-
Problem with update packages MDT
Hi, when i build boot image with update packages the mdt it give me a error Error: 0x800f081e The specified package is not applicable to this image. Exit code = -2146498530 The wim file is take from win 7 italian iso x64, the updates I push in mdt ar
-
Apple TV purchases keep transferring to my iBook
Whenever my iBook G4 is synced with my Apple TV, the purchased movies and TV shows transfer to the computer. There seems to be no way to transfer them back. Has anyone else with this problem been able to resolve it?
-
"Invalid number" error using Interactive Report search on collection
hi -- I have several interactive reports based on collections. In the IR reqion query definition, I cast the collection values as needed (number, date, etc). Everything's been working great. In both development and production, I can use the search fe
-
Change color and font in two button dialog box
The two button dialog is boring. I need to change the font (larger), the background color, the button color, and hilite the important part of the message. Ex: is this color RED ? I'd like to see RED is red. Attachments: DIALOGBOX.vi 16 KB