Assign BP ID to BP external number
Hello All,
My requirement is to assign BP ID to BP external number attribute while changing an existing BP or creating a new BP. I tried to implement follwoing BADI's using fucntion modules:
BADI's which I have tried are:
PARTNER_UPDATE
BUPA_GENERAL_UPDATE
BUPA_GENERAL_EXPORT
using following code:
CALL FUNCTION 'BUPA_GENERAL_CALLBACK'
TABLES
et_but000_old = lt_but000_old
et_but000_new = lt_but000_new
et_but000_td_new = it_but000_td_new
et_but000_td_old = it_but000_td_old
EXCEPTIONS
OTHERS = 0.
LOOP AT lt_but000_new ASSIGNING <ls_but000_new>.
IF <ls_but000_new>-partner <> <ls_but000_new>-bpext.
MOVE-CORRESPONDING <ls_but000_new> TO ls_but000_upd.
MOVE-CORRESPONDING <ls_but000_new> TO ls_but000_old.
MOVE-CORRESPONDING <ls_but000_new> TO ls_but000.
ls_but000_upd-bpext = <ls_but000_new>-partner.
ls_but000-AKTDB = 'X'.
ls_but000-AKTYP = 'X'.
ls_but000-XCHNG = 'X'.
APPEND ls_but000_upd TO it_but000_td_new.
APPEND ls_but000 TO it_but000_td.
APPEND ls_but000_old TO it_but000_td_old.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BUP_BUPA_UPDATE'
TABLES
t_but000 = it_but000_td
t_but000_td = it_but000_td_new
t_but000_td_old = it_but000_td_old.
In place of BUP_BUPA_UPDATE, I tried BUPA_GENERAL_FILL as well but I am not able to change bp external attribute. Will appreciate if someone can let me know what I am doing wrong and let me know the right Function modules/BADI.
Thanks,
Sandeep
Hi,
you can use a characteristic relationship of type exit to achieve your requirement
https://help.sap.com/saphelp_nw73/helpdata/en/4c/b82d6b54182102e10000000a42189e/content.htm
hope it helps.
Similar Messages
-
How to assign numbers in external number range?
Dear experts,
Since NUMBER_GET_NEXT can only be used to assign numbers in internal number range, how to assign numbers in external number range?
So far, I only know the NUMBER_CHECK function module to deal with external number ranges and it only check a number whether it lies in any external number range or not, but it doesn't update any number range status. What I need is a function module like NUMBER_GET_NEXT that supports external number range.
Thanks in advance.
Regards,
Haris
Edited by: harissahlan on Oct 19, 2011 5:44 AMWith external number range, there is no updating of the number range objectt. The only thing you need to know is whether the number you wish to assign is allowed according to the external number range. And also check if there isn't already an object/document with the same number in the database.
-
Hi Experts.
We are using Standalone SRM.
In this how to assign external number to business partner.I have checked in BUT000 table for my Business partner, in this i can't get any external number assigned to business partner.
Please tell me how to assign external number to BP.
Regards,
ChanduHi Chandu
External number range means some external system provides number range for vendor other than EBP
Plz visit BUCF - tcode for BP no range. for eg you pulled same vendor number from r/3 to ebp and it must flag in srm as external.
also see this.cross apllication components->SAP business partners>Business partners>basic setting> number ranges and grouping>Define grouping and assign numbe ranges.
What is your master vendor database system ebp or some external system. if you create a vendors in srm then it is internal only .if you get a vendor from external system then only external possible.
regards
Muthu -
Exit for assigning external number range to sales document
hello friends,
can anyone help with this issue.in tcode 'vn01' we are assiging internal number range but we dont want that number range that is external number range rather than using internal number for sales document.i.e the number range should start with 'ufc'followed by some number range.
plz reply as soon as possible .
thanks and regards,
siriHi Sirisha,
I believe you can assign external number range manually by using transaction SNRO and then assign the number range before entering into the main screen of VA01 or saving the document.
The number range is linked to the order type (VBAK-AUART), this is done in customizing.
For different sales area it need to have different number ranges for the same order type.
Please see that the same sales doument number should not be linked to several sales orders which are to be created,if I am not wrong
Regards,
Naresh
****Please do reward points if found useful -
BATCH Management - External number
Hi
I am having a scenario where I need to activate the external number assignment for a batch in a specific plant. ( We do have around 50 plants)
Internal batch number and Automatic batch number assignment is activated at the client level. which is creating worries for me.
with activation of external numbers for batches , I do want to make this mandatory to put external batch at the time of <b>MIGO for Raw materials</b> and <b>CO11N at the time of operation confirmation for finshed goods</b> <u><i>( obvisously only for the materials having Batch management check activated in material master )</i></u>
Grateful if somebody could help me in acheving this..
BR
SumitHello Vikesh
Thanks for the reply.But bro..as I mentioned before also , i caant do the changes mentioned by you as its used by other 10 plants for the same client.
I need to do this for a specific plant only , and We dont want to create batch manually , system should create batch number with external number range for the movement typr 101 <b>( for raw materials at the time of MIGO and for finished goods at the time of prod.order operation confirmation in CO11N)</b>.
Pl coorect me if i am too ambitios for this ..but thts wht we r looking for,,
BR
Sumit Sharma -
Creation of HU in auto mode with external number range
Dear Experts,
I'm stucking in a scenario related to HUM
There are two handling units -
1. Bag
2. Pallet
through T code HU02 , it's possible to create an HU and assign it internal generated number.
But as per our requirement , we want to assign the external number to the HU (which is barcode number of bag or pallet)
Can you pls let me know the process of assigning External number range to HU.
Also we want to create the HU automatically after GR in production (MIGO,101) , instead of manually via HU02.
Pls explin the process of creation of HU automatically also...
Thanks in advance..Check with FM BAPI_HU_PACK.For packing an item into HU.
For external number range you need configure external number range
SPRO>Logistics - General>Handling Unit Management>Basics>Technical Basics-->Define Number Ranges for Handling Units.
After GR for production you need to confighre internal number range for perticular packing material type then system will automatically pack and place in HU location.
Please find some FM info
=========================
HU_BASIC_BAPIS Basic BAPIs for HUs
BAPI_HU_CHANGE_HEADER Change Handling Unit Header Data
BAPI_HU_CREATE Create Handling Unit with Items
BAPI_HU_DELETE BAPI for Deleting Handling Units
BAPI_HU_DISPLAY_HISTORY Displays HU History
BAPI_HU_GETLIST Read Handling Units from the Database
BAPI_HU_GET_LIST_MSG Select Handling Unit Output
BAPI_HU_PACK BAPI for Packing an Item into an HU
BAPI_HU_PROCESS_MSG HU Output Processing
BAPI_HU_PROCESS_MSG_DIRECT Select and Process Handling-Unit Outputs
BAPI_HU_REPACK Repack HUs and HU Items
BAPI_HU_UNPACK BAPI for Unpacking an Item from an HU
BOR_HU_DISPLAY Display an HU in Dialog Mode
=================================== -
External number range for purchase order response?
Hi all,
is it possible to use an external number range when creating purchase order responses (BUS2209, PCO, POR) manually?
If I transfer the POR from an external system like SUS via XML, can I use an external number range?
I'm using SRM 4.0 (EBP 5.0) in standalone scenario with Business Connector 4.7 as XML interface.
Any help is appreciated,
KarstenHi
No need to maintian Internal number range.. Yes you need to use an external number range
Only the PO, RQ & RS are sync and therefore must correspond with the R/3 number ranges.
The rest, Shop Cart (SC), Local PO (EBP), Confirmation, Invoice, Bid Inv and Bid, aren't synced and can be assigned to any number range. (FYI- using ECS)
Re: Extended Classic - Purchase Order Number Ranges
http://help.sap.com/saphelp_srm50/helpdata/en/87/7cc73cee4fb55be10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/6d/0f343e47fd6b2ee10000000a114084/frameset.htm
Re: Number range config
Re: config for Number Ranges ? :-(
Re: PO Creation with external PO number
Purchase Order Response BUS2232
PO number range Issue
Re: Defining the number range
Regards
- Atul -
Customer external number problem
i have given customer external number range
for ex, cna10000 to cnz9999 as i want to know customer by c, and n for north region and a for the alphabet, but system is allowing me to input
cnnnnn100, and other wise also,
how can i restrict that the system
thanksDear varada rajan,
If i understood your question correctly that U need to assign external number range with charecter + number .
If this is correct , then
1. Go to SPRO -- Logistic general -- busines partners - Customer -- control -
A. Define Account Groups and Field Selection for Customers :
copy your existing account group and in general data maintain A1 ( you can mention as per your logic ) .
B.Define and Assign Customer Number Ranges -
i. Maintain CNA1000 to CNA2000 and mark tick in External number range
ii. Assign Number Ranges to Account Groups : here you assign the number range against the account group.
Now , you can create customer number range between
CNA1000 to CNA2000.
saravanan -
Dear Gurus,
I tried creating a new material A00001212 in MM01 (Material Master Record), Select material type HAWA, press enter.
System keeps displaying or the systems changes A00001212 in to material 99990 and error shows " Number 99990 not defined for material type HAWA".
I already have assigned HAWA in MMNR - Groups - With External Number. Still the same problem.
from where this 99990 coming from?
Anyone care to share their experiences on this. Thank you.
Regards,
BerHi,
The issue you are getting material type HAWA not assigned to proper Number Range Group text.
Now find out " Number range group text" for external numbering for example:A00001212. In t.code:MMNR,double click HAWA material type and select check box of your "Number Range Group text" and click Element/Group in the Application Bar ( view your HAWA material type is assigned to Number Range Group text) and Save.
You can now create new material A00001212 in MM01 (Material Master Record) by selecting material type HAWA.
For more, refer
Number range for material type
No external number assignment possible for mat. type Semifinished Product
Regards,
Biju K -
BAPI PO creation by using External Number
Hi ,
I want to create Purchase order with some external number.By using BAPI_PO_CREATE1 i can able to create purchase orders but its generating system generated(internal) purchase order number.In Header Parameters i assigned external number even though system is created Purchase order with the internal number sequence.
Kindly give me the solution for this.
Thanks in Advance
regards,
kishore.If you pass the BAPI header and headerx structures EBELN fields and the order type has been configured to use external reference numbers, then there should be no problem doing this. What happens if you try to create an order for the same order type in ME21N? Do you get a system generated order number or can you enter it yourself?
-
Root org. unit with External number range
Hi all,
I have a unique requirement.
We need to create a root org. unit. I used PP0CE to do the same. But it would generate org. unit numbers internally i.e. system generated.
We would like to assign an external number range to the root org. unit created.
In case I try to create it using PP01, we have to provide a relationship to other org. unit while creating root org. unit in PP01.
It would be great if someone can tell me the solution for this issue.
Regards,
BharatHi Bharat,
You can maintain number range even for org units, as follows:
Here
01 - plan version
A, C, O, P etc are object types
after selecting the respective ie 01O IN Ex ,
now click on maintain number range where you can clearly specify the number range either internal or external.
Then u can start with TC PPOCE
Thanks
Sai -
HOW TO GIVE EXTERNAL NUMBER FOR ORG UNIT
HOW TO GIVE EXTERNAL NUMBER FOR ORG UNIT
Regards,
KumarHAI..
External number assignment
If you want the user to assign the numbers, enter "EX" in the 'NR' field. The number ranges are then indicated by the letters "EX".
Number assignment for plan version 10 / object type S: Subgroup 10S -
Measuring point External Number range
Dear Masters,
I am trying to create the external number range for one of my measuring point type. Is it not possible to do so? If no why? If yes how?
Thanks to all in advance.Hello Vaibhav,
I have already followed the steps given by you only I cannot find the assignment of measuring point category to the number range. I have also done the number range assignment for equipment and functional location but there it exists here it does not.
It is also showing me the error of external number while creating the new measuring point. Please do guide about the assignment to the number range.
Thanks again. -
How to set external number for SAP shipment ?
How to manually assign external number in alphanumeric like AB07089999 for SAP shipment (via VT01N) ?
Edited by: MicMic on Sep 19, 2011 6:13 AMHi,
As i know there is no possibility if alphanumeric number range in sap.You check with any exit before updating the no in database.check this and post .
Regards,
Madhu. -
How to change internal number range into external number range
Hi All,
There is a number range in the system which was assigned internally by mistake earlier. Now, I want to change the internally assigned number range to external number range.
Can anyone please let me know, the procedure to change used number range from internal number range to external number range and from external number range to internal number range.
Quick reply will be appreciated & points will be assigned.
Thanks & Regards,hi Mehak,
you can try to simply change the range from ext to int (and vica versa). If that does not wrok, than you can delete the range and recreate it with proper settings. But you have to take into account that if you have a range as external from 1 to 10 and for example numbers 2 and 5 are taken already than you recreate the range 1..10 as internal, than you could have some problems. Probably best is in this case to recreate with other interval.
hope this helps
ec
Maybe you are looking for
-
Do I need to have final cut pro to use motion?
Do i Have to have final cut to use motion or can i use imovie?
-
How to transfer the OTM 8.5 data to OTM 9.0 version
Hello, I've installed the OTM 9.0 version in the server. how can i transfer the data from 8.5 to 9.0 tool ?
-
PO price field in PR not allow to change
Hi, We have facing the problem related to PO price field in PR Network through we are creating the PR, so system showing the field PO price under the valuation tab is always u201DAs Net Priceu201D and not allowing to change for this field. My Quire
-
Can someone send me Motivators eeprom
Hi All, I'm looking to fix my eeprom problem by flashing it after desoldering it from the motherboard. I need the schematic motivator had though and the instructions. If anyone has these can they email it Thanks T
-
Xmonad - prevent web browser from going "fullscreen"
Hi, is there a possibility in xmonad to prevent an application (in my case the web browser) from resizing to fullscreen when it's the only window on a workspace? I have a huge display and do not want chromium to resize to the full resolution. I've do