Bdc for change of fixed vendor in me01
Dear All,
i want bdc if some vendor already present in me01 also fixed vendor is there .
if there is 4 vendor in any material and plant if my 1st vendor is fixed now if i want to
change my fixed vendor out put of remain 3.
so how can i do it
i want this change for large number of material
so how can i do it in bdc
plz help me regarding this.
Hello Lars,
Please check the following settings in cutomization;
SPRO>>Materials Management>>Purchasing>>Environment Data>>Define Default Values for Buyers.
Select : Double Click: Settings for Default Values.
Now select the group and go to Source determination Tab.
In tab under pre-setting of automatic source dtermination indicator.
Tick the check boxes Create purchase requistion and create purchase order vendor unknown.
Note: In ME01, if your vendor is external then you have maiantain thye vendor in vendor fileld. If vendor is internal (say plant to plant transfer) then vendor needs to be maintained under ppl field.
Br,
Tushar
Similar Messages
-
Table for Changes done to Vendor Bank Details
Hei ,
Please let me know the table which stores the old data when the Bank Key Or a Bank Account is changed for a particular Vendor.
Thanks .
Best Regards
om prakash ..Hi,
I agree with Krishna K that you will get changed data in tables CDPOS and CDHDR.
Please note that data flows into these tables only when change management is made active else you can use standard SAP transaction codes FI04 - Display Changes and S_P00_07000008 - Display of Bank Changes to see the changes made.
Regards,
Tejas -
hi..experts.........
the requirement is that the Client want to upload massive data of Change of Positions for particular employees... for this we can create a BDC report . But the problem is when the BDC session is processed only 0000 and 0001 infotypes are getting updated, whereas it should also update 1001 infotype.
I want call the report RHINTE00 from my BDC. But this report is coming before the session is processed. This report should be called after processing the session. Is it possible through Session method or shall I go for Call transaction.? How to call two transactions ....?
Thanks for ur reply.....
Regards,
Deep.Hi,
As per your requirment
first run the BDC through the session method ,after writing the FM bdc_close_group, u need to execute the session using RSBDCSUB program then u need to call the report the program 'RHINTE00'.
if you want tow run the two transactions use session method.
an if you use call transaction method decleare the internal table for error messaes ,use download the err or message in to presentation server then use submit statement and run the program .
Regards,
Madhu
Edited by: Madhu Babu on Mar 18, 2009 10:41 AM
Edited by: Madhu Babu on Mar 18, 2009 10:46 AM -
Exit or Enchancement for changing amount in vendor line item in MIRO
Dear All,
I want to change the amount in vendor line item which get posted through MIRO.System generated 2 line item in case of payment terms of retention is used.
Requirement is that, in one line item of vendor, amount should get changed based on the logic and adjust the amount in other line item of vendor.
Request to please let me know, Where in Exit/ Badi or enhancement spot, we can write our coding, so that it should update the amount with new value at the time of posting the document.
Thanks & Regards,
Abhinav JainHi,
Try with Badi ACC_DOCUMENT
Regards,
Azeem -
BDC for change customer(XD02)
Friends,
Actually I need to write a BDC to chnage the customer telephone numbers in XD02, but strange that it doesn't get recorded in SHDB properly. How to change the existing telephone numbers as they are in the table control and no function code is recorded in the SHDB to proceess them one by one.
Has anybody come accross this.
Please suggest.
Many Thanks,
Albert.hi
good
wheather you r using your own value or using the value that is present in the table control?
if you r using your own value than check the format in which the telephone number should be,
if you r taking the value from the table control , and you want to change the telephone number of present in that table conrol than you have to change the standard program related to xd02.
thanks
mrutyun^ -
Change fixed vendor for me01 through bdc
HI ALL,
if in t-code me01 for a material and plant we have some vendors out of which one is fixed vendor
now i want how can i change my fixed vendor through bdc . because i want to change fixed vendor for
large materials.
currently my fixed vendor is 100496 here fixed vendor is X
material plant valid form valid to vendor Fix
2000125 006 24.09.2009 31.12.9999 100496 X
2000125 006 24.09.2009 31.12.9999 100497
now i want to change my fixed vendor 100497.hi
you can change through bdc. you may need to loop through the list of materials if the same changes need to updated.
Cheers,
Hakim -
How to change Preferred Vendor to Fixed Vendor in SC - SRM-5.0
SRM Experts,
We are using SRM 5.0, ECC 6.0 and PI-7.0.
We are using classic scenario in SRM. When user selects the vendor with Outline agreement in SOS tab then SC creates PO in backend system because it has Fixed Vendor otherwise SC creates PR in the backend system.
We have a new requirement in SRM to create PO instead of PR in the backend system if Purchasing Org=5xxx and total value of SC is less than USD 5XXX and Vendor is a Preferred Vendor in the SC.
Do I need to use the Check Document BADI to check the total value of the SC and to check whether it is a Preferred Vendor and then in the Change Document BADI, change the value from Preferred Vendor to the Fixed Vendor before SC is saved?
OR someone has any other suggestions on this?
Which BADI is called first Check Document or Change Document before saving the SC?
Thanks in advance!
MPHi Atul/Disha,
I sent you my code and problem in detail at your email address.
Here is the requirement for Changing Preferred Vendor to Fixed Vendor. We are on SRM 5.0 and using classic scenario. I am new to SRM world. I also checked the note- 962474 in our system and it has been applied. We upgraded to SRM 5.0 in Oct-07.
1. My client has customization for sources of supply tab. It shows the vendor information in SOS tab based Product category, Plant and Purchasing group selected in the SC. If SC contains Vendor with Outline agreement then SC creates PO in the backend system. So in Change BADI logic for new enhancement of converting Preferred vendor into Fixed Vendor should not change anything in the SC using Outline agreement.
2. We have created Custom table-zsrm_fix_vend with fields, purchasing group, company code, currency and total value.
3. We need to convert the preferred vendor into fixed vendor
if the SCs 1st line item purchasing group = zsrm_fix_vend-ekorg and
SCs 1st line item company code = zsrm_fix_vend-bukrs and
SCs currency = zsrm_fix_vend-currency and
SCs Total value less than(<)zsrm_fix_vend-totalvalue.
My testing results and problems
1. When I create a new SC with less value than totalValue from the custom table, change document BADI is changing the preferred vendor into fixed vendor and it is creating PO in the backend system. So this is working as expected.
2. When I create a new SC with greater value than totalValue from the custom table, change document BADI is NOT changing the preferred vendor into fixed vendor and it is creating PR in the backend system. So this is working as expected.
3. When I use Outline agreement in the SC, it is creating PO in the backend so change BADI logic is not affecting this existing functionality which is good.
4. Problem - When I copy a new SC from existing SC with less value than totalValue from the custom table and then changing the amount with the greater value than the custom table, change document BADI is not changing the fixed vendor to the preferred vendor and when I click on sources of supply tab - it is giving me an error Partner Function may not be Changed and it exits me to main shopping cart screen.
5. Problem - When I copy a new SC from existing SC with greater value than totalValue from the custom table and then changing the amount with the lessser value than the custom table, change document BADI is not changing the preferred vendor to the fixed vendor and when I click on sources of supply tab - it is giving me an error Partner Function may not be Changed and it exits me to main shopping cart screen.
6. When I copy the SC with Outline Agreement and change the amount it works all the time it is not affected by the change document BADI which is good.
Please help me to resolve this issue.
Millions thanks to you!
MP -
Fixed vendor table in source list
Hi Friends,
We understand that EORD is the table for Source List.Fixed Vendor check which we maintain in source list (transaction ME01) does not get saved in the table EORD.It get saved at some other table,Can you please let me know the table name for this Fixed vendor check.
-Prasad.hi
ME03 field is actuly a structure not a table .
Structure RM06W
Short Description I/O Table, Source List, SAPDM06I
field : FESKZ Fixed source of supply
check in SE11
regards
ravikant -
Address Change in Customer/Vendor Master upon creation or change Master
Hi Expert,
We need to change some Address fields( *ADR6-SMTP_ADDR , ADRC-DEFLT_COMM, KNA1-TELTX, KNA1-TELX1*) in Customer Master based on some condition while creation/change the Master Data. I need to do same fields in Vendor Master as well.
I tried all the Possible exit Here.
If you know a Proper exit /BADI or one possible solution to solve my problem?
If anyone can provide any BAPI name which is used to Modify any customer/Vendor address will be very much helpful as well.
Thanks in Advance for your help.
Suman AdhikariHi Kesav,
For customer BAPI_"CUSTOMER_CHANGEFROMDATA" and "BAPI_CUSTOMER_CHANGEFROMDATA1" both Sales Organization is a required filed. Here we need to change some fileds(standard communication filed , Customer Email address, and Telex No) based on telex filed of customer for Customer irrespective of Sales Organization or any other constraints. The same requirement is for Vendor as well. If there is any proper exit/badi where KNA1 and address structure ADRC,ADR6 etc are available that will we good.
I just need to modify some address fields for customer as well as vendor. If there is any BAPI for change address(customer/Vendor) then that will also be helpful.
Suman Adhikari -
Problem in bdc to change std price to moving price
hi
I had created BDC for changing std price ' S ' to moving price ' V ' . I had done recording for MM02 Trans.
At the time of creation of material ,MM person selects different views for same type of material .
moving price presents in Accounting 1 View. In recording this view was at 13th position .but If I check my BDC for other material while running BDC in foreground it takes MRP1 view which is at 13th position
because here the no of views are more as compared to the recorded material .Again position of recording is also not matching.
please advice what to do in this case ?
Thanks in Advance.
Regards,
Atulhiii,
take the PSTAT field from mara for that particular material and make the following changes in ur code.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
'1' 'SAPLMGMM' '0060',
' ' 'BDC_CURSOR' 'RMMG1-MATNR',
' ' 'BDC_OKCODE' '/00',
' ' 'RMMG1-MATNR' new_material,
' ' 'RMMG1-MBRSH' ind_sec,
' ' 'RMMG1-MTART' mat_type.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'BDC_OKCODE' '=P+'.
SEARCH pstat FOR 'K'. "BASIC DATA
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(01)' 'X',
' ' 'MSICHTAUSW-KZSEL(02)' 'X'.
ENDIF.
SEARCH pstat FOR 'V'. "SALES ORG DATA
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(04)' 'X',
' ' 'MSICHTAUSW-KZSEL(05)' 'X',
' ' 'MSICHTAUSW-KZSEL(06)' 'X',
' ' 'MSICHTAUSW-KZSEL(07)' 'X',
' ' 'MSICHTAUSW-KZSEL(08)' 'X'.
ENDIF.
CLEAR flag_pur.
SEARCH pstat FOR 'E'. "PURCHASING
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(09)' 'X',
' ' 'MSICHTAUSW-KZSEL(10)' 'X',
' ' 'MSICHTAUSW-KZSEL(11)' 'X'.
*************SHAFI********
flag_pur = 'X'.
ENDIF.
SEARCH pstat FOR 'D'. "MRP
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(12)' 'X',
' ' 'MSICHTAUSW-KZSEL(13)' 'X',
' ' 'MSICHTAUSW-KZSEL(14)' 'X',
' ' 'MSICHTAUSW-KZSEL(15)' 'X'.
ENDIF.
SEARCH pstat FOR 'P'. "FORECASTING
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(16)' 'X'.
ENDIF.
SEARCH pstat FOR 'A'. "WORK SCHEDULING
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(17)' 'X'.
ENDIF.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
'1' 'SAPLMGMM' '0070',
' ' 'BDC_OKCODE' '=ENTR'.
SEARCH pstat FOR 'Z'. "GENERAL PLANT DATA/STORAGE LOCATION
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(01)' 'X',
' ' 'MSICHTAUSW-KZSEL(02)' 'X'.
ENDIF.
****************shafi**********
IF NOT v_drg IS INITIAL.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(02)' 'X'.
ENDIF.
SEARCH pstat FOR 'S'. "WAREHOUSE MGMT
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(03)' 'X',
' ' 'MSICHTAUSW-KZSEL(04)' 'X'.
ENDIF.
SEARCH pstat FOR 'Q'. "QUALITY MGMT
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(05)' 'X'.
ENDIF.
SEARCH pstat FOR 'B'. "ACCOUNTING
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(06)' 'X',
' ' 'MSICHTAUSW-KZSEL(07)' 'X'.
ENDIF.
SEARCH pstat FOR 'G'. "COSTING
IF sy-subrc = 0.
PERFORM POPULATE_BDC_TAB1 tables itab1 USING :
' ' 'MSICHTAUSW-KZSEL(08)' 'X',
' ' 'MSICHTAUSW-KZSEL(09)' 'X'.
ENDIF.
make sure that u have the ok code 'P+' for view which are displayed after u press page down event.
Hope it helps u..
Regards,
Anil N. -
hello all,
i am doing BDC for change routing (ca02) transaction.
in that my need is to assign PRT allocation for operations.
i have written a program for it but if suppose for a particlular operation i want to assign PRT and if there are no PRT assigned for that particular operation before that recording fails.and if already there is atleast one PRT assigned to that operation it runs fine. so i want to remove this error.for that may be i shd first record tha no of PRTS on screen and save that in particular counter and if suppose its greater than 0 then it will run the code and if not it will escape.
I know some of u will not understand the problem..in that case i have all screen shots and program ready for it ....plz send u r mail address to me and i will send u my problem with all details on u r mail id.waiting for quick reply.
Edited by: abhijeet shastri on Feb 5, 2008 9:01 AMhi,
Here you have to take 2 perform statements, one is for PRT and another one is for without PRT
After populating the input internal table, need check whether the particuler operation is having PRT values or not.
if PRT values are available then go for PRT screen (Perform statement for PRT values).
if not PRT values are available then go for not PRT screen.
If the PRT screen is depedable on process operation values.
then you have to make prevalidation . in prevalidation the appropriate operation containing any values for the same then call perform statement for the same. else skip that session through coding.
Ask to your functional consultant regarding tables (In which table you will PRT screen values based on process operation fields) for PRT pre validation.
I hope this message will clear your doubt
Regards,
Sreenivasa Babu -
Hi,
Could you help to advise is there any other reports in SAP that we can download for Changes done to Vendors information?
Currently we are using S_ALR_87012089 to download the report and we would like to explore other reports (if any) that are much more simpler in format.
The fields that we need are
1. Vendor Number
2. Date Changed
3. Changed By
4. Information changed
5. Company Code
6. Purchasing Org
Thanks.
Regards,
Chandruu can use program (go to SA38) - CHANGEDOCU_READ-->execute --> enter time restriction --> user name , tcode MK02 or FK02 or XK02,then execute , it will list all vendor change, in the tab key value there'll be client and vendor number information.
-
Fixed vendor Info record price report
Hi,
Is there any SAP report which can only show me the current info record price for multiple materials for their respective fixed vendors?
Sincerely,
PujaHi Pooja,
You can try ME1P transaction.
Cheers,
SAtish Purandare -
BDC for ME01 to delete vendors in the source list
Hi ABAP'ers,
I am trying to write a BDC program to delete a particular vendor from ME01 TCODE. My program runs well till deletion after i delete a record it is showing a pop up to confirm and on clicking yes the vendor is deleted. But the source list is not getting saved, or in other words the BDC flow stops after deletion, though i have handled save ok code in my BDC internal table. is there a solution for this.
thanx $ regrds
thrinath kRun in mode 'E' and fix whatever you have missed on your BDC.
-
Changing preferred vendor to fixed vendor in SRM PO- no currency conversion
Hi All,
We are on SRM_SERVER 550, SP11, ECS scenario.
Users create carts where they enter preferred vendor.
After approval we found that the PO's were created only in "Held" Status.
So we did a conversion of the preferred vendor (PF 39) to Fixed vendor (PF 19) during PO creation using BBP_DOC_CHANGE_BADI- BBP_PO_CHANGE.
We also implemented BBP_GROUP_LOC_PO,GROUP_PO so that all items with same preferred vendor are grouped into a single PO.
We observed that PO is now getting created in ordered status, where the preferred vendor is getting converted to fixed vendor as per our code change. But we also found a problem- that the line item price doesnt get converted to Vendor order currency after the Po is created. For ex: If line item price is 10 GBP and Vendor order currency is EUR, the line item price in the PO shows 10 EUR. The currency conversion fro GBP to EUR does not happen.
This does not happen for catalog items/PO's where the cart comes with a fixed vendor (PF 19).
So there surely seems to be something missing in our code for converting Preferred vendor to fixed vendor which is preventing/not converting the currency as well.
Please find below the code we are using in DOC_CHANGE_BADI for PO, is there any step in this which is causing the currency conversion to be skipped?
CONSTANTS:C_FIXED_VENDOR TYPE BBP_PDS_PARTNER-PARTNER_FCT
VALUE '00000019',
C_PREFERRED_VEND TYPE BBP_PDS_PARTNER-PARTNER_FCT
VALUE '00000039'.
READ TABLE ET_PARTNER INTO LS_PARTNER WITH KEY
P_GUID = IS_HEADER-GUID
PARTNER_FCT = C_FIXED_VENDOR.
IF SY-SUBRC NE 0.
READ TABLE ET_PARTNER INTO LS_PARTNER WITH KEY
P_GUID = IS_HEADER-GUID
PARTNER_FCT = C_PREFERRED_VEND.
IF SY-SUBRC EQ 0.
CLEAR IDX.
IDX = SY-TABIX.
MOVE C_FIXED_VENDOR TO LS_PARTNER-PARTNER_FCT.
MODIFY ET_PARTNER INDEX IDX FROM LS_PARTNER TRANSPORTING PARTNER_FCT.
ENDIF.
ENDIF.
Regardas,
Srivatsanthere is nothing in your code which prevents the conversion between the two currencies,
it can be the following reason
1) system as standard is not performing the conversion.
2) conversion factors are not maintained (or) conversion factors are maintained and the expiry date for the conversion factors has passed.
Maybe you are looking for
-
Is there a way to automatically map CRM Roles to Portal Roles
<b>Scenario:</b> When a new user registers on our portal he is assigned a CRM Role, however, he still needs to be assigned a Portal Role. Since we will have many users registering through our portal we do not want to assign roles to users manually. W
-
Where is Captivate 8 Timing , Transition . Fade in?
I think my timing panel is gone in captivate 8. I had seen it on text captions, bit now it is gone. There was once a "timing" button in the properties panel. I'm not sure if this is a bug or if I inadvertently turned it off. Please help.
-
No XML file attachment when using Submit by Email button
Hello all - I'm using LiveCycle Designer 8.0 to create a simple form, and am using the Submit by Email button to return the user supplied data. When I save the form and test it with Adobe Acrobat Professional 8.1.1, the email goes through just fine,
-
Is your icloud backup password the same as my icloud account password
is your icloud backup password the same as my icloud account password. I can get into my icloud but i cant remember the icloud backup password.
-
I'm doing a radixsort program and I need to add the elements off each queue into the master queue. I commented where I need the code. If someone could show me a loop idea or some code that can help I'd appreciate it. Thanks in advanced. Code: import