BDC for Change of Position
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
Similar Messages
-
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 -
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^ -
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 -
BAPI for change documents like FB09
Hi
I need to change the Assignment Number (ZUONR) Field for several document positions just like FB09 ,
Does somebody knows a BAPI for change document positions (BSEG) ?
Regards
FrankHi,
Please see this link, It may help you.
Add documents to materials via BAPI
Regards,
Shamma -
Problem in BDC for Material master Change
Hi,
I have made a BDC to change the material master, I have done the recording with SHDB I want to do changes in Sales data and MRP data, when I do the recording I have selected views and it was 4 , 11 AND 12 VIEW IN select vie option but in some material Classifcation view is maitain and it is coming at 2nd position and my selected views are shiftin by one position due to this BDC is giving error Screen contain no filed -
I sthere any way that I acn directly select the Three views as Sales data , MRP1 and MRP2, because when we do the recording it is not showing the name it is showing as
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(12)'.
perform bdc_field using 'BDC_OKCODE'
'=DEF_SAVE'.
perform bdc_field using 'MSICHTAUSW-KZSEL(04)'
'X'.
perform bdc_field using 'MSICHTAUSW-KZSEL(11)'
'X'.
perform bdc_field using 'MSICHTAUSW-KZSEL(12)'
'X'.
regards,
zafarHi,
Myproblem is solve , in the table MARA i found the filed VPSTA : Maitenance status, Having the vakue may KVEDLBZX those value is diffrent for different material this value indicates
User department Maintenance status
Work scheduling A
Accounting B
Classification C
MRP D
Purchasing E
Production resources/tools F
Costing G
Basic data K
Storage L
Forecasting P
Quality management Q
Warehouse management S
Sales V
Plant stocks X
Storage location stocks Z,
after reading what fields are maitain according to that i have selected the proper views and my problem is solve.
regards,
zafar -
Can you change the units used for size and position in layout editor?
Hello,
In Aperture 3.4, does anyone know if you can change the units used for size and position in layout editor? The page is set in inches, but the image size and position are given in centimetres and I would prefer to work all in inches to create custom layouts. I can't see any way to change this. If anyone knows how it would be much appreciated. Thanks!Aperture uses the unit settings defined in the System Preferences. Set the "Measurement Units" in the "Region" tab of the "Language & Text" preferences to "US"; the Aperture will display the Size & Position in inches, if it is the "Book" layout manager you are asking about.
Merry Christmas!
Léonie -
How do I listen for change in the global position of a Node
Hi there,
I want to create a Wire/Connection node between two scene nodes. I want this Wire node to be updated when one of the nodes is moving. In the common scenario I would listen for change events in the target nodes position and update the Wire :
targetNode1.translateXProperty().addListener(new ChangeListener<Number>() {
public void changed(ObservableValue value, Number oldValue, Number newValue) {
wire.setStartX(targetNode1.getTranslateX());
wire.setStartX(targetNode1.getTranslateY());
wire.setEndX(targetNode2.getTranslateX());
wire.setEndY(targetNode2.getTranslateY());
The problem is that the target nodes are children of another container nodes(that are actually moving). So listening for change events in the translate properties of the target nodes does not work(their parent nodes are actually moving)
Is there way to listent for change in the global position of the target nodes relative to the Scene?It sounds very similar to a problem I posted about earlier...
How to implement a UI similar to a UML Diagram with connections?
I ended up making my own special bounds property, that updates when the parent's special bounds property changes.
I also had to listen to the parentProperty change event to add/remove my listener on the parent node.
All in all, a pain in the butt. There should be an easier way.
The shortcoming of the solution is that all the nodes in the hierarchy must have my special bounds property implemented (ie. they're all classes under my codebase such that I can implement it), which for the moment is true... I'd like a cleaner solution however. -
Can we change the organisational unit for a particular position?
Hi Friends,
Can we change the org.unit for a particular position?What is the procedure?
Thank you very much..
SaiHi sai,
I m not getting your question, Can u pls elaborate this one.
This thread has been marked as answered, u can start a new thread for the same.
Regards,
Tomesh
Message was edited by:
Tomesh Sahu -
BDC for routing change (CA02)
Dear Experts,
I made the bdc for ca02 in which i need to change the fields like vgw01,vgw02.vgw03,lar02 and lar03.
but the value is not changing.
in my BDC everything is coming while doing debugging but when we execute the bdc its not changing the values.
please help <removed by moderator>.
Thanks & Regards,
Devidas Karad
Edited by: Thomas Zloch on Oct 10, 2011 2:05 PMwhen you mention debug, do you mean the ABAP debugger, or are you stepping through the BDC istself.
You can, for example, on the call transaction specify MODE = A, in which case each of the steps of the BDC is shown on the screen for you to monitor and check, including the sy-ucomm value.
This woul dbe a good first step. typically, when something is wrong in the BDC, this will point it out.
Also, consider using MESSAGES INTO on the call transaction, and checking the messages when the transaction returns to see if perhaps something is wrong with the data or is being misinterpreted by the call transaction. -
Need help in BDC for Customer master change
I have an interface for Changing Customer master data and I am using BDC for that. I have three scenarios:
1. Insert new data.
2. Change the existing data.
3. Delete the existing data.
The BDC is working fine in the first two scenarios, but if i want to delete an the existing data, lets say for e.g. Name3 or Email Id its not working because i need to pass the value as blank in the BDC for this field.How would i check? i thought i would first get the existing value in customer master and check if the interface value is blank then make this field value to blank in BDC.
But this is not working because in case the interface wants to remove only the email id, the other fields would still be blank.
How to handle this scenario, please advice.What is the difference between 2 and 3? Isn't "deleting data" in your context the same as changing to a blank value?
Why can you not just fill the value as received in the input data into the BDC data?
Thomas -
Problem in creation of BDC for transaction phap_create
Hello Friends,
I am trying to create BDC for PHAP_CREATE.
When you run a transaction a pop up window appears to select the template id.
And in BDC it is selected by cursor position. So once selected, the value of template id cannot be changed.
I want this as a parameter.So that each time I run a BDC I will be able to create different types of Appraisal documents i.e with different template ids.
How to go about it???
Regards,
BhushanHi,
For selecting the id, while doing recording,
record with
CTRL + F ( Where u can give ur id) and proceed further. -
BDC for Entering Invoice(MIRO) Problem
Dear All,
I am preparing a BDC for Entering Invoice (Tcode- MIRO ) & facing problem.
During recording in PO reference tab i am using Bill of Lading and inserting data through More Allocation Criteria tab and in column cell entering 8 Reference at one time for more i am scrolling it and entering 8 more and adopting it.
In recording after adopting it is showing all adopted documents but on saved recording it is adopting latest 8 reference.
I coding for "P++" for scrolling but it is not working.
Please help me out.
Is it possible to code for scrolling of PO reference Bill of Lading pop of window.?
Thanks & Regards,
VarunHello Suhas,
No, not at all. We see that so many times in the forum that we are mistaken.
There are 3 places where we find P++, P--, etc. :
- the function codes assigned to the scrolling buttons in the standard toolbar for ABAP lists.
- If I remember well, they are also assigned to the buttons inside the screen for the table control wizard.
- SCROLLING_IN_TABLE
But usually, we don't create buttons inside screens for scrolling.
Table control scrolling via page down and page up keys, is made of 2 things : changing CXTAB_CONTROL-TOP_LINE + trigger enter key.
I know 1 note which talks about that : [187946 - No positioning on PRT overview in routing|https://service.sap.com/sap/support/notes/187946]
Sandra -
BDC for Entering Invoice Problem
Dear All,
I am preparing a BDC for Entering Invoice (Tcode- MIRO) & facing problem.
During recording in PO reference tab i am using Bill of Lading and inserting data through More Allocation Criteria tab and in column cell entering 8 Reference at one time for more i am scrolling it and entering 8 more and adopting it.
In recording after adopting it is showing all adopted documents but on saved recording it is adopting latest 8 reference.
I coding for "P++" for scrolling but it is not working.
Please help me out.
Is it possible to code for scrolling of PO reference Bill of Lading pop of window.?
Thanks & Regards,
VarunHello Suhas,
No, not at all. We see that so many times in the forum that we are mistaken.
There are 3 places where we find P++, P--, etc. :
- the function codes assigned to the scrolling buttons in the standard toolbar for ABAP lists.
- If I remember well, they are also assigned to the buttons inside the screen for the table control wizard.
- SCROLLING_IN_TABLE
But usually, we don't create buttons inside screens for scrolling.
Table control scrolling via page down and page up keys, is made of 2 things : changing CXTAB_CONTROL-TOP_LINE + trigger enter key.
I know 1 note which talks about that : [187946 - No positioning on PRT overview in routing|https://service.sap.com/sap/support/notes/187946]
Sandra
Maybe you are looking for
-
My Apps section in Creative Cloud says "Download Error - Undefined." How does anyone solve that?
-
Do we know of any problems with BODS and Oracle Real Application Clusters architecture? For example, a RAC TNS entry would specify one service name but multiple hosts for load balancing and failover. In BODS the connections are specified in many plac
-
BEEEPO BEEEPO BEEEPO! What does that mean?!
Okay, so turning off my T60, it started doing a weird noise during the Win 7 shutdown screen, lots of loud obnoxious beeping (hence the title). I freaked out and once it turned off, I turned it back on to see what was wrong. Well I'm tryping this thr
-
I have a library of 6000 songs and I just spent hours unchecking songs that I don't want on my ipod. With the sorting headers at the top of my library, if I click on the "check" column, will it check all my songs again or will it sort between the che
-
IPhone4 sync perfect. iPhone3g (which is in recovery mode) will not sync?
The 3g does not have a working SIM card installed. It is running off of iOS 4.?.?