BAPI for SO creation and change
hi
which BAPI can used for sales order creation and what are the mandatory fields required.
I would like to provide easy SO creation in portal so give me the essential input for SO creation.
Dear basheer,
You can use
BAPI_SALESORDER_CREATEFROMDAT2
mandatory fields are ,
clear iohead.
iohead-doc_type
iohead-sales_org
iohead-distr_chan
iohead-division
iohead-req_date_h
iohead-ship_cond
iohead-incoterms1
iohead-pmnttrms
iohead-accnt_asgn
iohead-pymt_meth
clear ipartner. refresh ipartner.
ipartner-partn_role = 'AG'.
ipartner-partn_numb = Sold to party.
append ipartner.
clear ipartner.
ipartner-partn_role = 'WE'.
ipartner-partn_numb = Ship to party.
append ipartner.
refresh : iitem, ibapischdl, ibapicond.
clear : iitem, ibapischdl, ibapicond.
iitem-itm_number = '10'.
iitem-material = material.
iitem-plant = Plant.
iitem-val_type
append iitem.
ibapischdl-itm_number = '10'.
ibapischdl-req_date = sy-datum.
ibapischdl-req_qty = Qty.
append ibapischdl.
saravanan
Edited by: k saravanan on Sep 22, 2008 4:21 PM
Similar Messages
-
BAPI for PR Creation and Equipment master updation
Hi Gurus ,
Please provide me the function module (BAPI) for the following.
1. Create Purchase Requisition
2. Update/Change Equipment master(Iq02)
Thanks
TausifHi Tausifur,
You can goto Tcode BAPI and find all the relevant BAPIs that you want. This will help you in the future.
Cheers
Keshav -
EDI FOR MATERIAL CREATION AND CHANGE
Hello all,
I have a requirement that when a material is created it whole detial about that material is saved at a given location as idoc.
ie EDI configration.
How know to configure EDI process order. How can we do for material creation.Since we are not using any message control, we don't need to setup the process code in WE41.
The function module has already been assigned to the message type in WE57.
Step1: Create a logical system - BD54.
Step2: Create a distribution model - BD64.
Create a model view and add the Sender (SAP ECC) and Receiver (Logical System you created).
Then add the message type MATMAS.
Step3: Create a RFC Destination - SM59
Step4: Create a port and assign it to the RFC Destination created above. - WE21.
Step5: Create Partner profiles - WE20
Partner type - LS
Message type - MATMAS
Basic type - MATMAS05
Step6: Trigger the material material through BD10.
Hope it helps. -
Creation and change customer master in same LSMW
Hi Experts,
I have a created customer master uploading using batch input recording in lsmw.
Now i have scenario like if the customer already exists i need to change that customer accordingly.
I hope most of u would have come across such issue,for time being i tried makin 2 recordings for creation(XD01) and change(XD02)
after assigning 2 structures for each creation and change, but i don know where to check whether the customer already exists and how to skip respective recordings....
Pl suggest steps after this, if this one correct........
Or if there any alter method pl do suggest me..
Pts will rewarded immly.
Regards,
DilipHi,
In the begin of record, you can check whether a cust already exist in the system. Based upon the result you can change the Tab Name and Tcode.
Just give this a try.
Rehards,
Lalit -
IDoc Configuration for Production Order Creation and Change
Hi All,
Please Help me out for IDoc Configuration for Production Order Creation and Change
I have found the IDoc for Production Order
Messgae Type : LOIPRO and IDoc type : LOIPRO01
Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
I have done following Configurations:
1. RFC Destination created for XI system
2. PORT was created for XI
3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
I need to know how to do the followning.
1. How do i configure the outbound Production order idocs when Production Order is created or changed.
2. in NACE (Output control) which is the Application for Production Order.
3. How can I set IDoc as output Type for Production Order Creation.
Thanks in advance
Dhanabal THi Michal,
I know that it is the old thread but still want to get clarified from you out of curiosity.
Unlike other IDOC, i actiavated change pointers for LOIPRO
1.message and idoc type is linked
2.function module , message type , idoc type is linked
function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
3.BD64, distribution model is created and distributed
4. port and partner profile is in place.
5. IDOC is not getting generated after creating the process order.
do we need to activate the change documents for the message type in BD52,
if yes can you please provide the object types for the same.
or i am missing something else. please guide me in this regards.
Thanks in advance for your time.
S.Janagar -
Creation and Change Date for Tcode and Function Groups
Hello All,
I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
regards,
MaheshHi,
TADIR and TRDIR is the tables where you can find all these data
Regards
Sudheer -
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 -
Dear All,
I want to put a control in the Purchase requisition creation and change ME51N and ME52N any standard user exit available for this?..
if available kindly send me the user exit name. We have already tried with the user Exit M06B0002 under function exit
EXIT_SAPLEBND_001 but this is not suitable in ME52N
Any other standard user exit available.
Kindly give your valuable help on this
Thanka in advance.
Regards
P.Anandhakumar...The Item Category B is a Limit PO, which means it is a value limit. so there is no need for a qty - So, it was greyed.
The currency which is brought from the Vendor, so if you want to change - then do it from the Vendor - so it was greyed.
The UOM will be a activity, since the PO was value based - so it was greyed out.
This is a standard of SAP. -
Authorization control on material reservation creation and change (MB21 & M
Hi Friends
Please help me to find a solution on Authorization control on material reservation creation and change (MB21 & MB23).
Client looking for a control over end user on those T.Code s but not at T.Code level;
Client looking for control either based on "Storage location" and/or u201CProduct hierarchyu201D.
More specifically, user A and B both can Create/Change MR but user A only can do it for the MR which related to storage location say YY while B authorized for storage location ZZ
Thanks in advance.Hello Partha,
Only available Standard SAP Authorization Objects, related to Reservations, are M_MRES_BWA (Reservations: Movement Type) & M_MRES_WWA (Reservations: Plant) where you can maintain authorizations based on Movement Type & Plant respectively and hence seggested enhancement.
You can use Tcode-SUIM to search for Basis authorization details i.e. Roles defined for specific transaction/authorization object / profiles.
Revert if any further info required.
Regards,
Anup -
Is there any BAPI FOR TASKLIST CREATION OF ANY EQUIPMENT ?
Dear Sir,
Is there any BAPI FOR TASKLIST CREATION OF ANY EQUIPMENT .
Thanks.
Regards,
Pooja Joshi.Hello Pooja
Perhaps the following link may be useful:
<a href="http://www.sapfans.com/forums/viewtopic.php?p=906052">FAQ: Plant Maintenance and Customer Service BAPIs</a>
Regards
Uwe -
Bapi for Delivery Creation from Sales Order
Hi
I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
Can i have BAPI or fumctiona module for same.
Best Regards
SubhamCheck this thread:BAPI for Delivery Creation
Also search the forums..there are many threads addressing the same issue.
Regards,
Kiran -
BAPI for ARTICLE creation in IS-Retail
I am creating an Article using BAPI_MATERIAL_MAINTAINDATA_RT by passing below parameters for Basic view.
1.material type
2.merchandise category
3.material category
4.description
5.uom
6.transportation grp
7.loading grp.
8.valuation class
9.tax class
Also marked X in respective places in structures clientdatax,plantdatax,headdatax etc.
Anyhow still it showing errors like "key field of table MARA missing"
I am able to create article from MM41 using above 9 fields.
What fields shd be passed to this BAPI to create an ARTICLE?
OR ANY OTHER BAPI/RFC FM EXIST TO CREATE ARTICLE?
Please help me in this regard.
Regards,
KiranHi Bjorn,
I have to call BAPI for Article creation from Portal front end.
so I cant use BAPI_RETAILMATERIAL_CREATE as it goes to MM41 when we execute.
So I am using BAPI_MATERIAL_MAINTAINDATA_RT to create article.
I passed all mandatory data which is required to create a article with basic view.
Using MM41, I am able to create but with this BAPI iam unable to create article.
Could you please tell me what are the required parameters to be passed in addition to my fields which I specified below:
I passed
HEADDATA--material type,merch.category, material category,basic view marked x.
MATERIAL DESC--material description
CLIENT DATA--uom,transportation grp, tax class
CLIENTDATAX---marked X in above fields
PLANTDATA-loading grp
PLANTDATAX-marked x for above field
ADDL CLIENTDATA--valuation class
ADDLCLIENTDATAX--marked X for v class
Please help me in this regard.
Regards,
Kiran. -
Bapi For creation and change for Vendor Master and Customer Master
I am looking for BAPI to create and change Vendor Master and Customer Master which will not take me to standard SAP transaction but will work in the background
Explanation: BAPI to delete material (BAPI_MATERIAL_DELETE) take you to standard SAP screen of T-Code MM06 but BAPI to create material (BAPI_MATERIAL_SAVEDATA) creates material in the background i.e. does not take you to standard SAP screen of T-Code MM01
So in my case (i.e. to create and change Vendor Master and Customer Master ) I want BAPI which would work like BAPI to create material (BAPI_MATERIAL_SAVEDATA)For general information,to find BAPIs associated with any business object :
Transaction : BAPI - choose alphabetical tab - Find customer - (right side choose - tools - create bapi list and search ) , you will get all the BAPIs associated with this particular business object
Mathews -
Solman table names for BP creation and others
Dear All
I am the new one to Solman.here i want some relevant information
i want the Table names for the follwing areas.
if you have all the table names can u tell me the table names and descriptions
1. Business partner creation.
2.Supports message and its entry flows updated in which table.
3.Change request and its entry flows saved in which table.
Regards
AnandHi,
For lead, activity and opportunity table name is:
1. CRMD_ORDERADM_H - Business Transaction
2. CRMD_ORDERADM_I - Business Transaction Item
Reward points if helpful.
Shridhar
Edited by: Shridhar Deshpande on Jan 30, 2008 7:52 AM -
BAPI for cost centre create/change
Hi,
Is there a BAPI for Cost centre create and change?
Thanks in advance.
Regards,
Arun MohanHi Ravi,
My system is 4.6B.
I found BAPI_COSTCENTER_CREATEMULTIPLE,
but the BAPI for CC change is not present.
Is there any other BAPI for CC change?
Arun
Maybe you are looking for
-
My library (which includes items from CDs and items purchased from itunes) is on my old PC. I have a new PC and want to transfer the library. I can't see how to do this. I've turned Home Sharing on for both computers, but the Share doesn't show up
-
Excise Duty Base Amount in J1IEX in case of Import Purchasing
While posting Excise Invoice in case of Import Purchasing, duty values are coming from CVD, ACD, CVD Ecess & CVD SEcess. But I am not able to understand from where "Excise Duty Base Amount" is coming in J1IEX. Can anyone throw light on this? Thanks i
-
I am planning to buy iPhone 4S? shall i buy 4S or wait for 5?
hi friends ... This is Shreenivas from India.. i am planning to buy iPhone 4S... i need urs all suggestions..please suggest me.. whether to buy 4S or wait for 5? now i have money in my hand..so want to purchase now only..because later money goes off
-
Unable to generate explain plan from toad
HI, Toad Version:8.6 I was unable to generate the explain plan in the toad.Here i create PLAN_TOAD table also but it is still getting the same error ORA-00942: table or view does not exist
-
Where are my attachments in iCAL under iCloud
I just switched on iCloud and noticed that all my attachments on previous iCAL entries are GONE. Also, if I add a new entry in iCAL now, I cannot attach a file. How can I get this back? I have a lot of files (PDF) that are date sensative that were