Create customer and sales contract in one commit
does anyone know a method to create a customer and a sales contract guaranteeing transactional, using one commit at last of work?
I use to create a customer the standard class CMD_EI_API.
Thanks of all.
Hi Daniele,
I see people who have one sold-to-party (AG) with several delivery address (temporary). In the SD document, they modify the address to create a specific address for each SD document. In SAP that will create you an address starting with 999 it's an address only valid for the SD document.
it's not beautiful, but it works
regards
Fred
Similar Messages
-
Problem in Customer and sales Area assingment for STO
Hi Gurus,
I am working on STO cycle , while config. of STO in first step when i assinged customer and sales area to plant in NODE
"Define Shipping Data for Plants" ,here i can assinged only one customer belongs to only one Sales Area.
For Eg :- 1000/10/00 is my sales area and customer is 01
I assinged this to plant SID.
Now if i want to assinge different sales area for the same customer , Because STO will not ne happened only for one Division , it will transfer goods from many division from a single plant ,So how can assinge more division or more than one sales area to a single plant.
If through COMMON DIVISION , this problem is resolved please explain ,How means step. Because i want to assinge min 10 sales area to asingle plant means may be have to create common division funada, But how I m not getting.
Please Reply ASAP.
Devdatta JoshiDear Joshi,
1.First you do the common divisions and distribution channels through the t.codes VOR1 and VOR2.
2. You assign common sales area to the suppliying plant which you have difined in the common divisions and distribution channels.
i.e you maintain one division and one distribution channel as reference to all other divisions and distribution channels.
3.The purpose of the assigning sales area data to suppliying plant is, we are allowing the system to sale or transferinmg the goods from that suppliying palnt.
I hope it will help you
Thanks,
Murali. -
Sales Agreements and Sales Contracts
Hello Friends,
Could anybody clarify me about what are the key differences between Sales Aggrements and Sales Contracts in SAP CRM 5.0 ?
Thanks in advance,
Sridhar Reddy.Phi Shridhar,
A<b> sales agreement</b> is a long-term agreement between business partners in which you can define conditions (for example, prices and terms of delivery) and releasable products. These conditions and products are valid for all contracts or sakes orders that a customer creates with reference to the sales agreement.
You use sales agreements to offer (better) prices to a particular customer group (business partner type) for a particular list of products, without committing them to particular purchase quantities.
<b> Sales Contracts</b> are information related to quantity and value contracts. Therefore it delivers data on the target values and quantities of contracts for certain sold-to parties or sales organizations. It contains validity periods and released amounts as well as details about the contract status, for example, whether the contract is open, has expired or been rejected.
Hope it clears your doubt.
Regards
Arun Kumar -
Vendor,customer and sales analytics BW related info
hi experts,
We are going to give PPT PRESENTATIONS ON VENDOR, CUSTOMER AND SALES ANALYTICS RELATED TO BW.
Can you plz provide some docs and implementation help regarding those.
Basically i am BW consultant.
Plz tell me how Customer analytics, vendor analytics and sales analytics related to me as BW Consultant.
provide some docs.
regards
venuscm
Edited by: venugopal vadlamudi on Feb 3, 2011 6:58 AMPls reply me
-
IDoc error "customer and sales area : GR could not be uniquely determined"
Hi All,
While posting some IDocs i am getting error customer and sales area : GR could not be uniquely determined even when entries are available in EDSDC table.
Please assist.Double check your entries. Once I ended up even sending a message to SAP and turned out there was a simple typo in the table.
Also since you're saying "some IDocs" - check how exactly they are different from those that don't have this error. -
Wht r the standard tables for vendor customer and sales order report/
Hi wht r the standard tables for vendor and customer reports and is how in normal we cannot use them for vendor reporting and etc ?
Hi
Customer is related to Sales Module
So for a customer we fetch the reports of Sales orders , Deliveries and Billing doc's
CUstomer and Vendor related tables with important fields:
KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
Sales related Tables for a customer
VBAK: Sales Document(Header Data) (VBELN, KUNNR)
VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
Enquiry, Quotation, Sales Order are differentiated based on Doc.
Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
for Quotation 'B' & for Order it is 'C'.)
LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
(LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
VTTK: Shipment Table (Header Data)(TKNUM)
VTTP: Shipment Table (Item Data)( TKNUM,TPNUM,VBELN)
(VTTP-VBELN = LIKP-VBELN)
VTFA: Shipping Document Flow(TKNUM,VBELV,VBELN)
VTPA: Shipping Partners data(VBELN,PARVW,KUNNR,PERNR)
VTTS: Stages in Shipment(TKNUM,TSNUM,TSTYP)
VTSP: Transport Stage/Shipment Item Allocation(TKNUM,TSNUM,TPNUM)
VEKP: Handling Unit: Header(Packing)(VENUM,VSTEL)
VEPO: Handling Unit: Item (Packing)(VENUM,VEPOS,VBELN)
VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
(VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
Apart from these tables there are lot of other tables which starts with
V, but we use the following tables frequently.
VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
VBTYP= C(Sales Order) VBTYP=J(Delivery) VBTYP=M(Invoice)
VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
VEDA: Contract Data(VBELN,VPOSN)
VEDAPO: Contract Data(VBELN,VPOSN)
Vendor related MM tables
EBAN-- Pur.Reqn. Data (BANFN,BNFPO,BADAT,MATNR)
EBKN-- Purchase Requisition Account Assignment(BANFN,BNFPO,VBELN)
EINA- Purchase Info.Record (General Data)(INFNR,MATNR,LIFNR)
EINE-- Purchase Info.Record (Pur.Orgn Data )(INFNR,EKORG)
ELBK-- Vendor Evaluation Header Data(LIFNR,EKORG,KLASS)
EKKO-- Purchase Order Data (Header)(EBELN,BSTYP,BSART)
EKPO-- Purchase Order Data (Item)(EBELN,EBELP,MATNR)
RFQ and PO are differentiated by Doc Type(BSTYP)in EKKO table.
For RFQ it is A and for PO it is F.
MKPF-- GRN Data (Header) (EBELN,BLDAT,BUDAT,XBLNR,BKTXT)
MSEG-- GRN Data (Item)(MBLNR,BWART,LIFNR,MATNR,EBELN)
Apart from this there are lot of tables which begin with 'M'& 'E', but we
use the following very often.
EKBE--PO History Data (EBELN,EBELP,BELNR,BLDAT,MATNR,VGABE)
EKBZ--PO History with delivery Costs(EBELN,BELNR,LIFNR,XBLNR)
EKET--Schedule lines data of a PO (EBELN,EINDT,SLFDT)
EKES--Vendor Confirmations Data(EBELN,EBTYP,EINDT,XBLNR)
Reward points if useful
Regards
Anji -
Creating Custom Page Size less than one inch
I currently have Acrobat 6 on Windows XP, and it appears that I cannot set a custom page size less than one inch (Using Printer Preferences). Is there another method I can use to create a PDF from Publisher that has a page size less than one inch? If not, would updating to Acrobat 9 allow me to print to a custom page size of less than one inch?
Thanks Peggy,
I tried deleting the preference file and restarting Pages but I still have the same problem with the custom page size. When I start Pages I am presented with a bunch of templates so I choose Blank then I go through my procedure to select the custom page size that I created and always end up back at an A4 document.
I have used the demo version of Stone Create to do what I needed to do with the small page size (ie. create a small ad) but it is a pain that I paid for Pages and now will need to buy something like Stone Create to do what I need. Although, that said, having used Stone Create for this little ad I must say that for the price it seems like a pretty decent program that will do a whole lot of the desktop publishing type of functions without the rather steep prices of the Adobe products. I kind of wish I had bought this program instead of Pages now.
Cheers,
Graham -
BAPI_SALESORDER_CREATEFROMDAT2 and Sales Contract
We're having trouble with BAPI_SALESORDER_CREATEFROMDAT2 getting a corresponding sales contract price.
For some reason the BAPI can not get a price from corresponding sales contract.There is a statement in the standard SAP program that checks if there is a function call and skips a peice of logic I think is checking for preceding sales document.
I couldnu2019t find any OSS note that will fix this.It seems like a pretty common business scenario. Has anyone run into this before, and if so, how did you fix it?Hi Friend,
The BAPI does not check preceding document for price.
Please check program is passing proper condition type and price to the BAPI parameter ORDER_CONDITIONS_IN. And also check ORDER_CONDITIONS_INX is getting populted with proper values.
Hope it will help you.
Regards
Krishnendu -
Want to creat customer and vendor as per Co. Branch (Profit Center) wise.
Hello friends,
I am in a critical case, my client want the customer and vendor as per company branch wise (i.e. Profit Center wise) not by account Group wise but as per my knowledge we can create the customer and the vendor as per account group..
Kindly let me know if there is any procedure or configuration/ Customization to create the Customer and Vendor as per u201CCompany branchu201D wise. Please let me know the detail steps for itu2026
Have a very Nice Dayu2026
With regards
Amresh..Dear Amresh,
Customer and vendor master are maintained in company code level.
this cannot be maintained profit center level.
What actually does your client wants.
To get report receivable and payable profit center wise you can use S_AC0_52000887 and S_AC0_52000888.
Please be more specific to solve the issue faster. -
Create customized and managed msi package for software installation in gpo
Hello everybody,
I have a many users in a domain and need to install different software on systems ,but each software has it's own
configuration, for example we need to install internet download manager(idm) and want to check mark and define some options in menus .
what's the solution ? or which program is good to create msi package with custom details ?
thanks for replyHi Nima,
>>or which program is good to create msi package with custom details ?
Based on your description, we can try to use Orca.exe to customize .msi package.
Regarding this point, the following thread and articles can be referred to for more information.
Create custom .msi package from existing .msi
https://social.technet.microsoft.com/Forums/windows/en-US/6059d374-8cfc-4229-bca8-93a34aaff314/create-custom-msi-package-from-existing-msi?forum=itproxpsp
Orca.exe
http://msdn.microsoft.com/en-us/library/aa370557(v=vs.85).aspx
Customizing MSI packages with ORCA
http://www.frickelsoft.net/blog/?p=240
Besides, to use group policy to deploy software, the following article can be referred to as reference.
How to use Group Policy to remotely install software in Windows Server 2008 and in Windows Server 2003
http://support.microsoft.com/kb/816102
Best regards,
Frank Shen -
Create customer and more site with credit limit by customer interface
hi everyone
I want to create customer with more site with credit limit by interface
I mean i have one customer but it has a lot of site with different credit limit
how to do this by interface
plzThanks
-
User-Exit for Checking Customer and Sale order type in Sales Order Creation
Hi Experts,
While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
Please suggest me if any user-exit or enhancement or BADI available for it.
Thanks & Regards,
-VMHi
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
mark if helpful
Regs,
Tushar Mundlik -
How to create idoc and send it frm one sap to another sap
hi,
can anyone tell me the complete procedure of creating the idoc and sending it to another sap r/3
how to create rfc destination, partner profiles, port and outbound parameter and inbound parameter
thanksHi Azhar,
Go through the following Links
IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Go through the following Steps for Creating IDoc Via ALE
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards
Sreeni -
"Bill to" Customer and sales order company code
Hi friends,
Can you please tell me that in sales order, what is the "Bill To" customer? Is it "Sold-to party" or "Ship-to party" or something else? In which table is it stored and what is the field name?
In which table I can find the company code related to a sales order?
Thanks and Regards,
NetreyHi Netrey,
Ship-to-party is nothing but to which party the material has to be shipped
Sold-to-party is nothing but to which party the material has be sold
Regarding Bill-to-Party, go through the below example
If a company has a headquarters in Banglore and it has branches in Chennai, Hyderabad and Pune.
If the people from chennai branch require some goods and they will look for a vendor and they will buy from him .
they will ask the vendor to send the bill to their headquarters in banglore and ship the goods to their chennai location.
for the above example
Ship-to-Party is chennai office
Sold-to-Party is chennai office
Bill-to-party is Banglore Head quarters.
Regarding the company code, it is stored in the table VBAK and the field name is
BUKRS_VF.
If i am wrong please correct me.
Regards,
Phani. -
Dynamic create sequence and select nextval within one transaction
The following procedure doesn't compile if sequence SEQ_ADR does not exist before compilation. I had to create the sequence manually before being able to compile this procedure. How can I avoid this manual generation?
PROCEDURE A_270(proc_id number) IS
seq_cnt number;
curr_max number;
BEGIN
select count(*) into seq_cnt from user_sequences where sequence_name='SEQ_ADR';
if seq_cnt > 0 then
execute immediate 'drop sequence SEQ_ADR';
end if;
select max(id)+1 into curr_max from adress;
execute immediate 'create sequence SEQ_ADR start with '||curr_max||'';
insert into adress(ID,
IMPORTED_DT
select
SEQ_ADR.nextval ID,
sysdate IMPORTED_DT
from new_adress;
END;Edited by: totalnewby on Aug 23, 2012 6:41 AMtotalnewby wrote:
The following procedure doesn't compile if sequence SEQ_ADR does not exist before compilation. I had to create the sequence manually before being able to compile this procedure. How can I avoid this manual generation?
PROCEDURE A_270(proc_id number) IS
seq_cnt number;
curr_max number;
BEGIN
select count(*) into seq_cnt from user_sequences where sequence_name='SEQ_ADR';
if seq_cnt > 0 then
execute immediate 'drop sequence SEQ_ADR';
end if;
select max(id)+1 into curr_max from adress;
execute immediate 'create sequence SEQ_ADR start with '||curr_max||'';
insert into adress(ID,
IMPORTED_DT
select
SEQ_ADR.nextval ID,
sysdate IMPORTED_DT
from new_adress;
END;Edited by: totalnewby on Aug 23, 2012 6:41 AMEssentially the same question asked by 'gogol' two days ago at creating and using sequence inside a proc
It was a bad idea then. It is a bad idea now.
Maybe you are looking for
-
I've paid for my monthly $2.99 for phone services which says it also comes with a skype number, but my number is telling me that I need to pay $18 and when I make calls it is some random number and I cannot recieve calls. Do I have to pay both sepera
-
How to get listed as a XMP partner?
Hi there We have just released a major metadata/keywords update, to our Digital Asset Management solution, based on Adobes XMP format. Does anybody know how to get listed on the XMP partner page: http://www.adobe.com/products/xmp/partners.html Thanks
-
F4 Help on Date Field after ALV is generated
Hi all, Now this might sound very simple question, but Im having some difficulty in this. My idea is to have an F4 on a date field after the ALV Grid report is executed. From the forum search, Ive got such answers as l_fieldcat-edit = 'X'. l_
-
Problems with the CrossTable Function "Sort"
Hello, I have a Problem with the "nice" crosstabfunction of the DesignStudio. When I create from a datasource the crosstab and enable the function for sorting it is only possible to sort the first column. The other columns get the sign into the Heade
-
I try to save content of email in db, Message msContent=message.getContent(); after java.io.InputStream mesAsInputStream=(InputStream)msContent; But I receive exception Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot