BAPI_GOODSMVT_CREATE u2013 Collective slip not printed when called from Biztalk

Hi Experts,
Iu2019m trying to call BAPI_GOODSMVT_CREATE from within a Biztalk Orchestration.
Everything works fine except for one thing: The printing of the collective slip.
I made a quick test and the collective slip is printed when I call BAPI_GOODSMVT_CREATE from transaction SE37 (Test Sequences).
I have used exactly the same parameters for the two cases.
I can see that when I call the BAPI from SE37, an output is generated for the material document (MB03 / details / messages). 
This is not the case when the call comes from Biztalk.
I followed the documentation and the notes 520813 (Question 12), 426554.
This means that:
  - The user executing the BAPI has the parameter NDR set to u2018Xu2019 in his profile.
  - VER_GR_GI_SLIP is set to u20183u2019 to ask for the collective slip print out.
  - VER_GR_GI_SLIPX is set to u2018Xu2019 to enable the print out.
What should I do to be able to print a collective slip when calling the BAPI from Biztalk ?
Thank you in advance for your help,
Francisu2026

hi,
check out this thread.
Re: User Exit for MSC2n( Batch) while doing a Good receipt for an order
Ashutosh

Similar Messages

  • HR_INFOTYPE_OPERATION not working when called from Dynamic action

    Hi ,
           Senario  : I would like to execute a form from dynamic action which
    creates a record in 0015 (Additional payment IT) .
           I have writen the code as shown below am using FM HR_INFOTYPE_OPERATION
    . When i execute the program from se38 it is creating a record, however it is
    not created when it is called from dynamic action..when i debugged the code in
    inside the FM HR_INFOTYPE_OPERATION there is a FM HR_MAINTAIN_MASTERDATA where
    they are using call dialog (statement) and
    sy-oncom = 'N'   when called from Dynamic action and
    sy-oncom = 'S'   when called executed directly.
    I tried to change the sy-oncom to S while run from Dynamic action it created
    the record.
    So Can anyone explain me abt sy-oncom and how can i resolve the issue..
    code..
    REPORT ZHRPYENH01 .
    perFORM TERMIATION_9000.
    INCLUDE DBPNPMAC.
          FORM Termiation_9000                                          *
    FORM TERMIATION_9000.
    INFOTYPES : 0015.
    *data : i .
    *i ='c'.
    *break-point.
    *message i000(000) with i.
      TABLES : PRELP.
      DATA : P9000 TYPE PA9000." with header line.
      DATA : P0000 TYPE STANDARD TABLE OF  P0000 WITH HEADER LINE.
    DATA : P0015 TYPE STANDARD TABLE OF  P0015 WITH HEADER LINE.
      DATA : HIRE_DATE  LIKE SY-DATUM,
             TERM_DATE  LIKE SY-DATUM.
      DATA : MOLGA LIKE T500L-MOLGA VALUE '25',
             SEQNR LIKE PC261-SEQNR.
      DATA : RGDIR TYPE STANDARD TABLE OF PC261 WITH HEADER LINE.
      DATA : ACTUAL_PERIOD LIKE PA9000-RETENTION.
      DATA : PNP-SW-FOUND TYPE SY-SUBRC ,
             PNP-SY-TABIX TYPE SY-TABIX.
      DATA : TER_PERNR LIKE PA0001-PERNR.
      DATA : REF_PERNR LIKE PA0001-PERNR.
      data : key type BAPIPAKEY.
      data : payed_amount type p0015-BETRG.
    data : future_payment_amount type p0015-BETRG.
    data : p0002 like pa0002.
      types : begin of t_deduction ,
              deducation_date like p0015-begda,
              future_payment_amount type p0015-BETRG.
      types : end of t_deduction.
    data :  future_deduction type standard table of t_deduction with
    *header line.
      data :  future_deduction type  t_deduction .
    data : RETURN type  BAPIRETURN1.
    *data : deduction_p0015 like standard table of p0015 with header line.
    data : deduction_p0015 like p0015 .
    xxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxx
    ****Prepare 0015 data for deduction
    *deduction for payed amount
    clear deduction_p0015.
    *refresh deduction_p0015.
    deduction_p0015-pernr = REF_PERNR.
    *deduction_p0015-pernr = TER_PERNR.
    deduction_p0015-lgart = 'M120'.
    deduction_p0015-begda = sy-datum + 1 .
    deduction_p0015-endda = sy-datum + 1 .
    deduction_p0015-BETRG = payed_amount.
    deduction_p0015-WAERS = 'SGD'.
    deduction_p0015-ZUORD =  TER_PERNR.
    *append deduction_p0015.
    **deduction for future payment amount
    *loop at future_deduction.
    *clear deduction_p0015.
    *deduction_p0015-pernr = REF_PERNR.
    **deduction_p0015-pernr = TER_PERNR.
    *deduction_p0015-lgart = 'M120'.
    *deduction_p0015-begda = FUTURE_DEDUCTION-DEDUCATION_DATE.
    *deduction_p0015-endda = FUTURE_DEDUCTION-DEDUCATION_DATE.
    *deduction_p0015-BETRG = future_deduction-future_payment_amount.
    *deduction_p0015-WAERS = 'SGD'.
    *deduction_p0015-ZUORD =  TER_PERNR.
    *append deduction_p0015.
    *endloop.
    Create a deduction wage type in 0015 for the employee
    break-point.
    CLEAR RETURN.
    CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
      EXPORTING
        NUMBER              = REF_PERNR
        VALIDITYBEGIN       = '18000101'
    IMPORTING
       RETURN              = return
    if not return is initial.
    message E000(000) with
    'Referred Employee could not be locked for referal  payment deducation,
    please try after some time'.
    endif.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        INFTY                  = '0015'
        NUMBER                 = REF_PERNR
       SUBTYPE                = 'M120'
      OBJECTID               =
      LOCKINDICATOR          =
       VALIDITYEND            = SY-DATUM
       VALIDITYBEGIN          = SY-DATUM
      RECORDNUMBER           =
        RECORD                 = deduction_p0015
        OPERATION              = 'COPY'
      TCLAS                  = 'A'
       DIALOG_MODE            = '2'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
    IMPORTING
       RETURN                 = return
       KEY                    = key
    break-point.
    COMMIT WORK.
    if not return is initial.
    *return-TYPE
    *ID
    *NUMBER
    *MESSAGE
    message I000(000) with return-MESSAGE.
    endif.
    CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
      EXPORTING
        NUMBER              = REF_PERNR
        VALIDITYBEGIN       = '18000101'
    IMPORTING
       RETURN              = return
    xxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxx
    Thanks and regards
    -Senthil Bala
    Message was edited by: senthil bala

    Hi Senthil
    Why at all U want a subroutine to create a record in IT0015 through Dynamic action.There are some standard codes available to update infotypes.
    Let me give U an example
    14     9CON     BETRG     4     2     I     INS,0015 This will create a record in IT0015 when IT0014 is updated with Wagetype 9CON
    14     9CON     BETRG     4     3     W     P0015-LGART='5400' Set wagetype for IT0015(Here U can use a subroutine call to set the wagetype)
    14     9CON     BETRG     4     4     W     P0015-BETRG=P0014-BETRG set amount for IT0015(Here U can use a subroutine call to get the amount)
    14     9CON     BETRG     4     5     W     P0015-BEGDA=P0014-ENDDA set the dates(Here U can use a subroutine call to set the dates)
    Hope this will help U.
    Please award points if helpful

  • Subtemplate footer is not coming when calling from the main template

    Hi All,
    The footer from the subtemplate is not coming in the output when calling from the main template. Does anybody worked on the subtemplate?
    If the same footer is put in the main template, it is displaying.
    Please respond as this is a critical issue for us.
    Thanks,
    Ambadas

    Hi Tim,
    Thanks for your reply. Here is syntax which I got from the Oracle BI Publisher blog. And this is to just test locally.
    http://blogs.oracle.com/xmlpublisher/2006/04/11?import:file:///C:/temp/HeaderFooter.rtf
    <?import:file:///d:/test/GEPOPRINT_GER_GER.rtf?>
    <?import:file:///d:/test/GEPOPRINT_US.rtf?>
    <?for-each@section:G_HEADERS?>
    <?if:POH_REPORT_NAME='GER PO w/GERMAN Data'?>
    <?call-template:PO_GERMAN?>
    <?end if?>
    <?if:POH_REPORT_NAME='US Purchase Order'?>
    <?call-template:PO_US?>
    <?end if?>
    <?End for-each?>
    And I don't have any footers in the main template but in the subtemplate I have the respective footers. If you want, I can send all the RTF's to you directly.
    Let me know.
    Thanks,
    Ambadas

  • SOFM: Dsiplay method is not working when called from ABAP Webdynpro

    Hi All,
    I want to open an attachment from ABAP Webdynpro.
    I have approached in this fashion:
    1) Get the attachments as SOFM object key
    2) On Click of a link on Webdynpro, I am calling a function module within which I am creating an instance of the SOFM object
    3) Then I am calling the DISPLAY method
    It is not opening.
    But, if it opens when I driectly execute the function module. It open when I directly test the business object.
    Any Idea ?
    Thanks & Regards,
    Deb

    Display Method uses the Dialogue Module, You should not access such methods in web dynpro which are SAPGUI specific.
    Web Dynpro Applications are run in Browser environment which cannot understand Dialog, it can understand only HTML.
    Read the attachments and get the content and use FileDownload UI element to show it to user.
    Abhi

  • Caller ID does not work when calling from Jabber

    We have the following results when doing calls within the company:
    Desk Phone A (4567-X-Smith): 7801234567
    Desk Phone B (4568-Y-Miller): 7801234568
    Main Company Line: 7801230000
    All desk phones have the following type of configuration:
    Under the phone -> Line[1] -> Line1 on Device <MAC>
    Display (Internal Caller ID): 4567-X-Smith
    ASCII Display (Internal Caller ID): Our Company Name
    Line Text Label: 780-123-4567
    ASCII Line Text Label: 780-123-4567
    External Phone Number Mask: 7801230000
    Desk Phone A calls Desk Phone B
    - caller ID shows up properly on Desk Phone B as 4567-X-Smith
    User at Desk Phone A makes the call through the Jabber client to Desk Phone B
    - caller ID shows up as 7801230000
    This last situation is the problem since we want all internal calls whether they're form the desk phone or Jabber to show the proper caller ID. However, we want the generic main company line (7801230000) to show up to anybody outside the company. What is set incorrectly? Why does Jabber take over the line but not keep the same caller ID settings? Does jabber work as if it's doing an external call?
    Thanks in advance,
    Kris

    Interesting... I just 4-digit dialed 8182 (typed in the Search field at the top of the jabber window) and my proper caller ID showed up...
    Next I tried 10 digit dial 7804988182 through jabber and it showed 7804988100 (our external calling mask). I also just noiced that it very briefly flashes 97804988182 so that seems to indicate it's trying to dial through the PSTN...
    Oddly enough, if I 10 digit dial through my desk phone, it shows the proper caller ID.

  • Managed Attachments - I/PM is not working when called from EBS

    Hi.
    When we click on "Managed Attachments" I/PM login screen should be populated. It was working fine before... Today, it is not working as expected. The following exception is coming in I/PM console logs...
    *<Dec 18, 2011 5:00:23 PM GMT+04:00> <Error> <oracle.wsm.policymanager.bean.util.PolicySetBuilder> <BEA-000000> <The policy referenced by URI "oracle/wss_username_token_ service_policy" could not be retrieved since Policy Manager is not deployed. oracle.wsm.policymanager.PolicyManagerException: WSM-02054 : Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.*
    Caused By: javax.naming.NameNotFoundException: While trying to lookup 'DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager' didn't find subcontext 'DocumentManager#oracle'. Resolved ''; remaining name 'DocumentManager#oracle/wsm/policymanager/bean/ejb/IRemoteDocumentManager'
    I think its the problem with Security Providers... We are using the default only... not using any LDAP etc... when we check in Enterprise Manager it is showing the store type as FILE for "Policy Store", "Credential Store", and "Key Store"....
    The same exception is coming when we test the webservices under Imaging deployment in Weblogic Console...
    Not sure how to crack it...
    Anybody please help!!

    The issue has been resolved by configuring Oracle Web Service Manager security policy as per the doucment 1332250.1
    Oracle Web Services Manager (OWSM) is necessary for applying WS-Security headers to UCM web services. The WebLogic domain that UCM/IPM runs in must have OWSM installed in order for this to work. OWSM can be selected upon domain creation, or added to a domain by extending the domain.

  • Open Form not working when called from When-Mouse-Click

    In our application to navigate to other forms we have created a feature where user selects the Forms from a LOV, the form id is returned to the text item and user needs to click the text item.....In the text item the Open form command is given
    This is not working
    The form builder throws an error
    Frm 92100 Connection interupted
    what could be the reason

    Code written in When-Mouse-click
    for item :boo_toolblk.nbt_nxtscr which contains the form id
    DECLARE
    p_name_id PARAMLIST;
    lv_param_name VARCHAR2(8):= :boo_toolblk.nbt_nxtscr;
    lf_next_form_id FORMMODULE;
    BEGIN
    Clear_Item;
    /*Create a parameter list named 'TEMPLT_PARAM'. First
    ** make sure the list does not already exist, then
    ** attempt to create a new list*/
    IF not Id_Null(Get_Parameter_List('TEMPLT_PARAM'))/*Returns a BOOLEAN value if the object ID is available*/
    THEN Destroy_Parameter_List('TEMPLT_PARAM');
    END IF;
    p_name_id:= Create_Parameter_List('TEMPLT_PARAM');
    /*Add a value parameter to an existing Parameter
    ** List */
    Add_Parameter(p_name_id,'templt_nxtscr',TEXT_PARAMETER,lv_param_name);
    Go_Block(Get_Form_Property(:system.current_form,FIRST_NAVIGATION_BLOCK));
    lf_next_form_id := FIND_FORM(lv_param_name);
    :PARAMETER.next_form := lv_param_name;
    IF lf_next_form_id.id is not null
    THEN
    Close_form(lf_next_form_id);
    END IF;
    Add_parameter(p_name_id,'previous_form',TEXT_PARAMETER,:SYSTEM.CURRENT_FORM);
    /* opens another form*/
    Open_Form(lv_param_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA,p_name_id);
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS
    THEN RAISE FORM_TRIGGER_FAILURE;
    END;
    Error :-
    Frm-92100 : Your Connection to the Server was Interrupted
    This may be the result of a networn error or a failure on the server.
    You will need to re-establish

  • System events not captured when call from SQL Developer?

    Hi,
    This seems a bit weird to me. I'm not sure if there is something going on that I'm not seeing, or just not aware of.
    Oracle 9.2.0.5.0
    SQL Developer 2.1.1.64
    If I run the following in sqlplus, I correctly get a trace file generated
    alter system set events '1403 trace name errorstack level 14';
    begin
    raise no_data_found;
    end;
    OS Pid: 553 executed alter system set events '1403 trace name errorstack level 14'
    Fri Apr  9 14:11:01 2010
    Errors in file /filer3/admin/dev2/udump/dev2_ora_553.trc:
    ORA-01403: no data found
    ORA-06512: at line 2However, If I run it from SQL Developer.. No trace file is generated. All i get in the log file is the alter system message
    OS Pid: 6806 executed alter system set events '1403 trace name errorstack level 14'Any idea what could be going on here? I'm not sure if this is an Oracle problem, or an SQL Developer problem? Or I'm just misunderstanding how this should work?
    Thanks
    Matt.

    Sorry I forgot to mention, I'm selecting Run script ( F5 ) in SQL Developer.. The script output in SQL Developer is
    alter system set succeeded.
    Error starting at line 71 in command:
    begin
    raise no_data_found;
    end;
    Error report:
    ORA-01403: no data found
    ORA-06512: at line 2
    01403. 00000 -  "no data found"
    *Cause:   
    *Action:

  • My hp deskjet 1510 series does not print when connected to my hplap top (windows Vista),

    My hp deskjet 1510 series does not print when connected to my hp lap top (windows Vista), it says the printer is not active, although it is default printer, connected and on. However, it does work when connected to the (also HP) lap top (windows 8) of my husband.  I did everything the hp print and scan doctor advised and also what I could find at HP support (like switch of fire walls, reinstall everything, check printpooler ec etc)... it still does nothing except that I managed to print a diagnostic print which should give information about the condition,  but it only gives numbers and letters like : 11. SN = [Edited for Personal Information] Yr  12 PER = 05YR etc, that does not really help me :-). It won't print any testpages.  H E L P!!!

    Hello Elisabeeth,
    Welcome to the HP Forums!
    I understand you're unable to print using the Deskjet 1510. I will do my best to assist you! When you reinstall the HP software, did the installation state it was complete?
    I would start off by following this HP document on 'Printer is offline' Message Displays on the Computer and the Printer Will Not Print. From this document, please make sure you check the connection type and the ports.
    Please post your results, as I will be looking forward to hearing from you.
    I worked on behalf of HP.

  • Stored Procedure Does Not Run Properly When Called From Portlet

    We have a simple Java portlet that calls a PL/SQL stored procedure which we wrote. The stored procedure sends a large number of emails to users in our corporation using the "utl_smtp" package. The stored procedure returns a count of the emails back to the Java portlet when it's finished. This number is displayed in the portlet.
    Our problem:
    The stored procedure functions as expected when run from a PL/SQL block in SQL*Plus, and the Java portlet calls the procedure properly when sending out a smaller number of emails (Less than 200 usually). When we get into a higher number of emails the procedure hangs when called from the portlet, but it STILL functions properly from SQL*Plus. It does not return the number of emails sent
    and the Java portlet is unable to return a SQLException. Also, we have noticed that emails are sent at a much slower pace from the stored procedure when it's called from the portlet.

    Any Ideas?

  • I use floating time zone with all of my iCal entries.  But then the times of the entries do not print when printing month view.  Is there a fix for this?

    I use floating time zone with all of my iCal entries.  But then the times of the entries do not print when printing month view.  Is there a fix for this?

    Sorry to have repeated this question as if I were answering it.  Just a mistake.  I'm just now learning how to use this site.

  • Advanced table:not able to view more than 10 rows when called from workflow

    Hi everyone,
    I'm calling a page that contains advanced table and its controller class from two places.
    First one is from a inquiry form, when this page is called it works fine. when there are more than 10 rows, first 10 are shown on page render and when we click on Next link, other rows are shown. This is becuase I have given the records displayed property on adavanced table = 10. I'm fine till here.
    Second one is I'm calling this page again from a workflow notificaiton. There is a link called view more details on the workflow notification , click of this link will open the page with 10 records displayed. But when user tries to click on Next it doesn't work. It just doesn't refresh.
    Its very wierd,. not able to understand what could be wrong when calling from wf notificiton. Its the same page and conroller code used in both the places.
    Please help me!!
    Thanks
    Sunny

    Thanks for your response Kristofer. You are correct, there was a difference in the parameters and the issue is resolved now.

  • Adobe PDF files will not display when called via a link in page (FF 4.01)

    adobe PDF files will not display when called via a link in page.
    This happens when testing new web page from DWeaver CS5 - all other browser tests are OK (IE9, Safari5.05, Chrome etc.)

    [moved to the Adobe Reader (desktop) forum]

  • Some paragraph tags are not printing when document is printed from Framemaker 10.

    So this is really odd. I have a situation where I have a document that I am developing in Framemaker 10 several different paragraph tags are intermittently not printing when the document is physically printed. When I go to print the document from Framemaker 10 to a physical piece of paper some tags are printing partially or not at all. What makes this stranger to me is that when I print the document to a PDF, all of the content and tags show up in the PDF. Then when I try to physically print from the PDF, the tags do no print from that document as well.
    Typically the tags that are not printing are those that have been bolded, but are across several different tags. Also the problem is sometimes only to the first line of a tag, where if the tag carries over to a second line in the document, the text on the second line prints. Another quirky instance that shows up is where the text a line will print only parts of the text. The document uses the same type font for the entire document, Helvetica 55 Roman. The font size varies and the coloring varies as well, but this issue is happening for all sizes and colors.
    I'm not sure what additional information is important here, but if you need additional information please request it and I will supply it to the best of my ability. I'm a content developer with an intermediate amount of experience with Framemaker.

    I'm not sure if this is the same problem, and you didn't mention your
    OS, but there was a widespread problem with dropped text in PDF with
    Windows XP. A hotfix was issued to fix it. If on Windows XP, you should
    install it:
    http://blogs.adobe.com/techcomm/2008/07/hotfix_for_framemaker_1.html
    Also, you mentioned that it was "bolded" text that tended to have the
    problem. Bolded text is artificially bold and does not use actual bold
    fonts. (If I recall, text is double printed at a slight offset to give
    the appearance of a bold font.) So there is no bold font to embed. Be
    sure you install and use an actual bold font, rather than using the
    bolded characteristic, or you could see problems.
    This is a stretch, but you also mentioned that some of the problem
    sections have colored text. Check the printer properties of your Adobe
    PDF virtual printer to make sure someone didn't reassign the driver (on
    the Advanced tab). It should be set to use the Adobe PDF Converter
    driver (or Acrobat Distiller in older Acrobat versions). Years ago,
    people sometimes changed this setting to use other drivers for various
    reasons, not realizing that they limited themselves to the capabilities
    of that driver. So, if they chose an HP LaserJet PostScript driver, for
    example, their documents might no longer be able to be 11"x17" or
    color-- because the printer couldn't handle it. The driver was limited
    to 8.5"x14" and black-and-white. Perhaps there is a driver set that is
    choking on the colored text-- though I would think it would merely
    convert it to B&W.
    Okay, I've grasped at enough straws.

  • Phone will not ring when called

    Hello... I just purchased the iPhone from AT&t and the phone will not ring when called.  I have gone  to settings, sounds, ringtones and all looks good.  Phone sometimes shows a caller is calling but not always and it is not ringing.  Please help>>>

    If the issue is still occuring try a restore just in case.
    If that does not solve the issue..... Take it back to where you purchased it from
    AT&T's DOA (dead on arrival policy) is 30 days from the day of purchase.
    They should be able to replace the iPhone for you as long as you ask them to within 30 days of it being purchased.

Maybe you are looking for

  • Printing a PDF in Adobe Reader  v8 does not print watermark

    In our office we have PDFs created with Adobe Acrobat Professional version 7 that have a lighten watermark which say "confidential". These PDF documents print fine with Adobe Reader 7.0.8. Our office has now converted to Adobe Reader 8.1.1. When you

  • Inserting Data into nested table

    I am exploring the differences between OBJECT & RECORD. As i am still in process of learning, I found that both are structures which basically groups elements of different datatypes or columns of different datatypes, one is used in SQL and other is u

  • Was updating my iPhone 4 to the latest ios and now stuck in recovery mode.

    Was updating my iPhone 4 to the latest ios 5.1 (i believe) and a error message came up (didn't make a note of the error code sorry) but now phone is stuck in recovery mode with the USB wire and iTunes logo on. PC wont reconise iPhone when plug it in

  • Masked color correction - new Pr Pro CC features or still use After Effects?

    I am finally getting around to this project. I know in CS6 the solution was to use After Effects.  I think I kept putting it off as I was not as familiar with that program as I am with PrPro. Anyway this is the issue.  I have 2 hours of old video I h

  • External component usage with interface node

    Hi everyone, I have component A , which has an interface node with Input element checked: Nodes      Node Name     IF_HROBJID Interface Node     1 Input Element (Ext.)     1 Dictionary structure     ZHR_HROBJID_LIST Cardinality     0..n I have anothe