Automatic Creation of BP Code
Would like to automatically find the next availble BP code, independent if the BP is a customer/supplier/lead.
Current structure and setup for BPs example (no C or S prefixed)
100100 Customer
100101 Supplier
101102 Customer
101103 Customer
101104 Supplier
This formula finds the next BP code available for that card type
SELECT MAX(T0.CardCode)+1 FROM OCRD T0 WHERE T0.CARDTYPE = $[OCRD.CARDTYPE] FOR BROWSE
Using example BP numbers above and this formula to create a new Customer number, the customer number returned would be 101104, but this number already exisits!
What formula would be used to find the next available BP number, in isolation of BP type.
Thnks inadvanced for your assistance.
The sample code has been taken from the SAP notes - in which have the affected as outlined in the example.
The codes does not do what my requirements are, which is to identify the next available number in isolation of the BP type.
Similar Messages
-
Automatic creation of Company Code and Sales Area Data for Customer Master
Hi,
We have a organisation structure setup with multiple company codes and sales areas.
A customer will be created using VD01 via the Sales Order VA01. Because the customers are created using VD01 we need to automatically extend the customer for the various company codes and sales areas. The data on these views will be populated using reference customers.
Any recommendations on the best approach (technically) to auto extend the customer master would be appreciated.
I'm reluctant to use BDC's because of performance. We are in a Retail environment.
Thanks in advance
CraigThe sample code has been taken from the SAP notes - in which have the affected as outlined in the example.
The codes does not do what my requirements are, which is to identify the next available number in isolation of the BP type. -
Automatic creation of Notification using T-code IK11
Hi Gurus,
i got stuck in a requirement, where they want Automatic creation of notification using T-code IK11.
I am using EXIT IMRC0001.
Please guide me that with what logic i should go.
Thanks
Regards
VICKY
Moderator Message: Vague Question. Expecting others to do your work for you => Thread Locked.
Edited by: kishan P on May 12, 2011 12:35 PMIn the role give Authorization object P_ORIGIN for Infotype 0, 1 and 2. with Authorization level as R (read)
This will resolve your issue then no need to give sap_all authorization
Good Luck
- Ashish -
Automatic creation of Material Master at the time raising the PO !!!
Hello All,
I am stuck in a scenario of our client which should be implemented (or mapped) in SAP.
Scenario: At the time of creating the PO (in there legacy system -in house developed) they can choose the items from the existing master data or/and they can also add a new item (which is not present in the master data records at the time of creating the PO).
Now as soon as the system realise that a new item is inserted into the PO, it will create that item record automatically in the backend (database) and the master data will be present from there on.
The items they are dealing with are all fashion accessories and they generate order on the following basis:
1. Demand of particular item in market.
2. List of items provided by the vendor.
3. Based on the requirement in there outlets.
So for them its very difficult to fix there master data records, as it can be changed daily or monthly as per the market conditions. At the same time every time they order, its almost around 100 different items (some time 80 of them are new) in a single PO so they cannot create 80 records manually each time.
These items are not consumable material so obviously they are maintaining the stock for them. They are also not going to use IS Retail.
I am not at all sure how can we map this particular practice in SAP, it would be really appreciated if any one could help me on this problem.
Please let me know if you need any other details from my side.Hi,
As you have two different systems one in house developed and another SAP, and the PO creation part starts from Legasy system which creats the PO in SAP, you can do some development as per below
1: While Passing the details from legasy to SAP, use two columns in legasy one will contain the Material Code of ECC (for laready exist material ) and another for deescription of material.
2: In case material is new for which there is no material master in ECC pass only description from legasy systems.
3:While getting triggred from Legasy to ECC to create the PO, first check whehter all the material code exists or not in ECC.
4:If some material are not created (only description present) for those material first create the Material Code using BAPI 'BAPI_MATERIAL_SAVEDATA'.
5: Aftre creation of Material code create the PO using BAPI ' BAPI_PO_CREATE1'.
6:For the new created material , trnasfre the master record from ECC to Legasy systemso that next time user can see that material in your legasy system.
Regards,
Zafar -
Automatic creation of po during goods receipt
Dear all,
po has not been created, but while receiving the material i want automatic generation of po. i have some knowledge about it but it is not working. Can some one send detailed information. with navigation details. Tips that are posted on the sdn is not working.
RegardsHi
Pl Make sure you have done following settings for the Automatic Creation of PO during GR:
1) In SPRO ---> Enterprise Structure ---> Assignment -
> Material Management ---> Assign Std. Purchase Org. to your Plant...
2) In Material Master -
> Purchasing View -
> Pl. Check. Automatic PO check Box and Maintain Purchasing Group....
3)Create your Vendor for oyur Company Code and Std. Pur. Org. combination and in that Vendor Master -> Purchasing Data View--- > Pl. Check Auto. PO Check Box...
4)For your Vendor -Material Master - Plant -Std. Pur. Org combination Maintain valid Info record...
5)In OLMB ---> Goods Receipt -
> Automatic Creation of PO ---> for the M.Type:101 pl. check Auto PO check Box
6) In OLMB ---> Movement types ---> Copy,Delete, Check M.Types ---> Choose the M.Type:101 and go into Details -
> Then goto allowed Fields for M.Types for M.Type:101 ---> there for the M.Type:101 make the field LIFNR as a Mandatoty field...
If you have done the above settings properly...then in MIGO ---> Choose Transaction GR and referance as Others
and do the GR....Make sure you are doing GR with M.Type:101....and yougive the Vendor's name during GR....
Now If you save the GR ...automatically PO will be created...
this you can see it by displaying the MIGO Document..
Reward if useful
Regards
S.baskaran -
Automatic creation of BP from SAP User (created manually) in PPM 5.0
Hi Gurus;
There are some way to create BP automaticaly from SAP User?
I know that exits some Function Module BP* can do this automatic creation.
Someone did this?
Best regards.
MarianoHi Rajadurai,
In the BADI - BUPA_FURTHER_CHECKS implement the method - CHECK_CENTRAL.
The following code could serve your purpose:
IF IV_ACTIVITY eq '01'. "Check if it is for creation
CALL FUNCTION 'BUPR_RELATIONSHIP_CREATE'
EXPORTING
IV_PARTNER_1 = IV_PARTNER
IV_PARTNER_2 = LV_createdby "BP no of the creator
IV_RELATIONSHIP = 'BUR011' "Code for emp. resp
IV_DATE_FROM = SY-DATLO
IV_DATE_TO = '99991231'.
endif. -
Automate Creation of new items in EBS
Hey everyone -
Just a question ,
we want to automate creation of new items in our system.
Our view is something like -
1. user GUI to request a new item, according to predefined templates.
2. Users fill a few fields of information.
3. Item manager gets notified and approves item is needed.
4. Automation to run batch and create everything relevant. (org assignment, item KFF, category assignments, BOMs etc). As much automation as possible, we can map template behaviour, variety is small.
I was wondering if there is any product supporting such behaviour.
I looked into Oracle's APC, and it seems like it doesnt do enough. Besides as far as I noticed it relies mostly on Item Catalog attributes which we don't. Also Im not sure if this product is "alive" coz oracle bought AGILE for PLM.
Does anyone know of a product that supports creation of new items and is flexible to fit our needs?
We want to make sure we're not missing something before we develop custom code for that.
Thanks,
AaronHi,
This is prom PIM to Oracle
I have done an interface which creates an item in master and child .Which assighns category set on iots level controls .It inserts item into all active subinventories.
It notifies the end user with email any item already exits and error .
Regarding templates.
it assigs compatible templates at master and org leve.These are predefined and are not validated in program
Edited by: Sankuratri on Apr 5, 2009 10:02 PM -
Automatic creation of Shipment VT01N
Is it possible to have an automatic creation of shipment for a particular customer in transaction VT01N? If yes, could you kindly tell me how?
I am thinking if it is possible to make a batch job to do this?
Thanks in advance for the response.Try T-Codes:
1. VT04 - Collective Processing
2. VT07 - Collective Processing in Background
Hope this helps,
Thanks,
Jignesh Mehta -
Automatic creation of new tax classification
Hi
Help needed in understanding......
Automatic creation of tax classification in taxes in billing tab of customer master , after creation of a sales depot in a different country
thanks
AnilUnless you use jurisdiction codes, and no external tax system, for
example with tax procedure TAXUSJ, there is no validity dates for the
condition records. You can see this differnce by comparing the tables
A003 without jurisdiction codes and A053 with jurisdiction codes. A053
contains the extra fields DATBI (key field) and DATAB. This is the
standard functionality.
Please have a look at the following part of note 418582:
" Changing past percentage rates has to be inhibited in order to avoid
database inconsistencies. For this reason, the functions which allow you
to transport time-dependent tax codes with percentage rates from the
past are not supported." -
Automatic Creation of Employee Vendor record when hired in HR
Hi Gurus,
Any assistance in Automatic creation of Employee vendor record when the employee is hired in HR master data.
Thanks in Advance
BLITZZHi,
Use the t.code: PRAA. Give reference to an existing employee vendor.
Or, you can also create a batch job that runs this daily. Before that you need to create a reference employee vendor and input the most common fields in it (like, Recon Account, Payment method, etc.).
Regards,
Kiron Kumar T. -
Automatic creation of debit or credit memo
Hi All,
I have a requirement of automatic creation of credit note with reference to sales order when i click save at transaction VF01 after generating billing document against delivery number.
I used the include ZXVVFU08 it is triggered when the save button is pressed in VF01. i have wriiten BDC code in this include. At the point when i click save, the billing number is getting generated but credit memo is not getting generate.It is giving an error 'No billing documents were generated'
How do i ensure that the invoice number is already saved before the BDC starts?
Need help. Thank you!Dear seetharamsapsd ,
Create a new document type for both credit memo and debit memo requests.
Copy control to the respective credit memo and debit memo should be there.
Pricing procedure should contain provision to map the difference amount.
Create a Z program recording a BDC for the creation of Debit and credit memo request.
It is better to keep have only one Z program.
In the program write a logic to check the price change comparing the values of previous month created orders and
this months condition record values.
Based on whether there is increase or decrease , system should run the respective BDC for the debit or credit memo request.
This program can be set in background maybe at midnight.
Also save VF04 as a background job (so that the debit / credit memos as also created automatically)
Set this VF04 background job to run after say 1 or 2 hours from the time our Z program is running.
I hope you know the different tables/fields from where you can get the desired condition to run the program.
Thanks & Regards,
Hegal K Charles -
Disable Automatic Creation of Serial Number at GRN
Dear Gurus
All my materials are subjected to serial numbers and the serial number profile is activated in the material master.
At the time of GRN, the serial numbers to be selected from the already uploaded list.
But there is a option to craete serial numbers automatically ( a check box to tick at MIGO GRN serial number tab)
Need to deactivate the same as the users tend to tick this by mistake.
Please guide me on the process.
Thanks in Advance.
NalindaRHi Nalinda,
You got solve this question? I have the same problem, and I need disable de automatic creation of serial Number in all transactions, because serials nrs are always external. And I could not do anything with the profile of the serial nr in t-code OIS2.
You can give me some information that help in this question.
Thanks in advance.
Mary -
CO: IO automatic Creation of settlement rule
Hello everyone,
We created a customer field in internal order (ZWBS field).
Now, I customized all transactions:
1. By T-code KSR4 I created Strategy 'C25'.
2. I created Strategy Seq. called 'ZC25' by T-Code 'KSR2_ORC'.
3. I' have Assigned the strategy Seq. to the order type by T-code 'KSR2_ORC'.
When I create and internal order and go into Settlement rule I can see the two lines (FUL & PER) exactly like I've customized, but when I'm saving the order, the settlement rules are not save with the order.
Is anyone met with a problem like that?
I'll be gratefull for your help.
Thanks,
LiorHi Lior,
Is this the same with CO: Automatic creation of Settlement rule - settlement rule not saved?
Best Regards,
Owen -
CO: Automatic creation of Settlement rule - settlement rule not saved
Hello,
First, We have a customer field in our internal order called 'ZWBS'.
also, I have customized automatic Creation of settlement rule for internal order by:
1. T-code KSR4 - I have created Strategy called 'C25'.
2. I created Strategy Sequences for Automatic Generation of Settlement Rule called 'ZC25'
with T-code KSR2_ORC.
3.I Assigned the Strategy Sequence To Order Type ZC25.
4. I used User Exit COOM0003 in order to create Settlement rule from ZWBS field.
In KO01, when i go into the settlement rule I can see the 2 lines that the user exit created.
The problem is that when i'm saving the internal order the settlement rules are not saved.
My questions are:
1. Is anyone met this problem?
2. is the user exit work on T-code KO02 also?
thanks for your help.
Best regards,
LiorHi Lior,
Hope below information can give you some hints:
See the detailed description of the error for example for order, in transaction KO02, click button 'Master data', click button 'Settlement Rule', populate column category with 'PSG' and press
<enter>. On the 'Assignment to a Profitabilty Segment' screen press button 'Derivation' and see the long text of message K/111. In case the generation of settlement rules fails again later use these steps to find out why and check the derivation rule by means of transaction KECM.
Best Regards,
Owen -
Automatic creation of FI & Co Documents
Hi All SD Gurus
I want to block the automatic creation of Accounting (FI) and Controlling (CO) documents when I create a Billing Document (F2). Can anybody help me in blocking this automatic creation ? I will do 'Release to Accounting' by selecting the Billing Documents by VF04.
Thanks & Warm RegardsDear Anil,
As suugested by others, it is Billing Block in Billing Type configuration, which will not allow automatic posting to FI. T.Code fr Billing Type Configuration is VOFA.
Regards,
Rajesh Banka
Maybe you are looking for
-
Multiple apple ID on one computer?
I've got 10.8.2 and 2 users set up on it. One mine, wife the other. We've got seperate apple ID's. After she added her apple ID on her profile, I could no long do ITunes Match. Then I read that its because there can be only one apple IP per computer.
-
How do I enter text onto a PDF and have it automatically update in an Indesign file?
I am trying to enter text into an application form and then include the updated application into an extended indesign file. I would like to be able to change elements of the application, which would then automatically update in the Indesign file. I
-
Powerbook G$ display problems
Hi all I'm actuallu posting this on behalf of someone. They have a powerbook g4 and the display keeps going black. It isn't a sleep issue as i've checked all the settings and they're ok. The screen only goes back to normal after pressing return a cou
-
hi, can anyone help me out pleaes? i have few slide show SWF file, what use embeded image to show the slide show.. what i want? i want some one who can modify that swf file so that it will .. load image file from file and make the necessary change to
-
Disconnect session and kill session
Hi what is the difference between disconnect session and kill session Edited by: Pascal Nouma on 21/10/2009 16:23