Test FM BBP_PD_SC_CREATE via SE37

Hello to all,
i've just read a lot of stuff concerning the possibility to uplaod shopping cards via the function module. I'm new in the project and currently i haven't still a developer key, therefore i have to check via SE37 and make the test,  if the funktionmodule should be work fine and if we here also can use this one for uplaoding requirements from an other system ( maybe for cut over ).
Concerning the import parameter i've used the great example from Marci:
"I_HEADER
GUID 00000000000000000000000000001
DESCRIPTION TEST
CURRENCY USD
PROCESS_TYPE SHC
I_ITEM
GUID 00000000000000000000000000000002 <- item guid
PARENT 00000000000000000000000000000001 <- header guid
NUMBER_INT 0000000001
NUMBER_EXT 0000000000
PRODUCT 00000000000000000000000000000000
DESCRIPTION MONITOR
CATEGORY 00000000000000000000000000000000
CATEGORY_ID 65.10
QUANTITY 1.000
UNIT EA
PRICE 1.00
PRICE_UNIT 1
GROSS_PRICE 1.00
CATALOG_PRICE 0.00
CURRENCY USD
PRODUCT_TYPE 01
LOGSYS_FI CFG300
BE_LOG_SYSTEM CFG300
BE_PLANT BUS1
BE_MOVE_REAS 0000
BE_PUR_GROUP W01
BE_PUR_ORG IBRD
BE_CO_CODE IBRD
BE_DOC_TYPE ECPO
BE_PACKNO 00000000
BE_INTROW 00000000
BE_PO_PRICE 1
I_ACCOUNT
(for each item, you create an entrie that its linked to the item guid).
GUID 00000000000000000000000000000003
P_GUID 00000000000000000000000000000002 <- item guid
DISTR_PERC 100.00
ACC_NO 0001
ACC_CAT CC
SRC_GUID 00000000000000000000000000000000
G_L_ACCT 500411060
BUS_AREA VTRS
COST_CTR 6589
SDOC_ITEM 000000
SCHED_LINE 0000
CO_AREA WBG1
PROF_SEGM 0000000000
CMMT_ITEM 500411060
FUNDS_CTR 6589
FUND BB
I_PARTNER
PARTNER_GUID 000000000000000000000004
P_GUID 000000000000000000000001 <- header guid
PARTNER_FCT 00000039
PARTNER_NO
ADDR_TYPE 1
ADDR_ORIGIN A
ADDR_NO 10735
PARTNER_ID 1058
same like i have passed 3 more partner details.
I_ORGDATA
GUID 0000000000000000000000005
P_GUID 0000000000000000000000001 <- header guid
PROC_ORG_RESP_ID 50000641
PROC_ORG_ID 50000640
PROC_GROUP_ID 50000641"
After correction the org data , we have also enter the leading 'O' within the data ( O 500000640 instead 500000640 ). If not i get an run time error message ---> UNCAUGHT_EXCEPTION.
So and now i get 2 error messages after testing the function module.
1.) if  try to get the partner information in the I_PARTNER table
as follow:
CLIENT                         020
PARTNER_GUID                   00000000000000000000000000000004
P_GUID                         00000000000000000000000000000001
PARTNER_FCT                    00000016
PARTNER_NO                     62EECA46C2B54F41E1000000A032B34E
ATTRIBUTES
MAINPARTNER
ADDR_TYPE                      3
ADDR_ORIGIN                    A
DEL_IND
PERS_NO                        10812
ADDR_NO                        10910
the error message occurs:
E BBP_PD               050 Partner of type Requester is not authorized for this document. Check entry
E BBP_PD               358 Select a location to which a plant has been assigned
2.) if i don't fill in the I_PARTNER ( for testing ) than i only get the error : E BBP_PD               358 Select a location to which a plant has been assigned
My question now is, a.) is it possible to make a test for this FUBA only via SE37 ( i guess yes but after this different messages i'm now a little bit confussed and not realy sure at present   )
And if it also should be work, where can be the reason that the systems ment that there is no location assigned to a plant ( ERP ).
Remark:
I created a SC by using the WEB frontend with my user id. That worked fine. Therefore i'm convinced, that my user is correctly embedded in the PPOMA and all attributes are sufficient maintained .The made test in the SRM system via SE37 was still made with the same user, therefore i guess, that the same attributes should be get and therefore i absoluteley didnt understand the last message.
It were great, if someone has an idear and could give me support :-)..
thanks a lot .
Thomas

> Hi
>
> Which SRM version are you using ?
>
> <b>
>
> The function module which you have referred
> "BBP_PD_SC_CREATE" is already used in the function
> module BBP_PD_SC_CREATE_EXTERNAL to create the
> shopping carts. Have you tried to use the
> BBP_PD_SC_CREATE FM instead of the external one
> ?</b>
>
> <i>You can use FM BBP_PD_SC_CREATE with this two
> blogs:</i>
>
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 3614
>
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 3620
>
> <u>Please go through the following threads -></u>
>
> /message/36427#36427 [original link is broken]
> 71#3642771
>
> /message/30841#30841 [original link is broken]
> 26#3084126
>
> /message/33461#33461 [original link is broken]
> 63#3346163
>
> /message/29221#29221 [original link is broken]
> 65#2922165
>
> Re: Logon Error for BSP Applications.
> 2&
>
> /message/28079#28079 [original link is broken]
> 36&
>
> /message/33352#33352 [original link is broken]
> 16#3335216
>
>
>
> <b>Hope this will help. Do let me know.</b>
>
> Regards
> - Atul
> Hi
>
> Which SRM version are you using ?
>
> <b>
>
> The function module which you have referred
> "BBP_PD_SC_CREATE" is already used in the function
> module BBP_PD_SC_CREATE_EXTERNAL to create the
> shopping carts. Have you tried to use the
> BBP_PD_SC_CREATE FM instead of the external one
> ?</b>
>
> <i>You can use FM BBP_PD_SC_CREATE with this two
> blogs:</i>
>
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 3614
>
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 3620
>
> <u>Please go through the following threads -></u>
>
> /message/36427#36427 [original link is broken]
> 71#3642771
>
> /message/30841#30841 [original link is broken]
> 26#3084126
>
> /message/33461#33461 [original link is broken]
> 63#3346163
>
> /message/29221#29221 [original link is broken]
> 65#2922165
>
> Re: Logon Error for BSP Applications.
> 2&
>
> /message/28079#28079 [original link is broken]
> 36&
>
> /message/33352#33352 [original link is broken]
> 16#3335216
>
>
>
> <b>Hope this will help. Do let me know.</b>
>
> Regards
> - Atul
HI Atul,
i've checked again all import parameter and values as in the example faced.
Also i've made a setting concerning the plant as default in the PPOMA on organisation level for the department where my user is assigned to. Than i've create two line items for the i_partner table. One for the requester and the second  for the location. In both line items i've filled in the GUID of the partner NO.
And in this constellation the funktion module works fine without occuring an error message.
Thanks for the feedback.
The next step will be to create the frame work by using the FM and the FM to store the test datas. I hope that also will be work as expected.
Regards
thomas

Similar Messages

  • Error"SYSTEM Failure" while testing the RFC in SE37  : RFC to JDBC Scenario

    Hi All,
    I am doing RFC to JDBC scenario. When I am testing the RFC in SE37 using the RFC destination created in SM59, I get an error "SYSTEM FAILURE".
    Please suggest.
    Thanks,
    Shyam
    Edited by: Shyam Sreepada on Dec 18, 2007 5:46 PM

    Hi,
    You must run RFC with RFC destination in background mode, I suggest to read following post in order to understand it better.
    Syntax would be:
    CALL FUNCTION func IN BACKGROUND TASK
                       [DESTINATION <your RFC destination>]
                       parameter list
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
    If you read it you will find that you can't test it directly from SE37, for this either you need to create dummy ABAP program or another RFC where you will call this RFC with background syntax.
    Regards,
    Gourav
    Reward points if it helps you
    Edited by: Gourav Khare on Dec 18, 2007 6:07 PM

  • Testing the BAPI_ACC_INVOICE_RECEIPT_POST in SE37

    Hi Experts,
    I am unable to test the BAPI_ACC_INVOICE_RECEIPT_POST in SE37.succesfully after filling out the obligarory parameters.
    I am seeig the following msg "FI/CO interface: Inconsistent FI/CO line item data for updating"
    Please tell me what could be worng with my testing..
    Thanks
    DAn

    Hi Experts,
    I am unable to test the BAPI_ACC_INVOICE_RECEIPT_POST in SE37.succesfully after filling out the obligarory parameters.
    I am seeig the following msg "FI/CO interface: Inconsistent FI/CO line item data for updating"
    Please tell me what could be worng with my testing..
    Thanks
    DAn

  • Are my tests on Android via Adobe Edge representative for the Android System Browser?

    Are my tests on Android via Adobe Edge representative for the Android System Browser?

    Yes, Edge Inspect uses Webview to render the pages which is a stock browser.

  • Error in number range while testing inbound idoc via we19

    hi all,
    i have done all configurations but while testing the inbound idoc via we19 i am getting an error 'error in assigning number to idoc'..i checked and found that the number range object for idoc is edidoc in it number interval is defined from 1 to 99
    i dont think that anything is wrong with the number object..
    Can u tell me how dow i eliminate this error?

    Increase Higher limit the reason is when you look at current idoc number ( This idoc number already exists ) ,it will not create new idoc number.
    System will get the number from SNRO Based on IDOC Object.
    Just look at EDIDC and see the current idoc number.
    Simple example :
    I have one number - 100 ,it is already exists in database,if i insert same record to the database ,did system will accept ?
    Thanks
    Seshu

  • Can test connection successfully via ODBC adminstrator but fail when I try

    I've loaded the ODBC 10.2 drivers successfully and can successfully setup and test conections via the ODBC Administrator. However, when I try to connect via MS Access I get the following error:
    unable to connect
    sqlstate im004
    [microsoft] [ODBC driver manager] [driver's sqlallochandle on sql_handle_env failed
    Any ideas?
    paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    *https://support.mozilla.org/kb/how-clear-firefox-cache
    *https://support.mozilla.org/kb/Deleting+cookies

  • Testing Inbound IDoc via WE19...

    Hi,
    I am trying to learn IDOCs via WE19.
    I just took a sample IDOC from WE02 and tried to test in WE19.
    I am trying to understand what do we mean by following:
    1) Process Inbound IDOC via file ?
    2) Process Inbound IDOC via function module ?
    Regards,
    Rajesh,

    Rajesh,
    Go thru this link
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

  • Table for test data saved in SE37 (Test data directory)

    Hello Experts,
    When we save the test data in SE37 its going to be saved in test data directory, in which table of the data base its going to saved?
    Thanks in advance,
    Sandhya

    Hi Sandhya,
    The test data will be stored in a table called 'EUFUNC'
    But it is a cluster table if you want to fetch the data from that table you can use macros to fetch the data.
    Here is the macro syntax for your reference.
    data : d102n_exportkey like functdir.
    data : begin of te_datadir occurs 10,
             dataid like eufunc-nummer,    "Schlüsselnr. für Testdatenimp.
             stepid(3),                    "PBO/PAI-Eintrag
             seqid  like eufunc-seqid,
             datum like sy-datum,
             uzeit like sy-uzeit,
             title(40),
           end of te_datadir.
    te_datadir is a internal table
    d102n_exportkey-area = p_file.
      d102n_exportkey-progid = p_fname.
      d102n_exportkey-dataid = dataid.
    IMPORT te_datadir                                   
           FROM DATABASE eufunc(fl) ID d102n_exportkey. 
    Regards
    Krishna

  • Issue with testing web service via SICF

    Hi, I am trying to test service via SICF. This service is for a FM based Web Service. When I test the service from SICF it passes the authorization checks but then error page, "Page not Found" is shown with error "HTTP 500 - Internal server error Internet Explorer".
    The trace file shows the errors:
    Error in module XMLConverterReadTag:3059
    can not read XML data stream(2097184)
    Does anyone know what is causing this issue. The FM which the web service is based on is a test FM with one line of code and returns the character 'S'.
    Any idea or suggestion will be great.

    Dear Shay,
    Thanks for your prompt response.
    You are right. JDeveloper 11g uses JDK 6 style annotations for the clients it creates. But you can change the JRE Version used at compile time by following these steps:
    1. In the Applications Navigator, right-click the Project Nanem node and select Project Properties... from the context menu.
    2. Select the Compiler node and check the Source Files and Generated Class Files dropdown lists. You may change these versions depending on the version of the JRE you are using with Forms to ensure that the compiled
    classes from JDeveloper can be read by the JRE used by Form.
    So I selected JDK version 1.4 there.
    Sorry that I did not mention that we are using Oracle Forms 10g. That is the reason I selected JDK 1.4
    Thank you.
    Scott.

  • Testing Sync Servlet  via Browser successfull or not?

    Hi everybody,
    calling the sync servlet via the test url
    http://server/meSync/servlet/meSync ...
    brings the following result:
    &WAF_SYNC&STATUS=&Execution Time= & HeaderType = MEREPLICATION &MORE_PACKAGES_WAITING = &
    According to the documentation there should be a value for execution time.
    Is the test sucessfull or not?
    I'm obviously asking, because I don't get my MI client working.
    Thanks in advance
    Greetings
    Alexander

    Here you are with the complete Trace.
    Note that I X-ed out the Servernames.
    [20050824 09:41:00:328] I [MI/API/Logging           ] ***** LOG / TRACE SWITCHED ON
    [20050824 09:41:00:328] I [MI/API/Logging           ] ***** Mobile Engine version: MI 25 SP 13 Patch 00 Build 200507282032
    [20050824 09:41:00:328] I [MI/API/Logging           ] ***** Current timezone: Europe/Berlin
    [20050824 09:41:00:328] I [MI                       ] Trace severity: Debug (90)
    [20050824 09:41:00:328] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:dispatch request to '/jsp/trace/trace.jsp'
    [20050824 09:41:01:484] D [MI/Core                  ] Set current application to 'MOBILEENGINE_JSP'
    [20050824 09:41:01:484] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:doGet(...) called
    [20050824 09:41:01:484] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:getEvent() done with event name = ''
    [20050824 09:41:01:484] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'
    [20050824 09:41:02:406] D [MI/Core                  ] Set current application to 'MOBILEENGINE_JSP'
    [20050824 09:41:02:421] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:doGet(...) called
    [20050824 09:41:02:421] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:getEvent() done with event name = ''
    [20050824 09:41:02:421] P [MI/Sync                  ] Notify R3 called
    [20050824 09:41:02:421] D [MI/Sync                  ] There is already a container for method WAF_REGISTRY and user A15442 in the outbound queue
    [20050824 09:41:02:421] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'
    [20050824 09:41:02:421] I [MI/Sync                  ] Synchronize with backend called, Thread=Thread-26
    [20050824 09:41:02:421] I [MI/Sync                  ] Thread=Thread-26 took lock for synchronization.
    [20050824 09:41:02:421] P [MI/Sync                  ] Use following gateway for synchronization: XXX:57900
    [20050824 09:41:02:421] D [MI/API/Services          ] UrlConnectionTest: returning instance for same host XXX
    [20050824 09:41:02:421] D [MI/API/Services          ] UrlConnectionTest: lastHostChecked was XXX
    [20050824 09:41:02:421] D [MI/API/Services          ] UrlConnectionTest: lastTimeOfCheck was 1124871068359
    [20050824 09:41:02:421] D [MI/API/Services          ] UrlConnectionTest: last check was 5394062 ms ago
    [20050824 09:41:02:421] D [MI/API/Services          ] UrlConnectionTest: try number: 1
    [20050824 09:41:02:421] D [MI/API/Services          ]  UrlConnectionTestThread: method run() started...
    [20050824 09:41:02:421] D [MI/API/Services          ] C:\Programme\SAP Mobile Infrastructure\proxyauth.txt does not exist, therefore no Proxy-Authorization is set.
    [20050824 09:41:03:421] D [MI/API/Services          ] UrlConnectionTest: try number: 2
    [20050824 09:41:04:421] D [MI/API/Services          ] UrlConnectionTest: try number: 3
    [20050824 09:41:05:421] D [MI/API/Services          ] UrlConnectionTest: try number: 4
    [20050824 09:41:06:421] D [MI/API/Services          ] UrlConnectionTest: try number: 5
    [20050824 09:41:07:421] D [MI/API/Services          ] UrlConnectionTest: try number: 6
    [20050824 09:41:08:421] D [MI/API/Services          ] UrlConnectionTest: try number: 7
    [20050824 09:41:09:421] D [MI/API/Services          ] UrlConnectionTest: try number: 8
    [20050824 09:41:10:421] D [MI/API/Services          ] UrlConnectionTest: try number: 9
    [20050824 09:41:11:421] D [MI/API/Services          ] UrlConnectionTest: try number: 10
    [20050824 09:41:12:421] D [MI/API/Services          ] UrlConnectionTest: try number: 11
    [20050824 09:41:12:546] D [MI/Core                  ] Set current application to 'MOBILEENGINE_JSP'
    [20050824 09:41:12:546] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:doGet(...) called
    [20050824 09:41:12:546] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:getEvent() done with event name = ''
    [20050824 09:41:12:546] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'
    [20050824 09:41:13:421] D [MI/API/Services          ] UrlConnectionTest: try number: 12
    [20050824 09:41:14:421] D [MI/API/Services          ] UrlConnectionTest: it took 12000 ms to test the connection
    [20050824 09:41:14:421] P [MI/API/Services          ] UrlConnectionTest: Connection could not be established!!!
    [20050824 09:41:14:421] W [MI/Sync                  ] Cannot connect to gateway
    com.sap.ip.me.api.services.HttpConnectionException: URL connection test timeout
         at com.sap.ip.me.api.services.IOUtils.isConnectable(IOUtils.java:664)
         at com.sap.ip.me.sync.SyncManagerImpl.doConnectionTest(SyncManagerImpl.java:532)
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:383)
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:285)
         at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79)
         at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:447)
         at java.lang.Thread.run(Unknown Source)
    [20050824 09:41:14:421] I [MI/Sync                  ] Synchronization finished, Thread=Thread-26
    [20050824 09:41:22:671] D [MI/Core                  ] Set current application to 'MOBILEENGINE_JSP'
    [20050824 09:41:22:671] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:doGet(...) called
    [20050824 09:41:22:671] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:getEvent() done with event name = ''
    [20050824 09:41:22:671] D [MI/API/Runtime/JSP       ] AbstractMEHttpServlet:dispatch request to '/jsp/home/synclog.jsp'

  • How do you have a single test case run on multiple platforms in both a Deploy/Test build and via MTM?

    I am wanting to have a scheduled nightly build execute my testcases for multiple platforms/configurations.  I have multiple VMs running in these environments but the method Microsoft provided
    (without digging into customizing the build template) doesn't provide any functionality for this.  This is a basic use case for automation that I can't believe they would miss.  Has anyone run into this and found a solution.  Is it just that
    you have to completely customize the template?
    For a more complete use case...
    I have 4 customers that have different configurations and different OS platforms on top of a generic configuration.  I want the build/deploy/test build to automatically run my 152 test
    cases to at minimum those 5 environments.  I want this to run every morning at 1am and the tests should in the different environments in parallel (ie all of customer 1 tests run at the same time as customer 2 tests...). I also don't want to have to create
    152 * 5 test cases since that will bloat things and cause more management/maintenance headaches.

    I am wanting to have a scheduled nightly build execute my testcases for multiple platforms/configurations.  I have multiple VMs running in these environments but the method Microsoft provided
    (without digging into customizing the build template) doesn't provide any functionality for this.  This is a basic use case for automation that I can't believe they would miss.  Has anyone run into this and found a solution.  Is it just that
    you have to completely customize the template?
    For a more complete use case...
    I have 4 customers that have different configurations and different OS platforms on top of a generic configuration.  I want the build/deploy/test build to automatically run my 152 test
    cases to at minimum those 5 environments.  I want this to run every morning at 1am and the tests should in the different environments in parallel (ie all of customer 1 tests run at the same time as customer 2 tests...). I also don't want to have to create
    152 * 5 test cases since that will bloat things and cause more management/maintenance headaches.

  • Testing Port Forwarding via BT-FON

    I have setup a VPN server at home so that I can remote control a PC from work.  I want to be able to test this as an external party to prove it is working / make tweaks etc.
    So I have HH3 with the appropriate ports being forwarded to my VPN server which is working fine.
    I want to be able to connect to the BT-FON network advertised out from my HH3 - Which I can do fine.
    I then want to create the VPN tunnel from my Phone/Laptop to test ... This fails to connect.
    I assume that this is due to some internal firewall between the Home Network and the BT-FON network on the same HH3 - Is there a way around this? Should it work? or do I need to go get a better Hub/Modem combo device?
    Thanks

    The FON network is totally isolated so its not possible to do what you want.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • FM BBP_PD_SC_CREATE according issues

    Hello all,
    my latest challenge is, to develop a RFC-wrapper for the
    function module BBP_PD_SC_CREATE. My client wants to
    have R/3 PR's only in SRM for approval.
    My first try was the technical scenario for plan-driven procurement, where R/3 can transfer PO's to SRM through
    the report BBP_EXTREQ_TRANSFER. Unfornately, this solution does not seem to be practicable.
    Now, the FM BBP_PD_SC_CREATE works fine in a test environment, but there are some issues:
    - If the FM is called via RFC, there will be allways the actual RFC-User stored as author. I think, this has to  be the PO Requestor, is there any way to change this?
    - Does anybody know a function module or form, which gives
    the PD-Org-ID's of organizational units, belonging to purch-org and purch-group? The table name, where these informations are stored, will also be very helpfull. The same problem exists for business partners.
    To all, thx in advance!
    Cheers
    Jens

    Hi
    Which SRM version are you using ?
    *The function module which you have referred "BBPPD_SC_CREATE" is already used in the function module BBP_PD_SC_CREATE_EXTERNAL to create the shopping carts.*_
    Have you tried to use the BBPPD_SC_CREATE FM instead of the external one ?_
    You can use FM BBP_PD_SC_CREATE with this two blogs - Sample code given here:
    /people/kathirvel.balakrishnan2/blog/2006/05/08/data-upload-into-sap-from-microsoft-excel-150-abap-part
    /people/kathirvel.balakrishnan2/blog/2006/05/09/data-upload-into-sap-from-microsoft-excel-150-vba-part
    Please go through the following threads ->
    BAPI to create Shopping cart from portal
    /message/3084126#3084126 [original link is broken]
    Re: BAPI to Change Shopping Cart by RFC
    Re: BBP_PD_SC_CREATE_EXTERNAL-Check for default acct assigt category and va
    Re: Creating Shopping Cart using RFC    BBP_PD_SC_CREATE
    Re: SC Uploading Program to create SC automatically.
    Re: Custom Transaction to Create SC
    Re: Test FM BBP_PD_SC_CREATE via SE37
    Re: BBP_PD_SC_CREATE_EXTERNAL-Check for default acct assigt category and va
    Hope this will help. Do let me know.
    Regards
    - Atul

  • SE37 and test function module

    I have an importing parameter in function module interface, type BEGDA (type DATUM), default value SY-DATUM.
    When I execute test function module via SE37 and F8, the default value gets value "02....20.3" instead of 03.02.2012 as set up in SU01 for my user.
    What can be wrong?

    At the risk of also incurring your scorn, let me add that I cannot make this fail, using exactly what you have in the original post.  Obviously, something unusual is happening this client/instance, or in code that is manipulating the incoming date value.... my dd.mm.yyyy input defaulted to sy-datum shows 20120306 in begda duringe execution (in debug).  Without being able to debug the mentioned FM at every step, it would be hard to pinpoint a specific problem.

  • Conversion from KGs to Pounds

    Hi All,
    I have a keyfigure Quantity in the cube. These values are stored in KGs. I have a requirement where I have to display the values in the report both in KGs and Pounds. Could someone please let me know how can I do this conversion?
    Thanks,
    J

    Hi,
    you can't test it simply via SE37.
    Use the following piece of code in a test report (SE38)
    DATA: lv_input TYPE P DECIMALS 2,
    lv_output TYPE P DECIMALS 2.
    lv_input = 1.
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
      EXPORTING
        input                      = lv_input
    x   NO_TYPE_CHECK              = 'X'
    x   ROUND_SIGN                 = ' '
       UNIT_IN                    = 'KG'
       UNIT_OUT                   = 'LB'
    IMPORTING
    x   ADD_CONST                  =
    x   DECIMALS                   =
    x   DENOMINATOR                =
    x   NUMERATOR                  =
       OUTPUT                     = lv_output
    x EXCEPTIONS
    x   CONVERSION_NOT_FOUND       = 1
    x   DIVISION_BY_ZERO           = 2
    x   INPUT_INVALID              = 3
    x   OUTPUT_INVALID             = 4
    x   OVERFLOW                   = 5
    x   TYPE_INVALID               = 6
    x   UNITS_MISSING              = 7
    x   UNIT_IN_NOT_FOUND          = 8
    x   UNIT_OUT_NOT_FOUND         = 9
    x   OTHERS                     = 10
    IF sy-subrc <> 0.
    x MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    x         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    replace the x at the begining of a line by a "star"
    after the call, lv_output = 2.20
    hope this helps...
    Olivier.
    Edited by: Olivier Cora on Jan 16, 2008 11:55 AM

Maybe you are looking for