PO no. = batch no.
hi,
possible that when I do GR, the batch no. = PO no. If yes, how to do it. Pls advice. Thanks a lot
Friend
we had tried this before but could not succed
Try for your end too with the user exit EXIT_SAPLV01Z_002 unfortunately this will only copy production and sales order into batch number feild. Try your luck
ENJOY SAP
Regards
Similar Messages
-
Cost(vprs) of free goods with batch managment
Dear Gurus,
I have a problem ahout free goods with batch management.
Cost(VPRS) is not accumulated in billing(free goods is not relevant for billing).
My configurations are shown as below:
Ordered goods (and batch) item category :zta1(copied from tan)
Free goods (and batch) item category :zann (copied from tann) pricing:B ;not relevant for billing;dermination cost:X
copy control(from delivery to billing):
ztan: accumulation cost :X
If I use the material without batch management,Cost of free goods(without batch) is accumulated to main item(ordered goods).
So, what can I do?
Thanks and Best Regards,
Lykin KanHi,
These notes are useful:
SAP Note 1365939 - VPRS logic and Customizing settings in SD
SAP Note 547570 - FAQ: VPRS in pricing
If you have the problem in the transfer from SD conditions to CO-PA, check if you transfer only invoices to COPA, if you don't invoice the deliveries of free goods, then you don't transfer this 'sales' or costs of 'gifts' to COPA. You can check the customizing of COPA in tcode ORKE (IMG for COPA). SAP Note 74486 - INFO: Overview of consulting notes for CO-PA is a good summary about this issue.
I hope this helps you
Regards,
Eduardo
PD: I forgot SAP Note Number 33968 SD/CO-PA: Characteristics from sales doc tables
Edited by: E_Hinojosa on Sep 10, 2010 9:44 AM -
If statement in calculated batch characteristic (dependencies)
I have a little problem with calculating a certain batch characteristic.
The situation is the following:
I have batch char A, batch char B and batch char C. Batch char C is the result of the sommation of char A and B. The problem I have now is that batch char C only should be calculated when batch char A and B are different from 0.
I have a custom build interface that imports QM data to the batch chars. Default, all my batch chars are set to 0 so if I just say $self.charC = $self.charA + $self.charB, I always get a value.
Is it possible to some sort of IF statement to check if the value is different from 0?Dear,
You need to try with variant table
take all the combination and enter in a variant table and see the result...it works
example
A B C
0 0 space
0 1 sapce
1 1 space
I hope you got it -
Stock on posting date -storage location and batch wise
Dear All
I need to developa report exactly same as MB5B but with storage location and batch wise.
We need storage location wise opening stock, total receipts, total issues and closing stock, and values for given time period.
I have gone through some history tables like MCHBH and MBEWH.
But all the history tables are having fileds for period wise but not date wise.
Any focus on this?You have to read the coding of MB5B to see how SAP is doing it.
The stock per date is calculated, starting from a month end, adding or reducing quantities based on movements until the date in question is reached. -
Batch wise stock report with qty and value as on date
is there any report so that we can see the stock qty with value as on date,
i have tried mb5b but it is showing only qty and batch combination not qty value and batch combination
plz suggest me, it is very urgent.
nitinMBEWH is the valuation history, this is only updated with the first movement after a period closure. And the period is a month.
There is no table in SAP that holds the stock information on daily basis.
You have to develope this yourself. Easiest method by copying a table like MBEW and MARD daily to a Z-Table.
A stock situation at a certain date can be calculated with MB5B.
Edited by: Jürgen L. on Aug 5, 2008 4:06 PM -
Excise invoice is not generating through batch-VF04
Dear all,
I have created batch for VF04 for creating automatic commercial invoice every after five minute.here is also customization for automatic creation of excise invoice.
Now the issue is when batch run, it create the commercial invoice automatically but excise invoice does not create while if we create commercial invoice through VF01 then both( Commercial and excise invoice) create automatically.
Can you please tell me why excise invoice is not creating automatically when i run the batch for VF04.
Regards
jalaj gargI have the same issue Pl let me if u come across
-
Stock on posting date with storagelocation,batch and stock types informatio
Hi,
I'm needing a report (similar funtion of MB5B) which must reveal the stock postion (closing balance) of the materials on a particular date alongwith storage loactions, batches and stocktypes (Unres/Q/Blkd).As such MB5B either gives the output either by storage location or by batch, not the combination of both.
Else provide any possibilty means( Database tables) from where i could arrive these mention outputs.
I could be able to get the information by collecting the values from MKPF & MSEG tables. But this information only suffice the material movements carried on that particular date.. And i will be not having the closing balance as a whole.
I even wonder to get any such a kind of information in which i could able to get the stock with stock types(Unres/Q/Blkd).
Any light on this matter is highly appreciable.
Regards
PrasannaHi Amit Bakshi,
Thanks for the reply..
I executed the suggested program but i found the same kind of information aslike in MB5B..
The information all i'm looking is to get the closing balance of the given material with storagelocations, batches and stock types on a given posting date.
For eg.
On 15 / 03 / 2011
Material A
Batch Slocation Stock type Closing balance Qty.
A1 S001 Unres. 50
A1 S002 Unres 120
B1 S001 Quality 15
C1 S003 Blocked 30
In MB5B i could able to get the values of closing balance either Storage location level or by batch level but is it possible to get the combination of both along with stock types?
Reg
Prasanna -
Hi I am working on batch job .
my program is printing invoice as well as downloading and I have run this program in batch,
I am using the FM job_open , job_submit and job_close.
but it is failing in job_submit with sy-subrc eq 1 .
giving me error bad print parameter , I haven;t done this before.
I think it should be option.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = SY-UNAME "tbtcjob-authcknam
jobcount = tbtcjob-jobcount
jobname = p_jobnam
language = sy-langu
report = c_reprot
variant = pvariant
EXCEPTIONS
OTHERS = 01.
could anybody pls guide me why it is so???
Regards.
Kusum.you can below code
OPEN DATASET gv_file FOR INPUT IN TEXT MODE ENCODING DEFAULT
WITH SMART LINEFEED.
IF sy-subrc EQ 0.
WHILE sy-subrc IS INITIAL.
READ DATASET gv_file INTO gwa_header_file.
IF sy-subrc NE 0.
EXIT.
ELSE.
APPEND gwa_header_file TO gt_header_file.
ENDIF.
ENDWHILE.
CLOSE DATASET gv_file.
ENDIF.
ENDIF. -
How can I batch move files to the same folder structure in a different location?
Hi,
I recently had an issue with my iTunes Library so I used the Organize Library feature to have iTunes organise my library. What happened was that it put all of my music in a folder called 'Music' on my external hard drive, whereas previously it was not in a folder at all, e.g.
BEFORE: External Hard Drive / Abba / Greatest Hits / Mama Mia.m4a
AFTER: External Hard Drive / Music / Abba / Greatest Hits / Mama Mia.m4a
I don't have any particular issue with the updated folder structure, except that I had copies of the artwork for each album in my album folders, and these weren't moved when the audio files were moved/consolidated/organised. So I need to find a way of moving all of the artwork to the new folders, e.g.
External Hard Drive / Abba / Greatest Hits / folder.jpg
needs to become:
External Hard Drive / Music / Abba / Greatest Hits / folder.jpg
I have to do this for 3,000+ albums, and I have multiple artwork files for some albums, so I am hoping that there is a way of doing this using a batch/automated method of some kind, but I haven't been able to turn up anything yet.
Can someone help with this?
Thanks,
NickYou can make a smart playlist containing episodes of both series and play from that. Podcasts are linked together by the URL they are served from so merging ongoing series isn't really practical.
tt2 -
How to resize and change the resolution of a batch of photos using Automator
I searched for a long time tonight looking for the answer to this (seemingly) simple question:
How do I use Automator to scale and change the resolution of a batch of images?
It was not so simple.
Links to this question:
https://discussions.apple.com/message/12341246#12341246
https://discussions.apple.com/message/12342026#12342026
https://discussions.apple.com/message/5785047#5785047
https://discussions.apple.com/message/1173358#1173358
https://discussions.apple.com/message/5641853#5641853
https://discussions.apple.com/message/3207516#3207516
These are just the links on this site - I found them all over the place at MacRumors, Apple Tips, Mac Help, etc.
You can actually manage this in Automator.
Here are the steps that worked for me:
Create an Automator APPLICATION - not a workflow (this is due to the way that I'm batch converting images - workflows might be ok for some cases)
Step 1 is Copy Finder Items
My flow inserts an SD card, opens the DCIM folder that my Nikon creates, selecting the images that I click (command + click to multi-select) and once I have the photos highlighted, I drag them onto this Automator App we're creating.
<== You'll have this guy soon!
As a result - I want to copy the originals to my computer as step 1. I don't touch the originals on the SD card (and cards are cheap so I tend to leave them on the cards as well)
Step 2 is the Scale Images action - you can search the library for this and find it quickly. For my part, I found that scaling images to about 38.8 percent of their size on the SD card is good for uploading to a blog. Change this value to whatever you wish.
Step 3 is Run Shell Script - and here is where we marry the brilliance found at this link with our script.If you have a hard time reading the text in the image, it is as follows:
#bin/bash
for f in "$@"
do
/usr/bin/sips -s dpiHeight 72.0 -s dpiWidth 72.0 $f
done
Save this application (I named mine "Format Photos")
Place the application inside the target folder where you want the images to end up. I do this because when I have the SD card window open, I can also open my "Photos" window and see my App sitting there. I select my images as I mentioned and drag them on top of this app. The app copies the originals and the conversions into the folder.
NOTES: When you open a converted pic in Preview, you will see Resolution = 300 dpi if you go to Tools --> Adjust Size... This reading is explained by another brilliant discussion as sips only touches the JFIF properties inside the file's MetaData. However, if you look at the bottom of the Adjust Size... window, you'll see the image size is probably around 500 kb (give or take depending on the original). My goal was to get the images down from the 3.0 MB I shoot at to around 500 kb. Therefore even though the MetaData still thinks that it is 300 DPI according to Preview, it has been changed to 72 (open it in some other applications mentioned at the links and you'll find different readings - it all depends on what the application reads from the Meta).
This does not rename the files, so you'll get DSC_1000.jpg and DSC_1000 copy.jpg in all likelihood. If that annoys you, add a step into the Automator Application that renames the file after the "Run Shell Script" action has run, and you can have each file renamed according to some convention that you like.
This took a heck of a lot longer than I expected - so I decided to put in the effort to share this with the community and save others the hassle.PPI is pixels per inch of the image. It is difficult to increase resolution as you are trying to add data that is not there.
But for printing purposes what you want is dpi or dots per inch.
The image processor either accessed from Bridge (tools/photoshp) or PS is a good way to change a batch of images. -
How to create a error message for Deleted batch while creating a PO
Hi ,
Can any body tell me how to create error message for a deleted batch while creating a PO in ME21n,
when a PO is created for a deleted batch at GI &GR lebel it is showing a error message,
but i want to show a error message while doing the PO creation.
Thanks,
Sachhiin badi me_process_po_cust u can put this message
METHOD if_ex_me_process_po_cust~check. -
Error while importing N Accounts to 1 Address with UCM Batch Manager
Hi,
I got a problem with importing Accounts using the UCM Batch Manager. Previous steps were loading the EIM Tables EIM_UCM_ORG and EIM_UCM_ADRPER. To associate addresses I used the column EIM_UCM_ADRPER.PAR_UCM_ACCNT_UID. No errors occured during an Enterprise Integration Mgr jobs to load the data into SDH tables.
The error described below occurs if I have N Accounts using one Address. Example:
h5. Account Name --> City --> Postal Code --> State --> Street
Account #1 --- Munich --- 80331 --- N/A --- Some Street 1
Account #2 --- Munich --- 80331 --- N/A --- Some Street 1
h5. If I try to get the Accounts into the Base tables using the UCM Batch Manager I get the following message from the log file:
ObjMgrBusCompLog Error 1 000003084c571160:0 2010-08-03 19:11:14 (odbccon.cpp (2097)) SBL-DBC-00111: An error has occurred writing to a record.
Please continue or ask your systems administrator to check your application configuration if the problem persists.
DBCLog DBCLogError 1 000003084c571160:0 2010-08-03 19:11:14 SQLError: [23000],[Microsoft][SQL Native Client][SQL Server]Cannot insert duplicate key row in object 'dbo.S_ADDR_PER'-Objekt with unique index 'S_ADDR_PER_U1'.
DBCLog DBCLogError 1 000003084c571160:0 2010-08-03 19:11:14 SQLError: [01000],[Microsoft][SQL Native Client][SQL Server]The statement has been terminated.
ObjMgrBusCompLog Error 1 000003084c571160:0 2010-08-03 19:11:14 (sqlobj.cpp (43735)) SBL-DAT-00381: A record that contains identical values to the record you have created already exists.
If you would like to enter a new record, please ensure that the field values are unique.
ObjMgrLog Error 1 000003084c571160:0 2010-08-03 19:11:14 (adptutils.cpp (5715)) SBL-EAI-04381: For instance of Integration Component 'Account_Business Address', using user key '[City] = "Munich" AND [Postal Code] = "80331" AND [State] = "N/A" AND [Street Address] = "Some Street 1"', a record with identical values already exists in the Siebel database.
Please ensure that the field values in the input message are unique.
EAISiebAdpt EAISiebAdptErr 1 000003084c571160:0 2010-08-03 19:11:15 [0] For instance of Integration Component 'Account_Business Address', using user key '[City] = "Munich" AND [Postal Code] = "80331" AND [State] = "N/A" AND [Street Address] = "Some Street 1"', a record with identical values already exists in the Siebel database.
Please ensure that the field values in the input message are unique.(SBL-EAI-04381) (0x75017d)
h5. Result:
Account #1 gets inserted with Record Type: "Source-Insert"
Account #2 will not be imported and gets Record Type: "Incomplete"
Does anyone know how to handle this problem?
Many Thanks
Sebastian
Edited by: user13098670 on 04.08.2010 06:34I have selected the option
Add new metadata and replace existing objetcs. But it is not importing. Also I tried other options like
1. deleting the existing mapping and tried.
2. Putting the mapping in recycle bin and try.
3. Take it from recycle bin.Even during taking it from recycle it is giving me the following error .
Error occurred importing mapping
<DWH_CMMDTY_INVC_FACT_MAP/DWH_CMMDTY_INVC_FACT_MAP>
(at line 141).
Detailed Error Message:
API2014: Internal Error: Error in createStage:
In above all cases it is giving me the error.
Could you please help? -
Running a java program via a batch file
I am unable to run a java program from a batch file that I created.
spiderpackage.EntryPoint is a class file which I am trying to run with a -v option to output something.What should I do to get the output?
echo ^<html^>^<body^>
echo hello^<br^>
call java spiderpackage.EntryPoint -v
echo ^</body^>^</html^>This has nothing to do with java programming. Have a look at the windows help for the call command.
The echo <html> stuff doesn't make sense. What's it for?
The command in you batch file should be:
java -cp . spiderpackage.EntryPoint -v
assuming that java is in the system path, and the EntryPoint.class is in a directory called spiderpackage which is a subdirectory of your current working directory -
How to Restrict Confirmed Quantity in Sales Order (Based on Batch Expiry)
Dear SD Experts,
Currently our sales order confirms any amount of quantity if stock is available. And only during delivery it checks for the expiration of the batch and reduces the delivery quantity to batches available in stock within expiry.
But since we are doing a bulk creation of deliveries at the end of the day, the check for expired batches is happening too late and no visibility for the data entry operators of stock that cannot be delivered during creation of the sales orders.
So I am looking for solution to restrict the confirmed quantity in sales order to actually confirm only stock what can be delivered. i.e. based on expiry of the batch.
Thanks!hi
in Logistic general - batch mangement - batch determination allocation and check activation - maintain allocate SD search Procedure/ activate check
check this for your sales area and sales document type and then in the search procedure maitain the strategy to check the Expiration date.
regards,
Sudhir -
Hi gurus,
we manage some material with batch.
when i create sheduling agreement or when I maintain delivery schedule, I cannot enter the value of batch,
In selection screen (for scheduoing agreement o delivery schedule) is not possible to set "display" to the field "batch".
So I suppose that the field batch is not available for scheduling agreement,
What do you think?
MarcoThe functionality for batch field is not available in Scheduling Agreement.
The cause is that a scheduling agreement is for a longer period.
So it wasn't expected that the batch number is known when creating
the scheduling agreement. You can enter the batch number when
creating the goods receipt.
Edited by: Agreta Gupta on Nov 22, 2011 6:20 PM -
Free Goods with Batch Management Activated !!!
Hi Gurus,
I have defined a free goods master data for material on which batch is activated. I have defined the it as with a min of 10 qty 1 free good will be delivered as exclusive item
Now as the batch management is active and each batch has 1 qty in it. Now in order to deliver 1 free good first i have to enter 10 line item of the same material and after the 11 th line system should generate 1 free good item. But this is not happening is there any standard configuration required for this process
Early reply will be awarded accordingly.
Thanks in advance
Edited by: Abaper Abaper on Jul 10, 2008 12:31 PM
Edited by: Abaper Abaper on Jul 10, 2008 12:32 PMHi Abaper,
Free Goods Determination follows the condition technique and hence you should have one condition type assigned to it one access sequence and then maintain the condition type (NA00) in a Free Goods Determination Procedure (NA0000).
Then assign this procedure to your permitted sales area and maintain the free goods determination master data (VBN1).
Also Check the settings of Item Category Assignment
It should be ORNORMFREE+TAN -
> TANN.
By this settings your free goods should work.
Reward if it helps you
Regards
Harsh
Maybe you are looking for
-
BLUE screen of death - ipod nano 4th gen
Just got a new 16 gig ipod Nano and it crashes my lap-top every time I atte,mpt to connect it via itunes. ERROR CODE APPEARS BELOW - sent to Microsoft also <?xml version="1.0" encoding="Unicode" ?> - <SYSTEMINFO> - <SYSTEM> <OSNAME>Microsoft Windows
-
Music won't play - play button flashes ipod touch 3rd gen
Strange thing: Yesterday, all was fine--music played normally. Today, when I try to play music, the play button (the arrow), just flashes a pause button and goes right back to the play button. No music can be played. It's as if the PLAY button is stu
-
IPhoto 08 - Loosing photos, iPhoto automatically deletes from hard drive!
Hi, I am using iPhoto 08 v 7.1.5 on Max OS X 10.6.4 We are 2 users sharing the same iPhoto library and after ongoing issues with permissions I have moved the iPhoto library (as per Apple's instructions) to a Sparse Disk Image on the Shared folder and
-
Difference between slice and tile Artix 7
Hello, here I attached a pic of a part of my FPGA (Artix 7 ac701). From this pic I can understand that there are 10 slices, where each of these is recognized by XY coordinates. A tile is a division that includes sites, wires and PIPs. My question is:
-
WLC 2100 guest access with local web authentification
Hello I tried to create a guest acces with local web authentification. My Laptop is connected to the Wlan but My Browser don't ask my login and password