Update FIBU Debitor
Hello,
I have to programm a correction report which should update different fibu debitors. Could anyone tell me how to do this? Which table should be used to update the name and adress of the fibu debitor? The KNA1?
The report should run in the background (Batch Input) and no Messages should be displayed.
I hope anyone could give me some tips how to update the name and adress of the fibu debitor.
Thanks in advance.
Hi Patrick!
If you don't want to modify the structure of your routine...you can add for every if-clause (at each conditon) a check on to a flag.
Example:
CLEAR FLAG.
IF FLAG = 'X'.
IF CONDITION1.
RESULT = COMM_STRUCTURE-creditor.
FLAG = 'X'.
ENDIF.
ENDIF.
IF FLAG = 'X'.
IF CONDITION2.
RESULT = COMM_STRUCTURE-debitor.
FLAG = 'X'.
ENDIF.
ENDIF.
Hope it helps!
Bye,
Roberto
Similar Messages
-
Problem with updating serial numbers in sales order!
Hi,
I am trying to update serial numbers for a sales order in SAP. I tried using both SERNR_ADD_TO_AU and SERNR_ADD_TO_DOCUMENT. However, in both cases the FM returned the number of serial numbers created but these did not reflect in the sales order. The code for both is as below:
WA_SERXX-SDAUFNR = '0000001733'.
WA_SERXX-POSNR = '000010'.
WA_SERXX-KUNDE = '0000009000'.
WA_SERXX-VBTYP = 'C'.
WA_SERXX-SD_AUART = 'OR'.
WA_SERXX-SD_POSTYP = 'TAN'.
WA_SERNR-SERNR = '000000001234ABCDAR'.
APPEND WA_SERNR TO IT_SERNR.
WA_SERNR-SERNR = '000000001234ABCDAQ'.
APPEND WA_SERNR TO IT_SERNR.
CALL FUNCTION 'SERNR_ADD_TO_DOCUMENT'
EXPORTING
operation = 'SDAU'
objkopf = 'SER02'
serxx = wa_serxx
material = 'P1-TEST'
PROFILE = 'Z001'
quantity = '2'
M_CHARGE =
J_VORGANG = 'PMS2'
KMATNR =
CUOBJ =
R_MATERIAL =
BSTCH =
BSTUP =
SNBWG =
EMATN =
KDAUF =
KDPOS =
AUTOMATIC = ' '
NO_ENQUEUE = ' '
MORE_ALLOWED = ' '
BUDAT =
IMPORTING
ANZSN = anzsn
NEW_OBKNR = new_obknr
SERIAL_COMMIT = serial_commit
STATUS_NOT_ALLOWED = status_not_allowed
tables
sernr = IT_SERNR
r_sernr = it_ser1
XVBPA =
CHANGING
T_SMESG =
EXCEPTIONS
KONFIGURATIONS_ERROR = 1
GENERAL_SERIAL_ERROR = 2
NO_PROFILE_OPERATION = 3
DIFFERENCE_IN_HEADER_DATA = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
commit work and wait.
CALL FUNCTION 'SERNR_ADD_TO_AU'
EXPORTING
sernr = '000000001234ABCDAR'
profile = 'Z001'
material = 'P1-TEST'
M_CHARGE =
quantity = '1'
J_VORGANG = 'PMS2'
KMATNR =
CUOBJ =
document = '0000001733'
item = '000010'
debitor = '0000009000'
vbtyp = 'C'
sd_auart = 'OR'
sd_postyp = 'TAN'
IMPORTING
ANZSN = ANZSN
ZEILEN_ID =
SERIAL_COMMIT = SERIAL_COMMIT
EXCEPTIONS
KONFIGURATIONS_ERROR = 1
SERIALNUMBER_ERRORS = 2
SERIALNUMBER_WARNINGS = 3
NO_PROFILE_OPERATION = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK AND WAIT.hi,
In order to maintain customer specific serial numbers you can do the following steps:
1. Maintain the serial numbers provided by your client in tcode IQ01. this will create the customer serial numbers in the system.
2. In the material master under Sales View maintain the serial number profile as 0002. this is sap standard.
3. Once the above has been maintained you can assign serial numbers at the time of delivery and NOT in sales order.
I hope this helps.
Regards,
Vishesh -
Function Module to update Serial Numbers in Delivery
Hello there,
I am attempting to update serial numbers in an outbound delivery using function module SERNR_ADD_TO_LS followed by a perform of serial_liste_post_ls IN PROGRAM saplipw1. However I am struggle with error messages of inconsistancies in status management of the serial numbers. I have verified that the serial numbers I'm using are valid and available. Has anyone had any experience with this FM or others to post serial numbers into an outbound delivery?
Many thanks!That is very helpful and turns out to be true, the delivery is updated with the serial numbers however LIPS is not. I have started to write a routine to correct this.
On another note in my application I'm noticing that the when I call FM serial_liste_post_ls IN PROGRAM saplipw1 that the internal tables being passed that were built in the FM SERNR_ADD_TO_LS contain serial data from all deliveries and consequently I'm getting errors.
My program loops at the delivery then the item and for each item I call the FM SERNR_ADD_TO_LS and then I call the serial_liste_post_ls IN PROGRAM saplipw1 once all lines have been passed and the first delivery updates fine. However the subsequent delivery receives an error of " Inconsitancy in status management for serial ". I have confirmed that the serials are good and when I go into debug I see the first delivery goes fine and then I noticed on the FM call of serial_liste_post_ls IN PROGRAM saplipw1 that the internal tables contains data from that delivery and the previous one.
Below is psuedo code replicating how I call the FM's
loop at i_likp.
loop at i_lips
where vbeln = i_likp-vbeln.
CALL FUNCTION 'SERNR_ADD_TO_LS'
EXPORTING
profile = 'Z002'
material = i_lips-matnr
quantity = i_lips-anzahl
j_vorgang = 'PMS3'
document = i_likp-vbeln
item = i_lips-posnr
debitor = i_likp-kunnr
vbtyp = i_lips-vgtyp
bwart = '601'
IMPORTING
anzsn = anzsn
zeilen_id = l_zeile
serial_commit = serial_commit
TABLES
sernos = sernr
EXCEPTIONS
konfigurations_error = 1
serialnumber_errors = 2
serialnumber_warnings = 3
no_profile_operation = 4
OTHERS = 5.
endloop.
PERFORM serial_liste_post_ls IN PROGRAM saplipw1.
COMMIT WORK.
endloop.
Any help is very much appreciated!!! -
Update delivery with material and quantity.
hai abap gurus,
My requirement is to create a sales order and create a delivery with sales order reference.
I done both.But now i want to update my delivery with material and quantity.
Is there is any bapi or function module.
can any one help for my request.
with regards,
mallikHi,
You're on good way while using FM SERNR_ADD_TO_LS and SERIAL_LISTE_POST_LS .
In the second function module you don't need to pass anything.
Don't forget to make a commit work to avoid database error during synchronisation.
I had also one case of updating the serial to the document. It was the Sales order. I have worked with the function module SERNR_ADD_TO_AU which is internally using the function module SERNR_ADD_TO_DOCUMENT. The following is the sample code for it:
CALL FUNCTION 'SERNR_ADD_TO_AU'
EXPORTING
sernr = w_sernr
profile = c_zd01
material = w_matnr
quantity = '1'
document = w_vbeln
item = '00010'
debitor = fs_header-sap_ship_to
vbtyp = 'C'
sd_auart = w_doc_type
sd_postyp = w_item_cat
IMPORTING
anzsn = w_anzsn
zeilen_id = w_zeile
serial_commit = w_serial_commit
EXCEPTIONS
konfigurations_error = 1
serialnumber_errors = 2
serialnumber_warnings = 3
no_profile_operation = 4
OTHERS = 5.
IF sy-subrc eq 0.
CALL FUNCTION 'SERIAL_LISTE_POST_AU'.
COMMIT WORK.
ENDIF.
And one more thing, don't forget to have the call to the function module 'SERIAL_LISTE_POST_AU' amd commit work if the return code is 0. This is also mandatory.
regards
Satish -
After assigning to g/l a/c determinationiit is showing error after update
firstly I make a coa dtw. Now why after assigning the accounts in the sales tab in G/L a/c deter mination get automatically get deleted .And also it is showing an error that Reconciliation account required[Periods category -Periods category Debitors follodo i have to be makew up account].kindly help what are the adjustmentsto be made.
Hi Arijit
The account determination is per period (year). Check that you have the correct fiscal year selected when updating the account determination. If you have created prior fiscal years, the best is to define the accounts in the oldest period first and make sure that all fiscal years are populated. When you add a new fiscal year in the future, the current year will automatically be copied to the new year's account determination. The reason for this is to allow customers to assign different accounts per fiscal year if needed. In most cases accounts do not change by year and should therefore remain the same.
As for the reconciliation account, it is found under the General TAB of account determination and MUST be provided even if you don't think you will need it.
Hope this helps.
Kind regards
Peter Juby -
Hi all,
I want to update field KKBER from table BSID, Is there any bapi/fm to do the same.
from where does it pick the value for the same
Thanx in advance,Hi sohi,
I don't think updating directly field BSID-KKBER is a proper solution. Instead, think of posting a post with clearing (transaction F-30), creating an item for the debitor with the new KKBER, and clearing the item with the old KKBER.
For the default value, in table T001 you have the default KKBER for a company code. This can be configured in the IMG.
I hope this helps. Best regards,
Alvaro -
Tecra M9-136 - BSOD during Vista SP2 update
Tecra M9-136 asked this morning to update to Vista SP2 and during the process the BSOD 0x0000007E arrived. Restarted in Safe Mode and the installer continued and then finally reported that the update had failed - and reverted to SP1. This took most of the morning.
It will start in Safe Mode but on a normal boot-up, Vista SP1 gets through the fingerprint recognition and then fails with the same BSOD (it doesn't get as far as displaying the desktop).
The laptop has BIOS level 1.80. I've tried in Safe mode to install 1.90 but it tells me that the battery has insufficient charge and the power adapter isn't attached. Both untrue.
Stuck - need advice. Could this be a hard fault? Can't see how I can update anything if it's a soft fault.
thanksThe message with the BSOD mentioned checking BIOS and driver versions. Anyway, no change made to that.,
I tried System Restore but the only available restore point was the SP2 installation. I thought Vista was supposed to save a restore point every 24 hours even if nothing new had been installed.
I've now found in System Information / Windows Error Reporting several messages like this:
28/09/2009 12:08 Windows Error Reporting Fault bucket 0x7E_NULL_IP_DRVNDDM+57bd, type 0
Event Name: BlueScreen
Response: None
Cab Id: 0

Problem signature:
P1: 
P2: 
P3: 
P4: 
P5: 
P6: 
P7: 
P8: 
P9: 
P10: 

Attached files:
C:\Windows\Minidump\Mini0928 09-04.dmp
C:\Users\me\AppData\Local\Te mp\WER-75660-0.sysdata.xml
C:\Users\me\AppData\L ocal\Temp\WER7D78.tmp.version.txt
& #x000d;
These files may be available here:
C:\Users\me\AppData\Local\Mic rosoft\Windows\WER\ReportArchive\Report06d1c4b5 -
Cannot open and update IPhoto after upgrading to OXYosemite
From the App store, I downloaded and installed OXYosemite. There are 2 more updates available: iPhoto and iMovie. When I try to upload them, the notice I get is "Update Unavailable with This Apple ID This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled."
I have 2 apple IDs when I inquire about my ids. Signing in App Store with either of them, doesn't resolve the problem. I get the same notice. iTunes, Mac, mobile downloads, all use the same apple IP, only for the computer downloads from App Store isn't working.
What should I do?
Thanks, SevI have the same problem and can't find out how to correct it. Unable to update iPhoto or iMovie .. I get the same message as above user. Help!
-
Error message: "playlists selected for updating no longer exist"
I tried to update my ipod nano and I guess I had deleted a playlist, but since then, I have not been able to update. Every time I try, I get the following message:
"Cannot be updated because all of the playlists selected for updating no longer exist."
I haven't been able to highlight which playlists are selected to begin with.
I read through the manual and thought that maybe rebooting the whole system might work. So I deleted Itunes from my computer and re-installed.
Then I tried re-setting my ipod. So now I have nothing on my ipod.
I also deleted everything from my library, thinking it might help to start from scratch. Nothing has worked.
How do I "select" and "unselect" playlists so I can get up and running again?Here you go.
http://discussions.apple.com/thread.jspa?messageID=607312򔑐 -
Error message iPod cannot update b/c all of the playlists no longer exist
Hello. I have been getting this error message. "Songs on the iPod "MAR(the name of my iPod)" cannot update because all of the playlists selecting for updating no longer exist." And my playlists are still on the left side in my iTunes. They do exist. I have a feeling ths might have to do with the fact that on vacation the person I was visiting gave me a gift of putting all of his music that would fit into the external hard drive part of my iPod, and for the past week or so I have been putting that music onto my 40 GB portable hard drive at home. I suspect I took a vital folder out of my iPod by accident. Right now I have the folder iPod_control if I open my iPod up in My Computer. Am I missing something? Right now my iPod is empty because iTunes made a composite playlist last week and I deleted it thinking I could get my real playlists back. Can you help me, or reccomend a site/someone who can? Thank you.
PC Windows XPhiya!
And my playlists are still on the left side in my iTunes. They do exist.
let's just doublecheck this. folks get this message if they have "automatically update selected playlists only" selected in their itunes "ipod" preferences tab. so bring up that tab ("edit > preferences", click "ipod" while the ipod is showing up in the source list), and do a playlist by playlist crosscheck of the playlists selected in that tab, and the playlists showing up in the itunes sourcelist.
is there any playlist selected in the preferences tab that isn't showing up in the sourcelist?
love, b -
Video IPOD no longer recognized by Itunes and wont Update
This is a long complicated issue. My Ipod has been working flawlessly until 2 weeks ago. Someone tried to plug it up to their computer to charge it and it wiped out my library and added their library. At first i was thinking no big deal, i will just reconnect it with my computer and it will load my library back on. However once connected to my computer it is not recognized by itunes. So i did a reset , which seemed to be working great and it started "updating" about 80% through that process it gave me an error message that says " This disc can not be written to or written from" now I have no idea why it would say that? and although it seems completely wiped out and useless, it still shows that much memeory is missing in the "about ipod" screen on the ipod. So i know the information is there somewhere , somehow?... Anyway I dont know what to do, Does anybody have any suggestions?
Oh and I have also uninstalled and reinstalled the Itunes program to make sure it is up to date. WOuld adding new songs to my library have caused this problem?1. Try Resetting the iPod. Hold Select and Menu for 6-10 seconds - until you see the Apple Symbol.
2. Use iPod Updater to restore your iPod to factory settings.
See if those two steps clear up your problem. -
Error during OS 4.2 update; Ipod no longer recognized by windows or itunes;
I've had my 3G 8gb since last Feb and never updated the OS (3.1.3). Yesterday I tried updating to 4.2. (OS: Windows Vista 64bit Home Premium; iTunes: 10.1.1.4) There was an error (unfortunately did not make a note of). Now my ipod touch is stuck in "Recovery Mode" and cannot be seen by Windows or iTunes. Windows does detect new hardware but when I browse for the drivers, I get the error "Could not find driver software" after I pointed exactly where it was located in C:\Program Files\Common Files\Apple\Mobile Device Support and C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers. I've tried removing all Apple software from my computer and then reinstalling iTunes but I get the same results. I don't know what else to try. Any ideas? Thanks!
I found a solution last night through http://support.apple.com/kb/ts1538. But thank you for trying. The worst part was that I was doing the right thing all along but I think there is a bug in Vista (or I don't understand why I couldn't do it the way I was). On the window that appears after I clicked "Browse my computer for driver software", there are 2 options. The first says "Browse for driver software on your computer" which has an edit box under it and a "Browse" button next to the edit box which allows you to pick the parent directory that driver is in. The second option says "Let me pick from a list of device drivers on my computer". I knew where the drivers were so I was doing option one and it would not work (many repeated attempts after re-installing iTunes, etc.) - VERY FRUSTRATING. But now I'm up and running!!!
-
Hi,
I have encountered an error while updating a plan. While i update the uplan , the grid gets filled but it throws a message stating
"Maximum Number of Result Blocks has been reached"
Maximum number of Result Blocks has been reached.
[Oracle BAM Enterprise Link error code: DC -- 0x1, DC -- 0xD4]
Error while processing the data for the step 'Grid'
[Oracle BAM Enterprise Link error code: DC -- 0x1, DC -- 0x83]
Maximum number of Result Blocks has been reached.
[Oracle BAM Enterprise Link error code: DC -- 0x1, DC -- 0xD4]
Error while processing the data for the step 'Grid'
[Oracle BAM Enterprise Link error code: DC -- 0x1, DC -- 0x83]
Update of Plan "deposittest created 7/19/2007 5:11:50 PM" failed.
[Oracle BAM Enterprise Link error code: PlanMgr -- 0x1, PlanMgr -- 0xD5]
The data updation stops after the row count 49900.
Please help to resolve this error .
Thanks in advance.
Regards,
LathikaHi,
in BAM-Administrator you should rraise Parameter "MaxResultBlocks".
BAM originaly is al licensed Software from Group1 named "Sagent Data Flow".
This may help searching the web.
Greetz,
GOI -
Macbook4,1 10.6.8 and firmware update - what went wrong?
Macbook 4,1 2008 2.4Ghz (not unibody). I recently reformatted my hard drive and reinstalled 10.6 from the Retail DVD and all seemed to go well. The MB was working fine up to that point. I then set up the MB (network, date and time, etc.) and repaired permissions.
I then checked Software Update and downloaded and installed the recommended updates to 10.6.8.
Again, all seemed to go fine. System booted and I repaired Permissions again. I went to the Apple web site, a couple of other web sites, and Software Update found another update to install: Firmware. Though I don't remember what version.
I clicked OK and it installed.
Upon reboot, it seemed to install okay.
But then I left the Macbook and it went into Sleep.
I didn't come back to it again until the next day.
When I pressed a key to wake it, I got what I now know is the screen that appears after you wake it from SAFE SLEEP. As per this Apple KB article: http://support.apple.com/kb/HT1757.
And this is where the problems started.
After the MB woke to the Safe Sleep screen, which shows the desktop a little "out of focus", the progress bars started filling in from left to right, BUT before they completed, the screen went BLACK.
And it has had a problem with black screen ever since. I can boot the MB from internal or external HD or from DVD, and it seems to boot fine. Boot chime, Apple logo, spinning wheel, then at the point where it pauses, blue screen, then goes to desktop, instead the screen goes black.
It finishes booting, but seems to go into Sleep.
I can wake it by pressing a key, but the screen either comes on and goes black again after 10 seconds, or I get the Safe Sleep wake screen, and then it goes black after 10 seconds.
And at boot or when waking the MB, the front LED flashes 5 times. There are no error beeps.
I've tried changing RAM, but problems remain.
So what's all this? Any ideas?
The display doesn't seem dead, as it works to boot and wake. The MB works fine with external monitor.
It's weird, but I can't think of anything apart from the Firmware update. The problems started right after installing it.
Unfortunately, this model of Macbook doesn't have a Firmware Restoration image to download and burn to CD. It is the ONLY Mac at this point that doesn't have this!
I called Apple support and even bought the 49 Euro Pay Per Incident service, which proved to be the same as throwing 49 Euro out the window. The only "technical" support they provided was to Reset the SMC, which you can find out about FOR FREE at the Apple website. And which I'd done anyway. I'd also reinstalled the MacOS. Don't want to beef too much, but sheesh, you've already got a Macbook that might need costly repairs, and they make you pay 49 Euro BEFORE they even ask you about the problem and what you've done to try to solve it. I'm tempted to say "ripoff". I mean, if all they can offer you is the advice to reset the SMC - which Apple offers for free at their website - then that's pretty poor service for 49 Euro, to say the least.
Apart from the wasted 49 Euro, I'm pretty peeved about the Firmware update (or so it seems) wrecking a perfectly working 2008 Macbook. I don't know how to convince Apple of this, but I'm certainly going to try.Thanks for the reply.
Re. the Displays setting, the Macbook display isn't recognized and mirroring isn't an available option.
I've scoured the net and the idea of replacing the PRAM battery may be something to try. I read a post by a guy with a Macbook logic board screwed up by a Firmware update, which he solved by replacing the PRAM battery, as when you disconnect it you reset the logic board.
Which capacitor?
No luck so far with talking to Apple. I will try to get hold of someone a little more tech savvy and/or in a position of authority, as it seems that the Firmware is the culprit. Obviously a million other things could go wrong with a Macbook, but given the timing here it looks like the Firmware. Firmware updates can and occasionally do screw up a computer, as most manufacturers will warn you before you apply the update: PC makers, printer makers, etc. And they probably warn you that it's all your responsibility if anything goes wrong. But re. the Apple Firmware update:
1) it came thru Software Update
2) there was no warning
3) to make things worse, there's no Firmware Restoration image that I can burn to a CD to reflash the logic board: this is the only Apple computer that doesn't have a Firmware Restoration option
I'll try to get thru to a manager and convince him/her that the firmware may have been the cause.
Do you think an authorized Apple tech might have access to some way to do a firmware restoration? Something not avaiable to mere mortals? Because if not, the only solution looks like a new logic board. -
After receiving an error when I try to install the latest update of OS-X, I took my laptop to oour schools IT dept. They tried to run the update in safe mode and then they got an error saying the system could not find the hard drive. Now they want to run a clean install which loses 1000's of docs and pictures. I have Block I exams in med school next Monday and all of my notes and slides are on that hard drive.
The IT dept took the hard drive out and tried to back it up and they said they other computer could not connect or find my hard drive.
Major panic....
I have Norton antivirus and have never found any viruses on the system. I also have a program called ExamSoft which some other students here have noted they had similar crashes. Not sure if that is the issue...Several take home messages here:
always back up before you update.
always back up anything you don't want to lose. Kind of like flossing. Only floss the teeth you don't want to lose.
Norton is very, very bad software, and you should get rid of it.
You don't need antivirus software on your mac. Antivirus software on macs causes more trouble than it is worth.
Your hard drive may be failing and thus may not be salvageable.
You could try booting into the recovery partition and seeing if you can repair your hard drive.
If that doesn't work, then there is a small chance that a third party utility (like Disk Warrior or TechTool) might be able to fix your drive (if it is not failing).
If that doesn't work, you may be able to send your drive and a lot of cash to a drive recovery service and see if they can get your files off it.
In the mean time, get notes and slides from a (smart) friend.
Maybe you are looking for
-
Unable to write an image to excel with report generation toolkit
I am unable to write an image to excel with the report generation toolkit. The VI works fine for word, but when I select Excel the speadsheet pens but remains blank.
-
During the latest iTunes download I received the following error: Service '(Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services.
-
Update IOS 7.0.4 Network Error 9006
I just update my iphone to IOS 7.0.4 but i facing trouble with it. During processing file, it keep pop out says my network error 9006 and whole thing just stoped. I have already tried lots of time but it could not work. i also have tried deauthorise,
-
File name used by plug-in for saving the image file.
I have a program that creates a web page that has an object tag with a call to a program and that program delivers a PDF file. When my users want to save that image the name of the image is a random name. Is there any way to make the plug-in, Adobe
-
Dear Friends , we have a portal and the users are maintained in R/3 that means UME is R/3 . Now when i have to give the access to the users to use ESS applications they are not bale to view ESS role since the portal is mapper to client where the user