Batch Job ME59 created 2 PO for each PR??
Dear Guru,
Please advice me,
I have create a batch job for ther program "RM06BB20" or T-code ME59, which help to convert the PR into PO.
The job is running, just the problem that the job created 2 PO for each of my PR, which is incorrect.
Can anyone please advice me what is the problem for the issue?
Thank you very much,
Regards,
Chee Wee
OSS note 18128 describes:
This is not an error!
The purchase requisition is intentionally not blocked.
Reason: before a purchase order with reference to a purchase requisition is created, a list of purchase requisitions is normally generated (for example, selection by material number or purchasing group - not usually selected directly with the requisition number). Based on this list, the user selects one or more purchase requisitions. However, the requisition cannot simply be blocked after selection; all the purchase requisitions appearing in the corresponding selection list would have to be blocked before display.
Because these lists can be quite long, block situations would quickly occur that would prevent "normal" work.
Because specific purchasers are usually assigned to specific purchasing groups (organizational arrangement), these purchasers normally only select purchase requisitions with an assigned purchasing group. In such cases, the above situation can almost never apply.
Solution
An organizational solution to the problem is required.
However there are notes with contrary info and program fixes like:
Note 1444184 - ME21 does not set a lock on purchase requisition
378335 - ME57/ME21: Block when converting purchase requisitions
Similar Messages
-
Create of (demo for)OVAI (transaction for create entries for each vendor)
hi all,
can anyone plz tell me how 2 create (demo for)OVAI (transaction for create entries for each vendor)
thans & regards,
srinivas reddy.hiii
yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like
call transaction (variable)..in background process.
regards
twinkal -
Form that is a map of Ohio. I created layers for each county so I can click and it highlights, but I need to be able to click more than one. How do I do that?
Looks nice!
I understand what you've done now. You used the "Set Layer Visibility" command which sets the on/off state of all the layers at once. What you need is a more subtle approach, one that will only change the state of the specific layer associated with the button, not the rest of them (so that you could have multiple layers enabled at the same time). The way to do that is by using a script.
I wrote the script for you and applied it to the top-left counties (WILLIAMS and FULTON), in the attached file. You can now copy the actions I associated with those buttons to the rest of them, and it should work as you want it to.
The file: MAP-HHA-Geographic(3)_edited.pdf - Google Drive -
Batch Job to Create and Send Excel Reports Using!!!
Hello at all,
i have a Report which is created by an Query.
My question is, how can i know if this report have a batch-job in background or not??
I want to know if their is existing any job for this report???
OTHER QUESTION, is:
Is it possible to create a job for a Query-Report that is sending email in background??Hi ETN_58,
in transaction SM37 you can look for jobs for a specific report using field "ABAP program name".
when you create a job in transaction SM36 you have a button for "Spool list recipient". Fill it out to distribute the spool generated by the jog to a distribution list or an email.
regards,
Edgar -
MRP batch job not creating planned orders
Hi Experts,
Can anyone help with suggestions of where/what to look at with this situation. My MRP background (batch) job is not creating planned orders for materials in certain MRP planning areas as expected, but will create planned orders in other MRP planning areas. Running MD01 or MD03 creates planned orders for materials in all MRP planning areas of the plant as expected.Ben,
Any time you get a difference between interactive MRP and batch MRP, first look to the planning file.
Start out by finding some of the discrepant parts (no planned orders are being created) Review for the presence of a planning file entry in MD21. If an entry does not exist, create one in MD20. If an entry does exist in MD21, but there is nothing in the NETCH/ NETPL/reset ord/reexpl bom cols, then this means no relevant changes have taken place, and NETCH MRP will ignore the parts. You can optionally reset these flags in MD21.
If you discover that you have one material for which there is nothing in MD21 (no record at all), then you probably have others as well. Run MDAB in Background, which will mass create all the missing entries. Also a good idea to run MDRE in case something has been corrupted.
Here is [OSS note 205681|https://service.sap.com/sap/support/notes/205681] which explains a bit about the planning file. Also, See [OSS 371016|https://service.sap.com/sap/support/notes/371016] which describes a similar problem.
Rgds,
DB49 -
Batch job not creating purchase requisitions
I have a batch job that runs every day at 5 pm. The point of this job is to run the MRP and create purchase requisitions for materials that have more demand than current supply.
Programs ran within the jobu2026
RWPOB001
RVV50R10C
RMMRP000
My problem...
Purchase Requisitions are not being created for random materials after the batch job has been ran. When the MRP is run by itself (MD01), ALL materials will have purchase requisitions created for them without fail. There is no order to it, and no one has kept track of any material numbers that have not had purchase requisitions created, so I cannot check the configuration.
How I would like to investigateu2026
1 u2013 Obtain a list of ALL purchase requisitions created in the timeframe AFTER the batch job has been ran
2 u2013 Export this list into Excel
3 u2013 Run the MRP manually to create purchase requisitions for ALL materials
4 u2013 Obtain new list of ALL purchase requisitions created in the timeframe AFTER the MRP was manually ran
5 u2013 Export this list into Excel
6 u2013 Compare both lists; remove duplicates, display materials and requisitions that were created AFTER the batch job missed them.
How would I go about getting a full list of purchase requisitions that have been created within the time frame the batch job has been ran, then export them into excel? I understand that ME5A is the standard transaction for displaying lists of purchase requisitions, but how would I go about pulling all purchase reqs CREATED within a certain time period?
Please, include specific SAP transactions and details in your answers.
Also, if anyone has any good advice regarding how to get to the bottom of this specific issue, Iu2019m open to suggestions. All good suggestions will be rewarded promptly.Cameron Lawrence Dunbar wrote:
>
> You mention that RMMRP000 should be ran before requirements planning. Is it possible that our positioning of the program at the end of the job is causing these issues? Or is it most likely the varient/parameters of one of these programs?
>
> Also, how can I display a list of purchase requisitions CREATED over a certain period of time?
No, I did not say that RMMRP000 should be ran before requirements planning. I said it is the requirments planning. So you just run it twice if you execute it with MD01 again after this job.
Running it twice should not end in different results if it is run with the same paramters (selection variants)
As you are saying you get different results, I think you are running it actually with different entries in the selection screen.
So you need to compare both selection screens. MD01 is obvious as you see it directly.
Compare it with the selection variant of the batch job, that you can display via the menu after you displayed the job in SM35
ME5A transaction can give you a list of requisitions. alternative you can just use SE16 at table EBAN.
Edited by: Jürgen L. on Apr 25, 2011 9:08 PM -
How to create buttons for each slide in slideshow
I currently have a slideshow working with prev and next buttons,
but would like to add numbered buttons for each slide at bottom of images,
with a static number for the active slide that has a colored circle around that number.
I can create static number with colored circle in Photoshop and add that to a layer,
but it's labor intensive to do that for all numbers.
Is there a better way to create the highlighted numbers for active slide?
For numbered buttons that link to non-active slides, I can create numbers in Photoshop and import images into Flash,
then convert to symbols and assign actions for them,
But that too is labor intensive to do for all the numbers.
Is there a better way to create numbered buttons for non-active slides?
I'd also like to have a hover function on the numbered buttons,
that changes from plain image of number to number with colored circle like I want to use for active slide.
How do I assign a hover function to button symbol, that will load another image or symbol?Try to think in terms of having reusable symbols. Think it thru before you try it.
Use a movieclip symbol instead of a button. Have a dynamic textfield in that movieclip for the number, and set the textfield to not be selectable. Have one frame of this movieclip where it displays as the highlighted (selected) one and have the movieclip go there where you are on that slide.
Use the textfield for the number--assign it dynamically so that you don't have to import an image for it. Use as many of these movieclips as you need to for all your buttons.
Have functions that reset all the buttons at once so that when you move to a new slide, the previously selected one goes back to mormal... follow that with setting the newly selected one to be in its "selected" frame. -
Public API's to create delivery for each delivery line
I've requirement to create unique delivery for each delivery line using API. Can any body use public API to meet this requirement. Please ! any idea and thought !
R12.
Thanks in Advance,
RamanaTry the WSH_DELIVERIES_PUB.Create_Update_Delivery API. The API creates a new delivery record or updates an existing delivery record in WSH_NEW_DELIVERIES table. The DELIVERY_ID, NAME and return status of a new delivery are passed as OUT parameters, while the DELIVERY_ID or NAME of an existing delivery for update is passed as an IN parameter.
Pass IN parameter p_action_code value UPDATE ---> incase you want to update existing delivery.
Pass IN parameter p_action_code value CREATE --> incase you want to create a new dleivery.
Parameter Usage Type Required
p_api_version_number IN Number x
p_init_msg_list IN Varchar2 -
x_return_status OUT Varchar2 -
x_msg_count OUT Number -
x_msg_data OUT Varchar2 -
p_action_code IN Varchar2 x
p_delivery_info IN OUT Record x
p_delivery_name IN Varchar2 -
x_delivery_id OUT Number -
x_name OUT Varchar2 -
I hope all this infor. comes handy.
-Dhawang -
Batch Job BITRP...for BIA
Hi,
I see some batch jobs running automatically in BI 7.0.
Their name starts from BITRP......
Example - BITRP_43AJDF38O1HJUOTHY1PX8DHXW
I can see that it is related to BIA Index activation. How they are running automatically. Is it schduled automatically somewhere.
Please let me know if anybody has any idea.
YOu rhelp will be appreciated.
SCcan you make out the cube name from the job its running??
In either case(Y/N) goto Transaction RSDDV>select the Infocube>Hit the BIA Index button-->select 'Application Logs' option and try selecting options
Initial filling
Roll up
Check
individually to verify the job running same is either any of this processes described.
Aforementioned would conclude which process for BIA index is running and from the BIA index admin wizard you can either stop or continue with as per your requirement.
I reckon in the earlier post of yours,you did try tweaking(initial filling of indexes) with the BIA that could have triggered the job.
Hope it Helps
Chetan
@CP.. -
Batch process to create subfolders within each Teacher's Hand In folder?
(newbie administrator of a school art lab)
Originally the contractors set up shared folders according to what they thought I needed.
Now I'm getting more comfortable with Workgroup Manager and want to set up the mac server hand in folders with the same hierarchical structure as the ones on the Windows server. Specifically, I have twenty (for now) teacher accounts in workgroup manager. Within each one I want to have three folders (Docs on MacSvr, Hand In and Hand Out) and within Hand In I want 8 folders: Period 1, Period 2 etc. I can do this individually and have all the permissions figured out, but I'd rather not do this one at a time if someone can point me to a book or website that can teach me how to create folders and set permissions with a script or batch file.I'm getting closer, I'm studying the information
from this thread:
http://discussions.apple.com/thread.jspa?threadID=1116274&tstart=30
especially
http://www.wazmac.com/serversnetwork/fileservers/osxserversetup.htm -
On my solaris server, there is an application which, in order to display some information, opens the browser. The server can be accessed thorugh X windows by various users. The issue is that whn firefox is open on one display, it fails to open on another display.
The resolution for this problem as suggested by a lot of users on various forums is to create different profiles for various firefox instances. However, everytime my application will launch firefox, i will have to invoke it with -P option which will pop up the profile manager. I do not wish to show the pop up for creating profiles:(. Is there some way to allow multilple instances of firefox to run on different displays?when you lock the preferences with the mozilla.cfg file in the firefox program folder as it's described in the mozillazine kb article above, it should apply for all users...
-
Create Records for each date in a range
I wish to create a report which will creat a record for every day between two dates:
Before:
==============================
Name Start Date End Date Car
Brown 01-10-2011 05-10-2011 Ford
Brown 06-10-2011 08-10-2011 Nissan
White 05-10-2011 09-10-2011 Kia
After:
==============================
Brown 01-10-2011 Ford
Brown 02-10-2011 Ford
Brown 03-10-2011 Ford
Brown 04-10-2011 Ford
Brown 05-10-2011 Ford
Brown 06-10-2011 Nissan
Brown 07-10-2011 Nissan
Brown 08-10-2011 Nissan
White 05-10-2011 Kia
White 06-10-2011 Kia
White 07-10-2011 Kia
White 08-10-2011 Kia
White 09-10-2011 Kia
Please advise how I should go about this
many thanks
Cheers
Davidhere's a formula to help you get started...this will create a text output formula that will have the dates displayed...you'll have to modify it to include the other info that you need in your display.
1) create a new formula that will be Basic Syntax...change the "ship date" field in the syntax below to your date field.
dim thisdate2 as date
dim nextdate2 as date
dim output as string 'output is the text display
dim daysbetween2 as number
dim looptimes2 as number
looptimes2 = 0
daysbetween2 = 0
thisdate2 = {Ship Date.DE_Ship_Date} + 1
nextdate2 = nextvalue({Ship Date.DE_Ship_Date})
if nextdate2 - thisdate2 > 0 then daysbetween2 = nextdate2 - thisdate2 else daysbetween2 = 1
do
output = output + monthname(month(thisdate2),true) + "/" + totext(day(thisdate2),0,"") + chr(10)
looptimes2 = looptimes2 + 1
thisdate2 = thisdate2 + 1
if thisdate2 in nextdate2 to {Ship Date.DE_Ship_Date} then formula = output
loop until looptimes2 = daysbetween2
2) put this formula in a new details section that is formatted to Supress Blank Section
3) format the formula so that it is Can Grow -
Create solution for each system Landscape?
Hi,
We are using Solution Manager 4.0.
We have created one solution and all of our ECC 6.0 systems with in ECC landscape have been already integrated with that existing 'Solution'..
Now, we are implementing BI 7.0 system.Since this is seperate landscape
would it be better if i created another solution and integrate all BI systems with
that?
I thought of taking your opinion before i implement that.
Thanks,
RamIf you group them by system type, how do you classify the Leading Role of your Solution?
You have to assign, Dev, Test, Prd, etc to the leading role of your solution, other systems in the logical component that do not have the same classification that the solution is assigned wont show up.
edit -
Once you have an active solution you can edit your solution settings and add other systems to your solution even if the leading role of your solution differs from one of the systems of your logical component. You can simply add a system by adding the logical component that it is defined in, then right click on the system and click "add to solution".
Edited by: David Labuda -
Creating a batch job for the sapscript
Hi folks,
I have a question of how schedule a batch job in the background for the sapscript? I have the print program and I am using the following FM to read the output device which I pick up printer device from the pop up dialog box. How can i do that?
Here is the FM that I using in the print program.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = 1
COVER_PAGE = SPACE
DATA_SET = 'LIST8S'
DEPARTMENT = C_CHAR_UNKNOWN
DESTINATION = C_CHAR_UNKNOWN
EXPIRATION = C_NUM1_UNKNOWN
IMMEDIATELY = C_CHAR_UNKNOWN
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
LAYOUT = C_CHAR_UNKNOWN
LINE_COUNT = C_INT_UNKNOWN
LINE_SIZE = C_INT_UNKNOWN
LIST_NAME = C_CHAR_UNKNOWN
LIST_TEXT = C_CHAR_UNKNOWN
MODE = 'CURRENT'
NEW_LIST_ID = 'X'
NO_DIALOG = C_FALSE
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = 'ZSAPFORM'
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
IMPORTING
OUT_ARCHIVE_PARAMETERS =
OUT_PARAMETERS = i_pri_params
VALID = w_valid
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4
IF SY-SUBRC = 0 and w_valid ne space.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write: / 'Pri params ', i_pri_params.
Thanks,
SKHi folks,
I have a question of how schedule a batch job in the background for the sapscript? I have the print program and I am using the following FM to read the output device which I pick up printer device from the pop up dialog box. How can i do that?
Here is the FM that I using in the print program.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = 1
COVER_PAGE = SPACE
DATA_SET = 'LIST8S'
DEPARTMENT = C_CHAR_UNKNOWN
DESTINATION = C_CHAR_UNKNOWN
EXPIRATION = C_NUM1_UNKNOWN
IMMEDIATELY = C_CHAR_UNKNOWN
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
LAYOUT = C_CHAR_UNKNOWN
LINE_COUNT = C_INT_UNKNOWN
LINE_SIZE = C_INT_UNKNOWN
LIST_NAME = C_CHAR_UNKNOWN
LIST_TEXT = C_CHAR_UNKNOWN
MODE = 'CURRENT'
NEW_LIST_ID = 'X'
NO_DIALOG = C_FALSE
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = 'ZSAPFORM'
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
IMPORTING
OUT_ARCHIVE_PARAMETERS =
OUT_PARAMETERS = i_pri_params
VALID = w_valid
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4
IF SY-SUBRC = 0 and w_valid ne space.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write: / 'Pri params ', i_pri_params.
Thanks,
SK -
Batch job for collecting Blocked Deliveries
Hi,
Can anyone help me, i need to collect all the orders that have been blocked for delivery and send the results to an email address.
I created a batch job gave the program for SD Documents blocked for deliveries, but it doesnt seem to work, can anyone please give a step by step procedure.
Thanks alot,
Michelle.1. T.code SM36- Here you will creating the job
2. Give the appropriate variants and the back ground user id
3. once this is done, go to the Spool receipient and give the email id where you want to send the mail to. Run the job now. You should receive the mail now, provide the connections are maintained.
Hope this will resolve the issue.
Mani
Maybe you are looking for
-
Unable to reset document with ***. Translation Adj. accounts using FBRA
Hi, When i tried to reset a document which has with ***. Translation Adj. accounts using FBRA , i got a message saying "Exchange rate differences were posted" "Clearing document will be reversed". "Do you want to continue" Yes,No. When i click "NO",
-
We plan to display HR transaction TRIP in a transaction iView in SAP Portal. By default a pop-up is opened when you enter TRIP and the user is prompted for tabbing in his personnel number. How can we configure TRIP to collect the logged on user's pe
-
What will happen if i mention like load-on-startup -1 /load-on-startup ?
Hi All, In my web.xml what will happen if i mention like <load-on-startup> -1</load-on-startup> ?
-
Hi, I am running JAXB 1.0 (JWSDP 1.1) with Weblogic 6.1 Below is the code that is causing the exception. Inspite of the error JAXB reads the XML in fine and everything proceeds normally. Any help would be greatly appreciated. Thanks in advance, Abhij
-
Nokia 6680 - Keypad Light Problem..
Hi can anyone tell me why my keypad light switches itself off while the screen remains bright? Its impossible to text in the dark!