Requisitioner as WF-BATCH in PO

Hi all
we are working in classic scenario (SRM 5.0). shopping carts created from catalogues are going to ECC 5.0 after approval and automatically create PO.
Issue is once PO gets created, for 1st line item we are getting Tracking No as shopping cart no and requisitioner as shopping cart creator. But for 2nd line item onwords tracking no is blank and requisitioner as WF-BATCH. We want Tracking No as shopping cart no and requisitioner as shopping cart creator for all line items.
i really appreciate your help on this.
Regards

Hi. To get the SC number on the backend PO you must be using a BADI, probably either BBP_DOC_CHANGE_BADI or BBP_CREATE_BE_PO_NEW or BBP_CREATE_PO_BACK.
Look in these BADIs, the cart data is probably not being looped around correctly.
Regards,
Dave.

Similar Messages

  • SRM7 classic scenario - backend PO creator and item requisitioner

    Hi all,
    In our current SRM4 with backend ECC 6.0 EhP4, the backend system was defined as ERP_2.0.  After shopping cart get approval and PO generated at backend, both the PO creator and item requisitioner are equal to shopping cart creator.
    We are upgrading to SRM7 and exploring the service procurement scenario (transfer service hierarchy) between SRM7 and backend ECC 6.0 EhP4.  After we defined backend system as ERP_4.0 (LOG_MM_P2PSE_1 activated EhP 4) and setup PI, the PO was successfully created at backend via XML message. However, we noticed that the PO creator and item requisitioner were WF-BATCH but not the shopping cart creator.   Is there any setup that can resume both the PO creator and item requisitioner equal to shopping cart creator?
    We also tested in SRM7 to define backend system as R/3_4.6C (does not require PI), then the backend PO creator and item requisitioner are equal to shopping cart creator.
    Regards,
    Donald

    Hi Donald
    988490
    - CHECK CODE CORRECTION
    IF NOT ls_partner-requestor IS INITIAL.
          mc_assign_x ls_be_item preq_name ls_partner-requestor.
        ELSE.
          mc_assign_x ls_be_item preq_name sy-uname.
        ENDIF.
    Note 761630 - WF-Batch in change documents
    Reason and Prerequisites
    There are processes in which changes to the document are implemented in the background task in the background (for example, by the workflow). In this case, the system user WF-BATCH is displayed in the document as the last 'Changed by'.
    Solution
    This is not a general error because the change history correctly displays changes made by the workfow, for example.
    In some cases, it would make sense, from a business point of view, that the change history does not display the WF Batch but the user who triggered the workflow/background process (example: approval of a shopping cart by a manager). Due to the complexity of this development, which involves adjustments of all workflows and background processes, no solution can be provided in Releases SRM 4.0 and SRM 5.0. An advance correction is only possible for the special case when shopping carts are released (see Note 761293).
    by the way what are your rfc user names?
    Check with SAP.
    mUTHU

  • Requisitioner name to be displayed instead dof WF-BATCH

    Hello All,
    I am facing a strange issue with my FIORI approve requests implementation.
    I am trying to implement SAP FIORI for Purchase requisition Header release using Approve requets APP. It was successful. The functionality is working fine.
    Now the user the wants the name of the Purchase requisitioner to be displayed in the FIORI page as follows.(The below screen shot is from or internal lab system).
    But when tried replicating the same in our client system, we are getting the WORKLFOW SYSTEM instead PR Requisitioner name as below.
    I have checked with all the authorizations but ended with no clue.
    Thanks for your inputs in advance.
    Siva Krishna

    Hello Jocelyn,
    thanks for the response. Below are the two screen shots for the chronolical order.
    Lab System.
    Client system:
    If the node 21 " PR_RELEASE" ( similar to PR_REl in lab system) can be made user name instead of WF- BATCH, I hope the issue might be resolved. No extra settings were done in Labsystem for this.It is a simple IDES system.
    However I would suggest as a first step, you let us know if this is a custom or standard workflow?   Yes it is custom workflow.
    Advance with Dialog-  Has not been enabled in both the systems.
    The fiori APP i am using for this is Approve requests application.
    We even tried Modifying the SAP UI5 library using eclipse. But of no lead.
    Thanks,
    SK

  • Requisitioner name to be displayed instead of WF-BATCH

    Hello All,
    I am facing a strange issue with my FIORI /Workflow approve requests implementation.
    I am trying to implement SAP FIORI for Purchase requisition Header release using Approve requets APP. It was successful. The functionality is working fine.
    Now the user the wants the name of the Purchase requisitioner to be displayed in the FIORI page as follows.(The below screen shot is from or internal lab system).
    But when tried replicating the same in our client system, we are getting the WORKLFOW SYSTEMinstead PR Requisitioner name as below.
    I have checked with all the authorizations but ended with no clue.
    Thanks for your inputs in advance.
    Siva Krishna

    Hello Jocelyn,
    thanks for the response. Below are the two screen shots for the chronolical order.
    Lab System.
    Client system:
    If the node 21 " PR_RELEASE" ( similar to PR_REl in lab system) can be made user name instead of WF- BATCH, I hope the issue might be resolved. No extra settings were done in Labsystem for this.It is a simple IDES system.
    However I would suggest as a first step, you let us know if this is a custom or standard workflow?   Yes it is custom workflow.
    Advance with Dialog-  Has not been enabled in both the systems.
    The fiori APP i am using for this is Approve requests application.
    We even tried Modifying the SAP UI5 library using eclipse. But of no lead.
    Thanks,
    SK

  • Send E-mail to Buyer and Requisitioner while doing GR for a Purchase Order

    Hi All,
    I  would like to send automatic notification messages to buyers and Requisitioners when goods receipt is completed for Purchase orders (Document type ZE). Notification should be sent only for the purchase requisitions that are created manually.
    Notification message should contain the following info:
    u2022 Purchase order number
    u2022 Purchase requisition number
    u2022 Purchase requisition line item number
    u2022 Vendor
    u2022 Material Number
    u2022 Short Text
    u2022 Goods Receipt quantity
    u2022 Batch number
    u2022 Storage Location
    Notification messages should send to an email address, requisitioneru2019s SAP address and e-mail address that was maintained SAP user profile.
    If goods receipt document contains more than one line and those lines related to more than one requisition the system should generate one message per requisitioner.
    There is standard fonctionality in message determination that enables sending a message to the buyer when GR is performed on a PO. But not to requisitioner.
    would this require Worfklow or is there a user exit available at Goods Receipt time to do this kind of notification?
    Please let me know
    Thanx in advance.

    Hi,
    You can send the mail in the BADI MB_DOCUMENT_BADI.
    But i suggest to check with your functional consultant to set up a routine in output determination.
    In this routine you can add the code to send the mail.
    Regards,
    Ankur Parab

  • Requisitioner is not receiving the PO approval mail

    Hi SAP Guru's
    SRM 5.0 CCM2.0 , Extended Classic Scenario,
    After creating the PO , the PDF format of PO with Email notification is sent to the vendor Email address but requisitioner is not getting any PO approval mail for the same. its been 3-4 weeks requisitioner is not receiving any mail before that the mail was sending into mailbox.
    I have checked in SOST TC and seen that the email is sent to the vendor address only but not to requisitioner.
    There is two batch job are running for that - Z_Print_PO ( Sending PO by mail to vendor )and Z_SENDMAIL ( Sending PO by mail to vendor )
    Please clarify should requisitioner also get the PDF of PO or get the PO approval mail only & How ?
    Kindly advice.
    Thanks ,
    Jayoti

    Hello Jayoti,
    After creating the PO , the PDF format of PO with Email notification is sent to the vendor Email address but requisitioner is not getting any PO approval mail for the same. its been 3-4 weeks requisitioner is not receiving any mail before that the mail was sending into mailbox.
    During output PO (whatever the sending medium), no approval PO workflow mail can be sent as the workflow is finished.
    Clarify what you are talking about for Requisitionner: notification mail when PO is approved or approval workflow mail ?
    Regards.
    Laurent.

  • 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 Kan

    Hi,
    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.
    nitin

    MBEWH 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 garg

    I 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
    Prasanna

    Hi 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

  • Batch job

    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,
    Nick

    You 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.

Maybe you are looking for