Idoc number from sales order in ECC
Hi,
Sales order is created by processing an Idoc. Now i want to trace back the idoc number for the sales order created.
Please let me how we can do this in ECC. I saw couple of posts stating ICON SERVICE FOR OBJECTS...i couldn't really identify that icon. In someother post i saw this can found under Environment.
Please let me know whether there are any prerequisites for this, and how i can i achieve this in ECC?
Thank You in Advacne
Thank You
Challa
Hi Challa,
To find which idoc created the sales order, you can do the following,
Check for the customer PO no in the sales order.
Then go to any other inbound idoc which is bound to create a sales order, and see in which segment is the PO number.
Then go to WE09 and put the dates etc and then go to " Criteria for search in Data Records"
Put the segement no in Search in segement field.
Put the idoc field in which you see the PO number
and put the PO no in the " for Value" field and execute.
You will get the idoc which created the sales order.
Let us know.
Regards,
SB
Similar Messages
-
Function Module to fetch Customer Number from Sales Order or Process Order
Hi Gurus,
I am looking for a Function module which gives me customer number from Sales order or Process order.
Please let me know of any FM's available.
Regards,
MadanHi,
Thanks for your response.
I am actually looking for function modules which take "Sales Order" or "Process Order" as input (import parameter) and return Customer Number as output (export parameter).
Please suggest some function modules you know any.
Many Thanks,
Madan -
Assign batch number from sale order to production order automatic
Dear all, I have a question for all. Please help me in this case
My scenario is make to order
I have a sale order, when i create sale order, i have assigned batch number at each line item.
When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
Thanks allHi,
To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
In fact , you are following wrong practice for generating batch no.
Follow procedure like this :
Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
While creation / releasing of Production order, you have option to generate batch automatically by following way :
Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
> Automatic Batch creation in the order maintain this field as
1 Automatic batch creation at order creation
or
2 Autom. batch creation at order release
This will generate batch number automatically at the time of creation or release of order.
Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
So you will get sales order stock in the form of batch managed.
Check & revert if any issue in above flow.
Regards,
Tejas -
How to find Idoc Number on sales order screen .Also any table that holds both Idoc number and sales order number?
Appreciate your Help Thanks!Hi
go to header-> output in the sales order and u will find the idoc no there
Ranga -
User-exit to copy collective number from sales order to purchase order
Hi,
Can any one help me which user-exit/BADI is used to copy collective number from sales order to purchase order? please help me.
Thanks,
Alkahi
copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
http://www.planetsap.com/Userexit_List.htm
User exits for Sales order
1USEREXIT_DELETE_DOCUMENT
2USEREXIT_FIELD_MODIFICATION
3.USEREXIT_MOVE_FIELD_TO_VBAK
4.USEREXIT_NUMBER_RANGE
5.USEREXIT_SAVE_DOCUMENT
User exits for billing
1.USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
2.USEREXIT_ACCOUNT_PREP_KOMPCV
3USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
4USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Reward if Useful
Thanx & Regards..
Naren.. -
Getting purchase order number from sales order number
Hi Experts,
My requirement is to fetch the following values from a sales-order number:
Purchase Order Number,
Delivery Date
Order Type(Source of Order EDI/EFAX/..)
Ship To,
Sold To.
We are trying to fetch this data from the ECC system in our CRM system.We are exploring the possibilty of RFC calls to get the data from ECC system.
Is there any standard FM present in ECC which gives the above information from the sales order number?
Thanks in advance
Regards
ShilpiHi,
Check the FM BAPISDORDER_GETDETAILEDLIST
It provides the whole data for a particular Sales order which you need to provide Sales order number in the table 'SALES_DOCUMENTS' in tables parameter.
You have to provide the view what you need and in the import parameter 'I_BAPI_VIEW' like all the views that are in the tables parameter...
HEADER, ITEM etc...
The fields
PO_METHOD
PURCH_NO
REQ_DATE_H
SOLD_TO " will provide you the details you need in the table 'ORDER_HEADERS_OUT'
SHIP_POINT in ORDER_ITEMS_OUT table provides the ship to
Regards
Sarves -
Want to copy Serial number from Sales Order to Delivery
Hi Gurus, I want to copy the serial number from the sales order to the delivery. ¿How can I do this?
Thanks in advance
-ITaloPlease check if you get some helpful tip from the link below:
http://help.sap.com/bp_bl603/BBLibrary/HTML/126_EN_IN.htm
Regards,
Rajesh Banka -
Purchase order number from Sales order
hi gurus,
i wan to pull PO number from SO number.i saw the customer PO in VA03 for that SO.
what is the customer PO(in vbkd-bstnk)?.what is the PO in EKKO-ebeln?what is the diffrent between these two?Pradeep Chintala is right!
vbak-bstnk is not long enough!
if you va01 create a SO with customer po num's length exceeding 20, you'll find the vbak-bstnk is incomplete.
and you would never find the vbak-bstnk in screens of va01, va02, va03
but you can find vbkd-bstkd. -
INVOICE NUMBER FROM SALES ORDER
HI ALL,
HOW DO WE GET THE INVOICE NUMBER OF A MATERIAL FROM A SALESORDER.
REGRADS,
NANIHi,
The relationship is as follows..
VBAP-VBELN = VBRP-AUBEL.
VBAP-POSNR = VBRP-AUPOS.
SELECT SINGLE * FROM VBRP
WHERE AUBEL = VBAP-VBELN
AND AUPOS = VBAP-POSNR.
IF SY-SUBRC = 0.
WRITE: / 'BILLING DOC.', VBRP-VBELN.
ENDIF.
Thanks,
Naren -
Getting valid idoc number from the sales document
hi,
Iam sending the code for getting the idoc number from sales document.
but iam not getting the result.
please see the code and correct the code so that i will get the idoc number from the sales document.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
it is very urgent..............
thanks in advance......See the below code :
report zxyz.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
<b>data sdata like edid4-sdata.</b>
start-of-selection.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
<b>concatenate '%' p_vbeln '%' into sdata.</b>
select single docnum from edid4 into l_docnum
where sdata like <b>sdata.</b>
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
Thanks
Seshu -
Automatic posting of purchase order from sales order
hiii
experts,
i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
warm regards
thanks
subhash kulkarniHello,
Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
Beside that I would suggest check document flow whether already PO is created or not.
If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
Hope this help you ,
Regards,
Prashant -
How I put a tracking number from sales until delivery
Hi all:
Need your help about tracking and MRP, so, I thinks this is not in exclusive problem, its possible that other need make it.
I need obtain a tracking number from sales order unti delivery, need be assigned in the BOM headerBefore any else, thanks for you kind attention.
In order to explain in detail my requerimient I know that is possible allocate the source of the new production order, that was created by MRP Wizard, this new recomendation have an origin from a production order from above level normally here in Mexico the name is Sub assemble maybe is not correct in english, when run the MRP process not exist a cross reference beetween the sales order number source and first production order (Header I express of this way), and the new production orden obtained after run MRP wizard.
I hope this explanations can help to better.
Thanks a lot -
Update Purchase order number in Sales order item level from inbound ORDCHG iDoc
Hi Gurus,
I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
Which exit I need to use? where to update? Can you please help.
Thank you in advance.
Regards,
SanFinally Resolved the problem by writing 2 exits.
one exit 'EXIT_SAPLVEDB_007' for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX. if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
2nd exit for updating the purchase order number.
I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number. so to update ship-to party's purchase order number it is going to that screen.
so I have used that thing to update purchase order number in sold-to party's purchase order number.
so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata. Then it is worked.
This is the solution I found in my time.
Any way it is solved. Hope it will be helpful for others who will get this problem. -
How to trigger an Idoc from Sales order creation and change
We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
Follow the below steps:
1. Go to NACE transaction
2. Select V1 application and select OUTPUT TYPES
3. Select the required output type and double click on Processing routines.
4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
5. Save it.
message type ORDERSP in the distribution model (BD64).
Follow the below steps to configure the condition records:
1. Go to NACE
2. Select V1 application and select CONDITION RECORDS
3. Select the requred output type and click on Condition records
4. Selection screen will be displayed.
5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
Sales doc type = OR
Funt = SP
Partner = blank. It means there is no restriction on partner numbers.
Medium = A
date/time = 4
Lan = EN.
Note: partner is left blank means, the sales order of type OR can be send to all partners.
6. Save it.
We also done ALE configuration.
We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
Kindly suggest the solution.
Regards,
Sharad DixitHi ,
Please check the total error description and diagnosis as below :
InVa02 enter SO go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
Please paste the diagnosis .
Thanks and Regards,
P.Bharadwaj -
IDOC to create from outbound delivery from sales order as INBOUND process
Hi Experts,
We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
We have to process this XML file into SAP with IDOC.
Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
Can you suggest Basic IDOC type / Message type and process code for the same.
Regards,
Sahadev AbhyankarGood morning !
In the transaction WE20 to create the customer EDI KU with EM function.
Output parameter: message type DESADV and basic IDOC DESADV01.
I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
Sorry for my poor English
A greeting.
Maybe you are looking for
-
While making a backup copy in Itunes of my Iphone I receive the following error message: While making a backup copy of this iPhone (-35) an error has occurred. Do you want to continue with altering this Iphone? When you continue al the material on t
-
Problem with combination of ClobDomain and DB Trigger
Hi all, I am using JDeveloper 10.1.2.0.0 (Build 1811), Oracle RDBMS 10.1.0.4.0 I have a DB Table which contains a CLOB column. This column is mapped in the EntityObject with the java type ClobDomain. Insert, update and delete actions are handled corr
-
SQL Developer 3.0 EA1 creates case senstive account names
Hi, When creating a new account with SQL Developer 3.0 EA1, the user name is enclosed in quotes. This creates a case sensitive account name which creates problems when trying to sign. Historically account names have been converted to uppercase intern
-
Hi, I have an XY graph with four plots. Three of these plots are related and the fourth is a circle around them. The circle's diameter is controlled by a control on the front panel. I want the XY graph to update whenever that value is changed, so I h
-
Zire 21 - Can't get home addresses to handheld;default is Work
Home Contact addresses don't get synced to my handheld. I read this in Palm Help: "Select the Primary Contact Select which contact information displays on your handheld in the Contacts View pane. Choose the contact label from the Select the Primar