Should we use ORDER05 or SALESORDER_CREATEFROMDAT2 to place sales orders?
Hello all,
Should we use ORDER05 or SALESORDER_CREATEFROMDAT2 to place sales orders in SAP?
I know ORDERS05 is using call transaction to create it an the other one is using a BAPI.
One was released for version 46C and the other one from 620
It seems as we need to use the second one but I'm not sure the functionality or what is the purpose for this last message type.
My disconcert is just because I was expecting ORDERS06 for new versions...
Thanks in advance.
Jorge Rosa.
You can check OSS Note 550431 - FAQ: BAPI in sales - general questions and Note 550726 - FAQ: BAPIs in sales - restrictions for addition information.
Regards,
Similar Messages
-
Prevention of delivery when using "user status profile" for a sales order?
Hi,
I have used "user profile status" in the sales order "as a work flow" for releasing the sales order.
The user profile are as follows
a) 10: created
b) 20: Released
But I believe I am still able to create the delivery when the order status is still "10" created.
Any advise, user exit or workaround or should this happen.
Usefull answers will be rewarded.
ThanksDear Rajiv,
Please go through this SAP help link it will help you about Status Management in the sales order processing.
http://help.sap.com/saphelp_47x200/helpdata/en/dd/560629545a11d1a7020000e829fd11/frameset.htm
I hope htis will help you,
Regards,
Murali. -
Can I use the customer requirement number as sales order in 'Goods issue MB
Can I use the customer requirement number as sales order in 'Goods issue MB1A'?
Thanks,
TigerWhy I used the customer requirement in MB1A as the sales order, Update was terminated.
Thanks,
Tiger -
Which Smartform is used for output of a (confirmation) sales order ( in tra
Where in customizing I can see which Smartform is used for output of a (confirmation) sales order ( in transaction VA02/VA03) and which print program.
If the mechanism is different please let me know
Thx in advance(right answers will be rewarded)Hi Tina,
This is very simple.
You can go to transaction NACE
Now click on Output Types, here against your output type you can see what is the smart form attached in the field processing requirements.
If its order confirmation, it would either be standard BA00 or a copy of that, maybe the naming convention would help you.
Also If you click on the extreme left hand button in NACE, you can see against your output type what are the records maintained, and under communication tab, you could get to see the printer setting.
Hope this solves your query.
Reward suitably if helpful.
Regards
Ravi -
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, -
BAPI/FM used in service call to get sales order
Hi
I need to have a main view which contain an inputfield to insert a sales order, then check whether the sales order is existed in database, at last, pop up a message box to show the feedback.
So which FM or BAPI shall I have to use during service call?
Best Regards!
StephanieHi Stephanie,
Both the replies given above are correct. Service call is nothing but a method in the Component Controller/Custom Controller of WD Component. It internally calls a function module and does all the required binding to the Context nodes.
In your scenario, even if you use a service call, finally you will have to check the output and invoke a method of the message manager.
Writing a simple query onEnter of the input field should be the best for you.
select single vbeln
from vbak
into lv_vbeln
where vbeln = <value of input field> .
if sy-subrc = 0.
* show message using message manager
else.
endif. -
Working on LSMW using IDoc method for processing Open Sales Orders
We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
1. Each order will have multiple segments with different qualifiers under various segments.
2. Multiple line items would be available under each order.
Issues we are currently looking to solve :
1. How do you manage to loop through the qualifiers during processing for the same segment.
2. How do you prepare the tool to recognise the multiple line items of the same order.
3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
Note : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
Thanks in Advance.hI vikram check this link
and reward points if helpful
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
http://www.jt77.com/system-dynamics/model-01395.html -
ASCP should plan production of all lines of a Sales Order in the same IO
Requirement details:
1) We are running an ECC plan in OPM environment (Constrained Classic)
2) There are 20+ manufacturing plants – all are equally capable of manufacturing any item
3) Sourcing rules define the sequence in which plants should be loaded (first plant X, go to plant Y when capacity in plant X is full. Go to plant Z when capacity in plant Y is full… and so on.)
4) Sales Orders are entered in a fashion where 1 SO = 1 container.
5) There are 5-20 lines per sales order (for items A, B, C, D etc). Together, these items constitute a full container load (FCL)
6) The composition of this FCL will vary from one Sales Order to another (e.g., customer 1 takes items A,B,C; customer 2 takes A,B,D; customer 3 takes A,B,C,D)
7) To avoid transfers between plants, all lines of one SO should be assigned to same plant for production – even if that means delaying the shipment. The container will be loaded in that plant itself – instead of transferring it to a distribution center.
As per our understanding, ASCP does not support such a requirement. We attempted the following:
1) Defined following profiles:
MSC: Maximum number of planned orders per demand = 1
MSO: Maximum Demands per Group = 1
MSO: Maximum Demands per Slice = 1
2) Defined Demand Priority Rules:
Schedule Date – 1
Sales Orders, Forecasts & MDS Entries Priority – 2
3) If there are 10 SOs with the same Scheduled Ship Date, they were given Planning Priority as 1, 2, 3 … 10
4) All lines of a sales order were assigned the same ship set.
With all the above settings, we could not achieve our goal. Any suggestions from the ASCP Gurus?Hi Navneet,
Thank you for your reply. To answer your queries:
(1) We have a dummy inventory org mentioned as ship-from org in all SOs (calling it 'dummy' - as physically there is no such IO). This is done because the marketing team does not know from which IO material will be shipped (we do not have GOP in scope).
(2) Sourcing rules mention that a demand in the dummy IO can be met by orgs X, Y, Z etc (each one with 100% allocation, ranks 1, 2, 3 etc). There are no sourcing rules for transfers between X, Y and Z.
(3) The intent is to fulfill a SO from single org with none of the items internally sourced from other orgs.
Regards,
Parikshit -
How to use the BAPI_GOODSMVT_CREATE for Transfer posting Sales order
Hi Friends,
How to use the Bapi BAPI_GOODSMVT_CREATE for transfer posting sales order to sales order.
pls, send the list of parameteres to pass to the bapi, if program avail please send it to me.
Thanks in advance
ShankarYou have to pass Header and GM code as the INput parameters for uing this BAPI....GM code would be structure.
Also you have to pass the INternal table Item for the goods mvt cxreate which will contains
BATCH.
MOVE_TYPE.
ENTRY_QNT.
MOVE_PLANT.
MOVE_STLOC.
MOVE_BATCH.
MOVE_REAS
these parameters.
Regards,
Sushil. -
RESTRICT USER FROM USING SAME REQUIREMENT TYPE WHILE CREATING SALES ORDER
Hi Friends,
I Have a requirement to in SD while creating any sales order i want the system sholud throw a error
message when i am using line items having same requirement type more than one time
i have tried some customer exits v45a0001 & v45a0003 . but was not successfull .
kindly somebody help me with elaborated steps .
thanks in advance .
regards
digvijay raino reply and i am to close this thread so i am putting it as answered ;(
-
CRM ATP Checking using R/3 & Immediate Delivery for Sales Order Type in R/3
We use CRM 4.0 and R/3 6.4.
I've configured CRM to do ATP Checking using R/3. The ATP Checking works fine if I change the Sales Order Type in R/3 to NOT create a delivery immediately.
I'm trying to find out if the combination of turning on CRM ATP using R/3 and Create Delivery Immediately for a Sales Order in R/3 are supposed to work properly together.
If anyone knows and or has this working, I'd like to know.
Thanks.
DonnaHi ,
I am working with R/3 and I have the same problem.
Complete delivery is flowing down from the customer master for all order.
And then we have items on order which have different shipping point.
They all fail in background delivery and give the error ' customer requested complete delivery'.
Is there anyway to override this?
Any help will be really appreciated.
regards
BgS -
Using MD50 to run MRP for Sale Order
Dear all,
I have some problem when using MD50 with Mill Product Industry.
When SAP system not activate Mill Product yet. I used transaction code MD50 to run MRP for Sale Order, the system have generated planned order for multilevel. But when SAP system have activated Mill Product, I used transaction code MD50 to run MRP for Sale Order, the system only generate planned order for single level. I think that we have to configure something based on Mill Product Industry. So can you help me for this
Thanks, RegardsHi,
Check with following links which may help you resolve your issue :
http://www.sap.com/sme/whysap/industries/millproducts/index.epx
http://help.sap.com/saphelp_di471/helpdata/en/4e/1796374b088e5ce10000009b38f8cf/frameset.htm
http://help.sap.com/content/documentation/industry/docu_is_mill.htm
Regards,
Tejas -
Webdynpro ---- BAPI/FM used in service call to get sales order
Hi
I need to have a main view which contain an inputfield to insert a sales order, then check whether the sales order is existed in database, at last, pop up a message box to show the feedback.
So which FM or BAPI shall I have to use during service call?
Best Regards!
StephanieHi,
Use the BAPIs
To create -
BAPI_SALESORDER_CREATEFROMDAT2
To change -
BAPI_SALESORDER_CHANGE
I assume that you are trying to create a sales order or You want to change the salesorder.
For the sales order we need to write a selelct query on the check table for the existence of the sales order.
Please try to use the SE37 Tcode to view all the BAPIs related to salesorder.
Are you using WD for Java Or ABAP or BSP.
Please a\let me know in case of any issues.
Regards
Lekha -
Billing schedule Dates using a BAPI/FM for a sales order line
Hello,
I am trying to update a sales order line with an Item category which inturn updates the Billing Plan.
I am able to update the sales order with required details and the default billing plan.
Now I want to change the Billing schedule i.e the Billing Plan dates Invoice end date and the percantage etc whcih I am trying to do using
SD_ORDER_BILLING_SCHEDULE AND BILLING_SCHEDULE_MAINTAIN AND THEN BILLING_SCHEDULE_SAVE.
This for some reason will not update the Billing schedule.
It triggers the user exists etc but even though I pass all the required details in the Old and new FPLA and FPLT tables...it is not helping.
When I tried using BILLING_SCHEDULE_DIALOG it opens the screen with the Billing plan in edit mode.
Is there any other way to do the updates.I tried changing in the User exist etc. I also checked the program sdfpla02.
Many thanks,
Krishna.
Edited by: Krishna on Mar 21, 2011 8:30 PMSee the following example
* Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = hfplnr
TABLES
zfpla = hfpla
zfplt = hfplt.
MOVE hfpla TO hfpla2.
*READ TABLE zfpla2 INDEX 1.
hfpla2-lodat = p_stat.
hfpla2-tndat = p_end.
hfpla2-rfpln = ''.
hfpla2-lodar = ''.
hfpla2-tndar = ''.
hfpla2-fpart = p_bplan.
hfpla2-perio = p_bplan.
hfpla2-horiz = p_hori.
*** Very important to set field updkz = 'U' ***
hfpla2-updkz = 'U'. "--> UPDATE!!
APPEND hfpla2.
CLEAR pos.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = hfpla2
fpla_old = hfpla
fplt_new = hfplt " --> NEW
fplt_old = hfplt.
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
EXPORTING
i_no_messages = ' '.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
EXPORTING
document_number = doc.
MOVE zbill-itm_number TO pos.
CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
EXPORTING
i_vbeln = doc
i_posnr = pos
IMPORTING
e_fpla = e_fpla
TABLES
e_fplt = e_fplt
EXCEPTIONS
no_billingplan_allowed = 1
no_billingplan_found = 2
OTHERS = 3.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = e_fpla-fplnr
* I_VFKDAT =
* I_BFKDAT =
TABLES
zfpla = zfpla
zfplt = zfplt.
* Upddate the ZFPLT2 table with the new values
*MOVE zfplt TO zfplt2.
MOVE zfpla TO zfpla2.
*READ TABLE zfpla2 INDEX 1.
zfpla2-lodat = zbill-datesfrom.
zfpla2-tndat = zbill-datesto.
zfpla2-rfpln = ''.
zfpla2-lodar = ''.
zfpla2-tndar = ''.
zfpla2-fpart = p_bplan.
zfpla2-horiz = p_hori.
*** Very important to set field updkz = 'U' ***
zfpla2-updkz = 'U'. "--> UPDATE!!
APPEND zfpla2.
ENDLOOP.
CLEAR pos.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = zfpla2
fpla_old = zfpla
fplt_new = zfplt " --> NEW
fplt_old = zfplt.
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
EXPORTING
i_no_messages = ' '.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'. -
Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using
Hi Experts,
I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
I'll get all the required data with field in an excel file.
Does any standard transaction exist for it ? Or how to go ahead with it ?
Thanks and regards,
Jyoti ShankarHi
If you are checking for CREATE option then Sales Doc Type
For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
That will show the MANDATORY parameters...
Reward if helpful....
Message was edited by:
Enter the Dragon
Maybe you are looking for
-
firefox initally opens fine right to my homepage. Then a few minutes later it starts hanging and I cannot scroll or do anything until it connects. Similarly when I try to open a new tab, the new tab either hangs forever, or I get an unresponsive scri
-
Hello Guys and Gals, I am having a problem with my Laptop. First of all, my screen is black with only a cursor showing (that is not blinking) and I can only run programs through Task Manager. Second, I cannot open 'explorer.exe'. When I try I get t
-
Query-Select Item Code ending in 'NI'
How do I select an Item Code ending in 'NI'?
-
Hi, So I created an Audition project as mono (not knowing that was something I needed to change at creation) and have done all my editing in that project. I want the music and effects in my project to be exported in sero but realized I cannot do so
-
I recently got an error that my database is corrupted or something like that.I re opened skype nad when i logged i could notice that most of contacts were "removed" or missing and when i wanted to check my profile it didnt show 515 contacts like ussu