Need information on BAPI for Sales Process ?
Hello SAP folks,
I am currently involved in Consumer Portal integration with SAP System. I need information about the right kind of BAPI that would help me to enter and retrieve data from SAP database. I have noted down following funtionality in Sales And Distribution areas where i require a BAPI :
1. Account Management -- > There are concept of Sales rep, Dealer on the consumer Portal. My question is -- > Could anyone suggest some BAPI for creation of User ID for Sales rep and Dealer as well i need information on the BAPI which would also help me displaying the data from SAP database. As far i know, in Customer Master record, we maintain Contact person and Buiness Partners. So how to take up these development into consideration ???
2. Mulitple Credit Card Management --> Please suggest the BAPI for meeting this functionality at Sales order level.
3. Customer Inclusion/Exclusion --> Here the basic need is exclude certain customer from availabling some product. Please suggest the BAPI for this operation.
Regards,
Sarthak
Dear Sarthak M,
Assume you have gone through the transaction BAPI,
where you can find all relevant BAPI's .
select the relevant text such as "sales orders" - from the right side of the screen - check "Tools" tab,where you will find "Create BAPI list", click to search for the Function moduels.
Similar Messages
-
RFC/BAPI For Sales Order Credit Block Release like vkm3 (very urgent )!!
hi experts,
I need the RFC/BAPI For Sales Order Credit Block Release like vkm3 function ,please help
thanks
Godspeedhi
can get the list of all the bapis..
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Reward if USeful
Thanx & regards.
Naren.. -
Using BAPIs for sales contracts
Hi,
I'm having this situation that I have to upload sales contracts into SAP from flat files. We planned to use BAPIs for this purpose. Is it a good option. Can anyone suggest better ideas. If BAPI is a good option, has anyone used standard BAPIs for sales contracts updation in SAP System. If yes, can you guide me through the process.Hi,
You can start off with a program with:
Get the filename of the convert file
IMPORT /SAPDMC/LSMEMORY FROM MEMORY ID '/SAPDMC/LSMW'.
V_PROJECT = /SAPDMC/LSMEMORY-PROJECT. " Project
V_SUBPROJ = /SAPDMC/LSMEMORY-SUBPROJ. " Subproject
V_OBJECT = /SAPDMC/LSMEMORY-OBJECT. " Object
IF V_PROJECT IS INITIAL.
V_PROJECT = 'XXXX_LOC'.
ENDIF.
IF V_SUBPROJ IS INITIAL.
V_SUBPROJ = 'SD'.
ENDIF.
IF V_OBJECT IS INITIAL.
V_OBJECT = 'XXXX_VA41'.
ENDIF.
Function will return path of converted file by LSMW object
CALL FUNCTION '/SAPDMC/LSM_FILE_INFO_GET'
EXPORTING
PROJECT = V_PROJECT " /sapdmc/lsmemory-project
SUBPROJ = V_SUBPROJ " /sapdmc/lsmemory-subproj
OBJECT = V_OBJECT " /sapdmc/lsmemory-object
X_ONLY_USED_FILES = 'X'
IMPORTING
FILE_CONV = V_DSNAME " Path of converted file
EXCEPTIONS
NO_SUCH_OBJECT = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I am not much of an LSMW expert so wont be able to comment much.
regards
Aveek -
NEED BAPI FOR SALES CONTRACT CREATION AND EXTRACTION FOR Trans- PA41& PA43
Hi All,
I need the BAPI for T-code PA41 and PA43 for sales contract.
i would like to extract all the contract details for Contract data contains Table VEDA. And need to create contract.
Any body please help me out...
Please give me code if any one have how to do mapping ..
Thank you,
Vishnu.Hi Vichu,
Please search on SCN.
Regards
Abhii -
Hi all,
Please suggest me a BAPI for getting sales related data into SAP. It must have:
1)Billing details (ex, receipt no, cashier no, name etc...)
2)Shop details (ex. shop no, location etc...)
3)Payment details(ex.total amt, vat amt, cash, credit card, smart card etc...)
4)Discounts (ex, item disc, customer disc, etc...)
5)item details - item no, name etc...
Thanks in advance.hi,
open transaction BAPI and select - sales and distribution
open Se37 and type: BAPIsalesord*
do you want to create if so then:
BAPI_SALESORDER_CREATEFROMDAT1
how to use BAPI's in XI go through this web log
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] [original link is broken] [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8464ac011d1894e0000e829fbbd/content.htm
rgds -
Function Module or BAPI for Sales price calculation and Pricing worklist
Hi Retail experts,
We frequently change purchase conditions, but not that frequently for cases like perishables, so sales price calculations needs to be done each time. This means pricing worklist generation and release is done often and then sales price recalculation is done each time article wise and for various organization level.
We have 15000 articles for which purcahse conditions changes, it is impossible to generate and release pricing worklist and do sales price calculation for each article
So solution may be to find a FM/BAPI for the following transactions and automate them.
Do you know FM/BAPI for VKP5/VKBP or VKP6, WVN0, WVN1 transactions.
Regards
BobHI Madhu,
Thanks for the reply,
I am looking for BAPI or FM which will check all pricing condition types( like MRP of the Material(table A304), discounts(A800,A802,A803,A804) for that customer and Tax) and give me the value(KONP-KBETR).
I can only pass Customer, material, quantity etc.. so that BAPI or FM has do all standred checks/ validation and give the
KONP-KBETR for all condition types like MRP, discounts, Tax. we are developing the custom program for sales order creation so we require the all this before saving the sales order.
Regards,
Nagesh
Edited by: nageshdb4u on Mar 5, 2011 12:05 PM -
I'm looking for BAPI, which returns all items for sales order.
Returned items must have included all information, which we can see in transaction va02 on card Item Overview
I'll reward with points for good BAPI.
BR TomekIn the i_bapi_view structure, populate which tables you would like to have returned by using a value of X.
Use the sales documents table to pass which documents you want information on.
So if you wanted item details:
i_bapi_view-item = 'X'.
sales_documents-vbeln = '0000012345'.
append sales_documents.
call function 'BAPISDORDER_GETDETAILEDLIST'
exporting
i_bapi_view = i_bapi_view
tables
sales_documents = sales_documents
order_items_out = order_items_out. -
Regarding bapis for sales order creation and modification
Hi,
I am trying to create a syncbo for sales order creation, modification and display. The bapis that I am using are
1.BAPI_SALESORDER_GETLIST
2.BAPISDORDER_GETDETAILEDLIST
3.BAPI_SALESORDER_CREATEFROMDATA1
4. BAPI_SALESORDER_CHANGE
Am I using the correct bapis. When I tried to create a syncbo it gave the following errors
BAPISDORDER_GETDETAILEDLIST does not have RETURN parameter in export or tables parameter
RETURN parameter in Create BAPI Wrapper should refer to structure BAPIRET2
RETURN parameter in GetList BAPI Wrapper should refer to structure BAPIRET2
GetDetail BAPI Wrapper does not have RETURN parameter in export or tables parameter
No Export parameter referring to header structure exists in GetDetail BAPI Wrapper
No Import parameter referring to header structure exists in Create BAPI Wrapper
No Import parameter referring to header structure exists in Modify BAPI Wrapper
No Import parameter referring to a field of header structure exists in GetDetail BAPI Wrapper
No Export parameter referring to a field of header structure exists in Create BAPI Wrapper
No Tables parameter referring to item structure exists in Create BAPI Wrapper
No Tables parameter referring to item structure exists in Modify BAPI Wrapper
I am informed that the above bapis are standard bapis.
I am not sure as to why I am getting the errors.
Does the syncbo require the bapi's to be in a specific format.
What would be the header and item structures for sales order bapis
Regards
Raja SekharHi Raja,
ya , for creating Sync BOs ,our BAPI wrappers must satisfy certain conditions..
just go through this link.
u can use the standard BAPIs of SALES Order in ur Custom BAPI Wrapper
http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_bapi_wrapper.html
the RETURN must be of type BAPIRET2..
Regards
Kishor Gopinathan -
Hi,
I need BAPI for retrieving following fields Based on SAles order Number.
Sales order number, Created date, Distribution channel, sales group, Sales organization and customer Number.
Thanks,
points will be rewarded.
Edited by: Jasmine on Apr 8, 2008 6:09 AMUse this bapi
Function Module
BAPI_SALESORDER_GETLIST
Description
Functionality
You can use this method to display the sales orders for a customer.
Notes
Mandatory entries: You must enter the relevant customer number in the SALESDOCUMENT parameter and the requested sales organization in the SALES_ORGANIZATION parameter. Optional entries: You can restrict the selection by entering certain criteria. For example you can display all the orders for a certain material or orders from a particular time period (MATERIAL or DOCUMENT_DATE and DOCUMENT_DATE TO paramters). You can also find a certain sales order using the customer's purchase order number (PURCHASE_ORDER parameter).
check this link
http://abap.wikiprog.com/wiki/BAPI_SALESORDER_GETLIST -
BAPI for Sales Order & Production Order
Hi Experts,
1)i need to Identify standard BAPI's for Sales Order & Production Order.ie for one BAPI need both sales order and production order.
2)i need to Identify standard BAPI to return delivery number and shipment number for a particular Sale Order. If any one give me answer thanks for advance. it's really helpful for my project.
thanks and regards,
bala.Hi Bala
Kindly do not open duplicate threads for the same topic. Help to close one thread and continue with the other to avoid confusion.
Kind Regards
Eswar -
Error thrown in BAPI for SALE order
Hi,
In BAPI_SALESORDER_CREATEFROMDAT1 i got one error
Personnel master record (some number) does not exist for sales
How to solve this issue. Please give the solution.
thanks,
Suresh.MHi,
Can you please mention the exact data you are passing to the bapi ?
Kindly, check the partners details you are passing in the bapi as well.
KR Jaideep, -
I have created sales view of articles for sales organisation 0101. I want to extend sales view for
sales organisations 0102,0103... .
Is there any bapi for extension of sales view.Hi
I guess you can use BAPI_MATERIAL_SAVEDATA for
extending existing material.
Kind Regards
Eswar -
Hi all
I have sale order number and item number, I want to do the sales dispatch automatically ,is any way to do this or have bapi for it?
Please help me
KanishkaHi all
I have sale order number and item number, I want to do the sales dispatch automatically ,is any way to do this or have bapi for it?
Please help me
Kanishka -
Bapi for Sales Order (VA02) change
Hi frnds,
i want to update one field of items in sales order. i understood that BAPI_SALESORDER_CHANGE is right bapi for that. but i dont know how to start this. remember i have to update this thru one report. i mean after executing the report i am displaying the values in ALV report. in that ALV report i am mentioning which sale order items to be changed.
now my doubt after getting the values in internal table how to call that BAPI and what all are should be maintained. if any one have done this or similar to this like calling Stanadard BAPI please send me code to [email protected]
hope it is clear.
Regards,
BaluSee this example.
*& Report ZTEST1
REPORT ZTEST1
NO STANDARD PAGE HEADING
LINE-SIZE 132
LINE-COUNT 65(0)
MESSAGE-ID ZZ.
TABLES: VBAP.
DATA: V_VBELN LIKE VBAP-VBELN.
DATA: ORDERHEADERINX LIKE BAPISDH1X.
*DATA: ORDERHEADERIN LIKE BAPISDH1.
*DATA: BEGIN OF ORDERITEMIN OCCURS 0.
* INCLUDE STRUCTURE BAPISDITM.
*DATA: END OF ORDERITEMIN.
*DATA: BEGIN OF ORDERITEMINX OCCURS 0.
* INCLUDE STRUCTURE BAPISDITMX.
*DATA: END OF ORDERITEMINX.
DATA: BEGIN OF IT_EXTENSIONIN OCCURS 0.
INCLUDE STRUCTURE BAPIPAREX.
DATA: END OF IT_EXTENSIONIN.
DATA: BEGIN OF RETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA: END OF RETURN.
DATA: BEGIN OF BAPIRETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA: END OF BAPIRETURN.
DATA: l_zavbak TYPE bape_vbak,
l_zavbakx TYPE bape_vbakx.
* POPULATE BAPI DATA AND RUN BAPI
* CLEAR: ORDERHEADERINX, ORDERITEMIN, ORDERITEMINX,
* RETURN, BAPIRETURN.
* REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
V_VBELN = '0000000153'.
ORDERHEADERINX-UPDATEFLAG = 'U'.
*ORDERHEADERIN-
IT_EXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
l_zavbak-vbeln = V_VBELN.
l_zavbak-zzplant = '0020'.
IT_EXTENSIONIN-valuepart1 = l_zavbak.
APPEND IT_EXTENSIONIN.
IT_EXTENSIONIN-STRUCTURE = 'BAPE_VBAKX'.
l_zavbakx-vbeln = V_VBELN.
l_zavbakx-zzplant = 'X'.
IT_EXTENSIONIN-valuepart1 = l_zavbakx.
APPEND IT_EXTENSIONIN.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = V_VBELN
* ORDER_HEADER_IN = ORDERHEADERIN
ORDER_HEADER_INX = ORDERHEADERINX
behave_when_error = 'P'
TABLES
RETURN = RETURN
* ORDER_ITEM_IN = ORDERITEMIN
* ORDER_ITEM_INX = ORDERITEMINX
EXTENSIONIN = IT_EXTENSIONIN.
LOOP AT RETURN.
WRITE: / RETURN-TYPE, RETURN-ID, RETURN-NUMBER, RETURN-MESSAGE,
RETURN-LOG_NO, RETURN-LOG_MSG_NO, RETURN-MESSAGE_V1, RETURN-MESSAGE_V2,
RETURN-MESSAGE_V3, RETURN-MESSAGE_V4.
ENDLOOP.
Write: / 'BEFORE COMMITT'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = '1'
IMPORTING
RETURN = BAPIRETURN.
Write: / 'AFTER COMMITT'.
LOOP AT RETURN.
WRITE: / RETURN-TYPE, RETURN-ID, RETURN-NUMBER, RETURN-MESSAGE,
RETURN-LOG_NO, RETURN-LOG_MSG_NO, RETURN-MESSAGE_V1, RETURN-MESSAGE_V2,
RETURN-MESSAGE_V3, RETURN-MESSAGE_V4.
ENDLOOP.
** WRITE OUT RETURN
LOOP AT BAPIRETURN.
WRITE: / BAPIRETURN-TYPE, BAPIRETURN-ID, BAPIRETURN-NUMBER, BAPIRETURN-MESSAGE,
BAPIRETURN-LOG_NO, BAPIRETURN-LOG_MSG_NO, BAPIRETURN-MESSAGE_V1, BAPIRETURN-MESSAGE_V2,
BAPIRETURN-MESSAGE_V3, BAPIRETURN-MESSAGE_V4.
ENDLOOP.
** WRITE: / BAPIRETURN. -
Need adobe print program for sales order confirmation
Hello folks, anybody an idea about a sap standard print program and form for adobe forms concerning the sales order confirmation. can't believe that the old sap script RVADOR01 or ...01 ist still the standard. thanx for help
YES i searched the forums before posting a thread, and i didn't find relevant articlesThe Adobe PDF-based forms for sales are available since Enhancement Package 2 for release ECC 6.0.
Order confirmation (SD_SDOC_FORM01)
Print programs - check package VD_PDF or package interface VDPDF_REL.
Maybe you are looking for
-
HI Gurus, Can we have free dood determination for STO. We can have it in PO... But STO??? If we can, pls tell me the Configuration Thanks SUBBU..
-
What exactly is a Carbon Copy Cloner and does it work on iMac Intel?
A friend of mine recommended to me that carbon copy cloner is the best way to back up data including applications and that it is a freeware downloadable via their website. Can anyone explain to me (using layman's language) what exactly it is and give
-
Sony Vegas Metadata and File tagging?
Howdy! I used to use Sony Vegas on the PC and have made the switch to FCP. Im liking all that I see but there was one feature that was great in vegas that i can't find in FCP. It was the ability to tag your clips eg "falls" "Dave" "Bride" "Somersault
-
I am working on a project that sends information to MS SQL Server. When submitting information to the database, I am using a stored procedure that I wrote. When I submit information to the database, I get this exception: java.sql.SQLException: No Res
-
Getting Error Invalid Cost Group while performing MTL Transaction.
Hi All, I am performing mtl transactions for wip issue. I am able to insert the data into the MTL_TRANSACTIONS_INTERFACE table but when i call the seeded concurrent program "Process transaction interface (Process transaction interface)" then i am get