Quantcast
Channel: SCN : All Content - All Communities
Viewing all 8800 articles
Browse latest View live

Crystal Reports 2013 - SP2 availability

$
0
0

We recently (this month) upgraded from Crystal Reports 2011 to Crystal Reports 2013.  The download link we were given was for Service Pack 1.  I understand that Service Pack 2 was released in late November 2013 but there is no download link for SP2.  Would SAP please provide a download link for SP2?

 

Thank you.


Detailing Function Module SD_COLLECTIVE_RUN_EXECUTE

$
0
0

The main objective of this document is to explain in detail what goes on inside function module SD_COLLECTIVE_RUN_EXECUTE.

This is one of the most important function modules in SD Billing.

Hopefully this will help you to find out where an issue is being originated.

 

1. Function SD_COLLECTIVE_RUN_EXECUTE

 

When the billing is performed via:

 

  • VF04 and Save
  • VF04 and DisplayBillList and Collective Billing Document
  • VF06

 

The system will call the function module SD_COLLECTIVE_RUN_EXECUTE

 

sdcol.JPG

 

The following are important parts of the source code in this function:

 

FUNCTION SD_COLLECTIVE_RUN_EXECUTE.

...

  MAX_DOCUMENTS = 1000.

  CALL CUSTOMER-FUNCTION '009'

       TABLES

            CT_VKDFIF = V60P_INPUT_VKDFIF

       CHANGING

            CD_MAX_DOCUMENTS = MAX_DOCUMENTS         ---> Userexit to change MAX_DOCUMENTS

...

  SORT V60P_INPUT_VKDFIF BY KUNNR VKORG V_FKART V_FKDAT SORTKRI

                            FKDAT FKART VBELN.

  CALL CUSTOMER-FUNCTION '010'

       TABLES

            CT_VKDFIF = V60P_INPUT_VKDFIF                        ---> Userexit to change sort criteria

...

  LOOP AT V60P_INPUT_VKDFIF WHERE SELKZ NE SPACE.    ---> Loop at documents to be billed

    ON CHANGE OF V60P_INPUT_VKDFIF-KUNNR OR

                 V60P_INPUT_VKDFIF-VKORG OR

                 V60P_INPUT_VKDFIF-V_FKART.                        ---> If sold-to party or sales organization or billing type changes

      IF COUNTER > 0.                                                          ---> If true then call billing function

        PERFORM RV_INVOICE_CREATE         

...

        CLEAR COUNTER.                                                      ---> Initialize COUNTER

        REFRESH XKOMFK.

      ENDIF.

    ENDON.

    ADD 1 TO COUNTER.                                                      ---> Increase COUNTER

...

    IF COUNTER > MAX_DOCUMENTS.   "maximale Anzahl Belege    ---> If MAX_DOCUMENTS reached

      PERFORM RV_INVOICE_CREATE                                 ---> Call billing function

       ...

      CLEAR COUNTER.                                                        ---> Initialize COUNTER

...

  ENDLOOP.

...

  IF COUNTER <> 0.                                                            ---> After the loop bill the last documents that remained after the last change

    CLEAR SY-CALLD.

    PERFORM RV_INVOICE_CREATE                                   ---> Call billing function

...

 

 

For other important function modules in SD Billing please check:

 

Credit/Debit Memo for FI Revenue Account Correction

$
0
0

Few of our customers were setup incorrectly and their revenue got posted to the wrong accounts.  The issue has been fixed, however, we now need to undo the incorrect postings that have already been done (this is causing incorrect revenue numbers and thus could also be a legal issue).  Could someone tell me how the credit and debit memos can be used to adjust the accounts so they now reflect correct numbers?  Thanks.

Detailing Function Module RV_INVOICE_DOCUMENT_ADD

$
0
0

The main objective of this document is to explain in detail what goes on inside function module RV_INVOICE_DOCUMENT_ADD.

This is one of the most important function modules in SD Billing.

Hopefully this will help you to find out where an issue is being originated.


1. Function RV_INVOICE_DOCUMENT_ADD


When a billing document is saved the system performs function module RV_INVOICE_DOCUMENT_ADD.


docadd.JPG

 

Let's have a look at the important parts of the source code of this function module:

 

LOOP AT xvbrk.                                            ---> Loop at all the billing documents to be updated

    ...

    PERFORM faktura_bearbeiten_ende USING preisfindungsart.  ---> Perform PRICING_COMPLETE

    ...

    CALL FUNCTION 'NUMBER_GET_NEXT'

          EXPORTING

            nr_range_nr             = da_numki

            object                  = 'RV_BELEG'

            ignore_buffer           = no_buffer

          IMPORTING

            returncode              = ld_returncode

            number                  = xvbrk-vbeln         ---> Get the new number from the number range object RV_BELEG

    ...

    CALL FUNCTION 'RV_ACCOUNTING_DOCUMENT_CREATE‘  ---> Release the billing document to accounting

    ...

    CALL FUNCTION 'REBATE_INDEX_BUILD‘                             ---> Update the table VBOX (rebate processing)

    ...

  ENDLOOP.

...

  CALL FUNCTION 'RV_INVOICE_POST' IN UPDATE TASK         ---> This function updates the new/updated document. It is performed in update task, so it cannot be debugged in normal debugging. The information stored in the internal tables XVBR* and YVBR* will be updated in database according to field UPDKZ

...

  CALL FUNCTION 'RV_INVOICE_REFRESH‘                             ---> This function executes the COMMIT in the database

 

 

1.1 Debugging in a productive system

 

Please keep in mind that during invoice creation it is very dangerous to debug function module RV_INVOICE_DOCUMENT_ADD in a productive system.

 

After the execution of the function NUMBER_GET_NEXT, the next number of object RV_BELEG will be used and there is the risk that this number is lost!

This causes a gap in the number range of SD billing (and in FI document if the numbering is the same).

 

It is important to know that gaps in SD billing and in FI document number are not allowed in many countries.

 


For other important function modules in SD Billing please check:

 

Detailing Function Module RV_INVOICE_CREATE

$
0
0

The main objective of this document is to explain in detail what goes on inside function module RV_INVOICE_CREATE.

This is one of the most important function modules in SD Billing.

Hopefully this will help you to find out where an issue is being originated.


1. Function RV_INVOICE_CREATE


rvinvoice.JPG


During invoice creation by transactions VF01, VF04 or VF11 the system will always call the function module RV_INVOICE_CREATE.

 

In general, to find out how a field is filled this is what you need to do:

 

  1. set a breakpoint at the begin of function RV_INVOICE_CREATE;
  2. run the transaction;
  3. set a watchpoint on that particular field.

 

This is how the code works:

 

Function RV_INVOICE_CREATE

...

  Fakturen erzeugen

  LOOP AT xkomfk.                         ---> Loop at the sales documents to be billed

    ...

    PERFORM faktura_erzeugen.       ---> Create the billing items and billing header(s)

...

 

1.1 FAKTURA_ERZEUGEN


If we take a look into the form FAKTURA_ERZEUGEN in include LV60AA26, this is what happens:

 

faktura.JPG

 

FORM FAKTURA_ERZEUGEN.

...

IF XKOMFK-VBTYP CA VBTYP_LIEF.

    PERFORM FAKTURA_LIEFERBEZOGEN.       ---> 1.1.1 Delivery related billing

    EXIT.

  ENDIF.

 

  IF XKOMFK-VBTYP CA VBTYP_FAKT.

    PERFORM FAKTURA_FAKTURABEZOGEN.    ---> 1.1.2 Invoice related billing

    EXIT.

  ENDIF.

 

  PERFORM FAKTURA_AUFTRAGSBEZOGEN.    ---> 1.1.3 Order related billing

 


1.1.1 FAKTURA_LIEFERBEZOGEN (Delivery related billing)

 

Now if we go into FAKTURA_LIEFERBEZOGEN in include LV60AA22, for delivery related billing, this is what happens:

 

liefer.JPG

 

form faktura_lieferbezogen.

...

* Prüfen Bedingungen lt. TVCPF

  if *tvcpf-grbed ne 0.

    bedmodul-nr = *tvcpf-grbed.

    perform (bedmodul) in program saplv60a.        ---> Header copy-requirement routine

...

  loop at alips.                                                  ---> Loop at the delivery items

...

* Lieferung/Lieferposition ohne Referenzauftrag

      perform fakturaposi_lieferbezogen_o_ap.       ---> 1.1.1.2 Delivery without reference

    else.

* Lieferposition mit Referenzauftrag

      perform fakturaposi_lieferbezogen.                ---> 1.1.1.1 Delivery with reference

    endif.

  endloop.

 

 

1.1.1.1 FAKTURAPOSI_LIEFERBEZOGEN (Delivery with reference)

 

Now if we go into the form fakturaposi_lieferbezogen in include LV60AA21, for a delivery with reference, this is what happens:


lieferbe.JPG

 

FORM fakturaposi_lieferbezogen.

...

  perform vbrk_vbrp_fuellen.                           ---> Some VBRP and VBRK fields are filled

  perform fakturadaten_lieferbezogen.             ---> Some VBRP and VBRK fields are filled

...

  if tvcpf-grbed ne 0.

    bedmodul-nr = tvcpf-grbed.

    perform (bedmodul) in program saplv60a.    ---> Copy-requirement routine at item-level

...

  perform vbrk_vbrp_datentransport using rc.    ---> Further data is filled in VBRP and VBRK, perform copy-transfer routine

...

  perform xvbrk_bearbeiten.                            ---> VBRK is set to XVBRK and if there is a split a new XVBRK record is created

...

  xvbrp = vbrp.                                               ---> VBRP is copied into the header line of internal table XVBRP

...

  call function 'PRICING_COPY‘                      ---> Execution of PRICING_COPY

...

  perform preisfindung using tvcpf-knprs.          ---> Executes function PRICING

...

  perform xvbrp_hinzufuegen.                          ---> The new XVBRP line is added to internal table

...

  perform vbfa_fuellen using likp-vbeln lips-posnr likp-vbtyp.

  call function 'RV_XVBFA_MAINTAIN‘             ---> Adjust document flow internal table XVBFA

  ...

  call function 'LIPS_STATUS_MAINTAIN‘         ---> Adjust the billing status of the delivery

 


1.1.1.2 FAKTURAPOSI_LIEFERBEZOGEN_O_AP (Delivery without reference)

 

The form fakturaposi_lieferbezogen_o_ap, for a delivery without reference, is in include LV60AA20. It is very similar to form fakturaposi_lieferbezogen just detailed above. The difference is that since there is no sales order, in this form the system will simulate VBAP and VBAK. Then it will perform the same forms as fakturaposi_lieferbezogen.

 

 

1.1.2 FAKTURA_FAKTURABEZOGEN (Invoice related billing)

 

The form FAKTURA_FAKTURABEZOGEN is for invoice related billing. It is found in include LV60AA25.

 

fakturabe.JPG

 

FORM FAKTURA_FAKTURABEZOGEN.

...

CALL FUNCTION 'RV_INVOICE_DOCUMENT_READ‘              ---> Read the reference billing document

...

  IF XFKART = SPACE.

    PERFORM STORNO_ERZEUGEN.               

  ELSE.

    SELECT SINGLE * FROM TVFK INTO *TVFK WHERE FKART = *VBRK-FKART.

    IF SY-SUBRC = 0.

      IF *TVFK-FKARTS = XFKART.

        PERFORM STORNO_ERZEUGEN.                                 ---> During VF11 the system performs STORNO_ERZEUGEN

      ELSE.

        PERFORM FAKTURA_AUS_FAKTURA_ERZEUGEN.      ---> 1.1.2.1 Otherwise, perform billing-related invoicing

 


1.1.2.1 FAKTURA_AUS_FAKTURA_ERZEUGEN

 

Let's have a look into form FAKTURA_AUS_FAKTURA_ERZEUGEN in include LV60AD08 and what goes on in here.

 

fakausfak.JPG

 

FORM FAKTURA_AUS_FAKTURA_ERZEUGEN.

...

* Prüfen Bedingungen lt. TVCPF

  IF *TVCPF-GRBED NE 0.

    BEDMODUL-NR = *TVCPF-GRBED.

    PERFORM (BEDMODUL) IN PROGRAM SAPLV60A.       ---> Perform header copy-requirement routine

 

...

  LOOP AT XVBRP WHERE VBELN = XKOMFK-VBELN.      ---> Loop at the billing items

    ...

    *VBRP = XVBRP.                                                           ---> From now on *VBRP contains the data of the referenced billing item

    PERFORM FAKTURAPOSI_FAKTURABEZOGEN.            ---> Process billing item

  ENDLOOP.

 

 

1.1.3 FAKTURA_AUFTRAGSBEZOGEN (Order related billing)

 

We have already detailed how form FAKTURA_LIEFERBEZOGEN in include LV60AA22, for delivery related billing, works.

Now let's have a look at form FAKTURA_AUFTRAGSBEZOGEN in include LV60AA30, for order related billing.

 

auftrags.JPG

 

FORM faktura_auftragsbezogen.

...

* Prüfen Bedingungen lt. TVCPF

  if *tvcpf-grbed ne 0.

    bedmodul-nr = *tvcpf-grbed.

    perform (bedmodul) in program saplv60a.                         ---> Perform header copy-requirement routine

...

  loop at avbap where fkrel ne con_fkrel_fpl                           ---> Loop at the order item without billing plan

    ...

    perform fakturaposi_auftragsbezogen using da_subrc.       ---> Process order item

    ...

  endloop.

...

  loop at avbkd where fplnr ne space

                and   posnr ne posnr_low.                                   ---> Loop at the order item with billing plan

    do.

*     Lesen der Fakturierungsplanpositionen

      read table xfplt index da_index.                                     ---> Loop at lines in the item billing plan

      ...

      perform fakturaposi_auftragsbezogen using da_subrc.     ---> 1.1.3.1 Process order item

      ...          

    enddo.

 

  endloop.

 

endform.                    "FAKTURA_AUFTRAGSBEZOGEN

 

 

1.1.3.1 FAKTURAPOSI_AUFTRAGSBEZOGEN

 

Let's take a look into form fakturaposi_auftragsbezogen in include LV60AA29 now.

 

auftrags2.JPG

 

FORM fakturaposi_auftragsbezogen

...

  perform vbrk_vbrp_fuellen.                            ---> VBRP and VBRK are filled

  perform fakturadaten_auftragbezogen.           ---> VBRP and VBRK are filled

...

  if tvcpf-grbed ne 0.

    bedmodul-nr = tvcpf-grbed.

    perform (bedmodul) in program saplv60a.     ---> Copy-requirement routine at item level

...

  perform vbrk_vbrp_datentransport using rc.     ---> Further data filled in VBRP and VBRK, copy-transfer routine performed

...

  perform xvbrk_bearbeiten.                             ---> VBRK is set to XVBRK and if there is a split a new XVBRK record is added

...

  xvbrp = vbrp.                                                ---> VBRP is copied into the header line of internal table XVBRP

...

  call function 'PRICING_COPY‘                       ---> Execution of PRICING_COPY

...

  perform preisfindung using tvcpf-knprs.           ---> Executes function PRICING

...

  perform xvbrp_hinzufuegen.                           ---> The new XVBRP line is added to the internal table

...

  perform vbfa_fuellen using vbak-vbeln vbap-posnr vbak-vbtyp.

  call function 'RV_XVBFA_MAINTAIN‘             ---> Adjust document flow internal table XVBFA

...

  call function 'RV_XVBUP_MAINTAIN_FKGSA ‘     ---> Adjust the billing status of the order

 

 

 

1.2 Message Handling

 

During invoice creation the messages are not issued directly to the user by means of Message ABAP statement.

Instead they are stored in the internal table XVBFS.

 

To catch a message, set a breakpoint at the begin of function RV_INVOICE_CREATE and then set a watchpoint on field XVBFS-MSGNO.

 

 

For other important function modules in SD Billing please check:

 

Extended Notification not working for Dialog Task with agent assignment

$
0
0

Hi Friends,

I have an issue where I have a user decision step and a sub workflow contains a dialog task with agent assignment.

Extended notification is configured properly and is working properly for user decision step but its not working for the dialog task created as an activity.

Batch jobs are configured to run report SWN_SELSEN.

I was checking SDN and found this discussion handy :

 

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3bed495cc018c8e10000000a42189e/content.htm

One thing that wonders me is that notifications show up in SOST 4-5 seconds before the user decision step starts execution.

See screenshot from SOST and WF log.

 

WF Log.PNG

 

SOST log :

 

SOST.PNG

 

2 questions here: Why is notification not being sent for Dialog task?

                          Why is user decision notification being sent that early even before the User decision task starts execution?

 

Please provide your valuable inputs.

 

Regards,

Sandip

Is it possible to merge scripts?

$
0
0

Hi Everyone,

 

I am working on a scenario where i need to populate the result of a transaction in the landing page.

while executing the transaction, i need to select two variants.

 

I tried by recording the script and do the copy paste of the values. But i am ended up in copying the value of the second variant selected but not the first.

 

What would be suggested method? is it possible to merge scripts? Will that be possible?

 

Thanks,

Bala.

SWWWIHEAD locks not clearing intermittently

$
0
0


Hi,

 

I’ve got a really weird intermittent WF issue I hope someone might have seen before. Basically at intermittent intervals the WF in question just seems to stop mid flow. All the items are completed (i.e. no errors.) There are no short dumps,  it just simply doesn’t move on to the next item.

 

The WF item in question is getting a table of approvers. It does this successfully and I can see the data is correct in the log. The next step should be to start a loop but it never gets there?! It’s as if this next step does not exist.

 

This looks to have been caused by locks taken on table SWWWIHEAD as shown in SM12. Obviously this lock is taken out by the WF engine and not by anything in the code. I'm assuming the lock should have been released at the end of the item to be retaken at the start of the subsequent item?

 

I've tried changing the lock properties on the WF basic data tab. None of the options seems to alter this behaviour.

 

Any ideas? Could it be an issue with table sizes (SWWWIHEAD?)

 

Cheers


Disappearing Dock in Personas

$
0
0

I'm looking for a way to undo something I've done in Personas.  To duplicate the problem, make a copy of any transaction that utilizes a DockableContainer (IW56, for instance).

IW56 Screen1.PNG

 

Select the TableTreeView control and hide it.

IW56 Screen2.PNG

 

Now select the StretchableContainer that was beneath the TableTreeView and change the DockType from "Right" to "Hidden".

IW56 Screen3.PNG

 

IW56 Screen4.PNG

Notice that the container divider is now missing.  Save & Exit, then Edit the Flavor again.  Try to unhide the StretchableContainer or TableTreeView.  Everywhere I click in that section of the screen now only gives me access to UserArea.

IW56 Screen5.PNG

 

So, how do I get my Dock back to the way it was in the beginning, with the divider splitting the screen and my menu options to "Create Repair Order" unhidden?

Few Questions in SAP SD Module.

$
0
0

Hello All,


Can somebody help me out in answering the following questions?

1) How you will release change request in SD module? How often you release them?

2) How to create tasks. What are the maximum number of tasks you were created in you are previous project?

3) What is the difference between task and change request?

4) Is it possible to release change request, without releasing task.

5) Is functional module configuration comes under workbench request or customization request?


In addition to this can you please help me with some real time problems client faces in SAP SD Module?


Regards

Soma Das





MRP Run in APO OR ECC

$
0
0

Hi All,

Just need some inputs from experts

a FMCG company has implemented ECC as well APO they want to choose MRP in APO or ECC

ECC
1. stock on hand position is correct only on 2nd of the month

2. Lot Schedule line as production demand is open is ECC

3. Lot of unwanted PO, PRs are open in ECC

4. Production and alternate BOMs are used

 

APO

 

PPMs are created from ECC

In simulation version

PO, PR, SIT, SIH are loaded manually  and MRP run is taken as of now

 

Challenge - To find correct PPM for MRP run , since it is CIFed from ECC

 

 

 

Can some one  tell pro and cons of each system  ECC / APO for MRP

 

Regards

Umesh

 

 

 

A question about DMO for BW to Hana

$
0
0

Friends:

 

This morning I have finished my first BW migration from Oracle to SAP Hana using DMO.

 

The Hana system is going thru the post-copy activities at this moment.

 

But I have a question about the source system:

 

This source system was NW730SP10, now after the migration it's still NW730SP10. Is this normal? By the way, target is 7.4 now.

 

I raise this question because I read this discussion: BW HANA Migration using DMO of SUM

 

Hi Christophe,

 

not sure if I understand your scenario correct, but there is no need for a manual db restore to replay the upgrade process. As Roland has pointed out, the reset functionality does the complete (*) reset without the need of manual actions like restore. After the reset, your SAP system will point to the "old" database which is not changed, and the system will have the "old" release again.

  • (*) "complete":
    as you say, SPAM/SAINT update will not be reset, and SAP Notes you implemented are not reset as well.

 

Regards, Boris

 

I did not choose "reset" and my migration is done, my source system remain the same as before in terms of versions. Is this right?

 

Thanks!

Understand the Longtexts for reporting

$
0
0

For many of the Functional people longtexts is a sort of complicated thing for the fact that there are no straight tables which store these lines. So, whenever we think of making some report displaying long texts, we generally stuck at the very initial stage of finding the source of this information. This document is aimed at clearing these concepts.

 

We know the longtexts are very widely used within all SAP objects. For example in PM module, Longtexts associated with Notification Header, Order Header etc, also the Long texts associated with Catalog-Codes in Notifications, Operations in Orders, Measuring document related

 

In this post, we try to understand these concepts, through the longtexts of PM Order operations.

 

So, let’s try and see how we reach the Long text lines of an Order operation.

Essence of this document is centered at using a Function Module named READ_TEXT. First let’s have a look at what this FM gives? For this run Tcode SE37.

se37.JPG

 

Give FM name in the Function Module field and Hit function key F8 or Click on Execute button shown above.

se37_1.JPG

 

Now, here in the above screen, when we

  1. Enter the values for the fields marked Green
  2. Press Execute button

We get the long text lines into the table named LINES at the bottom (marked Red).

 

Now what are these fields we need to fill and where we will find these? The answer comes from the Order operation longtext page. In our example we have taken operation 0020 of an Order as shown below.

1.JPG

Here, we enter into the long text page upon clicking on the Longtext icon above. Now in the Longtext page click on GoTo --> Header  in the menubar.

1a.jpg

 

Now we get the pop-up below, showing these field values required for SE37.

2.JPG

 

Let’s see the relation between the SE37 screen and the Order Longtext screen fields through the following picture. (The value in ‘Client’ field of SE37 need not be filled. System identifies and fills it).

2a.jpg

 

Here, we understand all the field values except for one i.e. the TEXTNAME. The understood fields are namely:

 

Field nameValueRemarks
LANGUAGEENConstant as per your system
TEXTIDAVOTConstant for Order Operation longtext
TEXTOBJECTAUFKConstant for Order related longtext

 

What we need to understand is the value of TEXTNAME i.e., 400100140302700000002. Let’s see how this comes. Let's see this number this way.

 

400100140302700000002

 

First 3 characters (400) is the client number of the SAP (on which you are working)

Next 10 characters (1001403027) form the AUFPL field value of the operation

Next 8 characters (00000002) indicate the Operation number APLZL

 

Client number we always are aware of. Other two field values we should take from table (view) VIAUF_AFVC by inputting the Order number. Means, run Tcode SE16, give value VIAUF_AFVC and hit function key F7 .

3.JPG

 

Enter the Order number and Execute (F8).

4.JPG

 

We get this results screen.

5.JPG

Here as per the operations tab of the Order we see 3 records one for each operation.  Our operation in question is no.2. Let’s pick-up the corresponding values of AUFPL and APLZL from here.

 

So what I want to say is, the ABAPer passes the values of Orders from the Selection screen (of the ZTcode he develops) and extracts these values from the table and concatenates (joins) all the 3 vlaues together into TEXTNAME and executes the Function Module alongwith other values (Language, TextId, TextObject) to get the Longtext lines through the Table LINES of the Function Module.

 

Now let’s execute the FM READ_TEXT by filling these values.

6.JPG

 

See what we got

7.JPG

 

The FM READ_TEXT has given us all the 4 lines present in the Operation2 text . Now our ABAPer would use this info in his code for long text report.

 

Hope things are clear.

 

Further:

The values of TextId, TextObject vary as to which SAP object the Longtext belongs, so as the constituents of TextName field value also. Here I am attempting to tabulate few such examples  of SAP-PM area for the benefit of members.

 

Long Text Associated withTEXTIDTEXTOBJECTTEXTNAME components*Remarks
Notification Header TextLTXTQMELQMNUM (Notifn no )
Item Text in Catalogs&CodesLTXTQMFEQMNUM + POSNRPOSNR from  VIQMFE table
Cause Text in Catalogs&CodesLTXTQMURQMNUM + QURNUMQURNUM from  VIQMUR table
Task Text in Catalogs&CodesLTXTQMSMQMNUM + QSMNUMQSMNUM from  VIQMSM table
Activity Text in Catalgs&CodesLTXTQMMAQMNUM + QMANUMQMANUM from  VIQMSM table
PM order Header TextKOPFAUFKClientNo + AUFNR (Order)
Measuring DocumentLTXTIMRGMDOCM (Document no)

 

*The QMNUM, AUFNR values should be preceded by the leading zero's (like 004300093626)

 

Easy retrieving of Longtexts in Smartforms

The information so far is more relevant to ALV reporting (though it works for smartforms also). In Smartforms, there is a convenient way of retrieving long texts, i.e., through include text. We declare the text type as Include text which gives us the provision of filling the TEXTNAME, LANGUAGE, TEXTID, TEXTOBJECT etc. As the the loop runs the TEXTNAME changes according to the SAP object number the respective longtext is retrieved. In the picture below an example for Notification Longtext in smartforms is given.

sf.JPG

 

 

Related technical info

There is a table named STXH which stores the Text Header details. Here you get the number of text lines in the long text upon inputting the field values such as TDID, TDOBJECT, TDNAME etc. The following Selection screen (SE16) and the output are self explanatory.

 

Capture.JPG

Capture1.JPG



So, that's everything on this subject, which I had been thinking of documenting for the benefit of the forum, since sometime. Hope members find it useful.

 

 

Thank you

KJogeswaraRao

 

 

PS: Members mght now have understood that though PM Objects have been illustrated here, this post applies to Longtexts of other module objects also.


Carry out sourcing

$
0
0

Hi all

 

I am new to SRM.

We are having an  issue:

Shopping cart is created in srm

under define sourcing for product category we have maintained:

category id      sourcesyst                                             sourcing

300002                   SEDCLNT203(this is our r/3 system)      sourcing always carry out

 

 

even though the SC are created i search it in  carry out sourcing, and i find it and after i assigned a vendor to my sc and i click on next button but when i want to created PO in trancaction type i have this error: No transaction types available in SAP SRM

 

 

ecdp.jpg

pls guide me with this issue.

 

 

Thanks,

Elham

BBP_CREATE_BE_PO_NEW

$
0
0

hi

i have a big issue

is it nesessary and essential to active badi to create follow on in backend?

i didnt active any of this bAdi BBP_CREATE_BE_PO_NEW BBP_CREATE_BE_RQ_NEW BBP_CREATE_BE_RS_NEW

and i cant create follow on document automatically in backend


Can't access object created in the view from controller

$
0
0

Hi

 

In the view, I create a simple HTML control with a DIV tag.I need to access the DIV tag from the view.  The function this.getView().byId() returns nothing.

 

view

createContent : function(oController) {                        var aControls = [];                        var html = new sap.ui.core.HTML(                                {                                    content : "<div id='obj1' style='width: 300px; height: 200px;'></div>"                                });                        aControls.push(html);                        return aControls;                    }

 

controller

 




onInit: function() {

  
this.getView().byId("obj1");    },

 

Thanks.

ANZ QAS Workshops August: Accelerate Business Results and minimize risk with Efficient Quality Assurance

$
0
0

Customer Quality Assurance Workshops

Auckland, Tuesday, 19th August 2014
Melbourne, Wednesday, 20th August 2014
Brisbane, Thursday, 21st August 2014
Sydney, Tuesday, 26th August 2014
Perth, Wednesday, 27th August 2014


To register your attendance please email your name, company, contact details and desired workshop tojoseph.banks@sap.com

As IT landscapes increase in complexity, migrate to the cloud and become more mobile, there is increased pressure for organizations to deliver new enhancements to market faster - without compromising on quality. 

To be successful, organizations need to adopt more efficient, integrated and adaptable quality assurance solutions that meet the growing demands of business.

Join SAP to see our quality assurance roadmap and learn what’s new in QAS. Attend this workshop to discover how to:

  • Ensure your projects are in alignment with your overall business scope and strategy
  • Save time by accelerating test cycles
  • Improve testing accuracy with traceability functions that let teams compare application requirements to assets and defects
  • Map complex relationships between the business processes and the underlying application in order to determine the impact of a change
  • Find, fix and proactively prevent software vulnerabilities early in the application lifecycle

In this session you will be introduced to advanced testing tools, capabilities and frameworks that are integrated with SAP Solution Manager 7.1.

Who should attend?

SAP Application Managers, Project / Program Managers / Directors, Test Managers, Quality Assurance Managers/ Business Systems and Service Delivery Managers

Speakers:

Andreas Gloege, SAP
Andreas is Director of Quality Assurance Solutions for SAP. Focused on the global strategy and best practices of adoption for SAP quality assurance solutions, Andreas has been deeply involved in developing the technical roadmap between HP solutions with SAP Applications.

Barbara Kohde, SAP Barbara is a Presales Senior Specialist for SAP Application Lifecycle Management. With over 15 years in the IT industry. Barbara has worked very closely with a broad range of SAP customers in Europe, Asia and Australia/New Zealand.

Registration

To register your interest please email your name, company and contact details tojoseph.banks@sap.com

DPC_RT_STATUS_ERROR MAI metric push failed

$
0
0

Hello, we are using solman7.1 SP11 on HPUX  .  We added an app server to our system and It requires a webdispatcher . I connected solution manager to a web dispatcher

 

 

Web Administration Version 7.41.0, Wed Feb 27 17:26:14 CET 2013

SAP Web Dispatcher Version 7.41.0, multithreaded, ASCII, 64 BIT

 

 

In the web admin  administrator I can see the system is connected by checking the

Active Services tab :

 

Active = green

Protocol = HTTP

Services/ port = 80

Hostname port =  solmanqa.xxxxxxxxx.com

Keep alive = 60            

Prod timeout = 60

Bind to host = green

Ext Bind = green

 

 

 

Is solman I see in   system preparation > (step 5 (configure connectivity) > configure web dispatcher

 

The web dispatcher is identified

  1. solmanqa.xxxxxxxxx.com:80

 

URL check give me ok

URL reached (HTTP Code 200: OK)

 

 

Test connectivity give me 3 green lights  for

 

L3 - Test WS can be reached through specified Web Dispatcher:

http://solmanwdqa.xxxxxxxxx.com:80

 

 

 

L2 - Test WS can be reached through ICM:

http://sapx11ci.xxxxxxxxx.net:8032

 

 

L2 - Test WS can be reached through ICM:

http://sapx1133.xxxxxxxxx.net:8033

 

 

 

When I click  on the ‘show icon for all three  it takes me to

The WS navigation  webpage for solutionthe  manager system

 

 

I have all green status light in the Step 5   and

Basic config .  step 2  Specify user  and connectivity  data > step 2.4  Solution manager Internal connectivity

 

When I  to the SMD agent logs I see the following :        

 

 

 

 

 

 

 

2014 08 10 10:59:54:285

Severity

Error

Location

  1. com.sap.smd.e2emai

Text

[MAIMetricProvider.pushFailed] MAI metric push failed (Exception occurred) with status: DPC_RT_STATUS_ERROR
[EXCEPTION]
java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found. The request URL was:"http://solmanwdqa.xxxxxxxxx.com:80/sap/bc/srt/scs/sap/e2e_dpc_push?sap-client=001". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
at com.sap.smd.agent.wsclients.dpc.BindingStub.e2eDpcPushMetrics(BindingStub.java:85)
at com.sap.smd.agent.wsclients.dpc.BindingStub.e2eDpcPushMetrics(BindingStub.java:96)
at sun.reflect.GeneratedMethodAccessor2196.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.smd.api.util.SynchronizedProxy$SyncHandler.invoke(SynchronizedProxy.java:32)
at com.sun.proxy.$Proxy24.e2eDpcPushMetrics(Unknown Source)
at com.sap.smd.dpc.job.DPCServicePushMetricJob.pushSimpleEvents(DPCServicePushMetricJob.java:122)
at com.sap.smd.dpc.job.DPCServicePushMetricJob.run(DPCServicePushMetricJob.java:66)
at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46)
at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)
at java.lang.Thread.run(Thread.java:743)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found. The request URL was:"http://solmanwdqa.xxxxxxxxx.com:80/sap/bc/srt/scs/sap/e2e_dpc_push?sap-client=001". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:998)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1452)
at com.sap.smd.agent.wsclients.dpc.BindingStub.e2eDpcPushMetrics(BindingStub.java:78

 

 

 

 

 

 

 

Looking in SICF, I see  sap/bc/srt/scs  as activated but

there is no   sap/e2e_dpc_push?sap-client=001     afterwards .  Is this sap/e2e_dpc_push?sap-client=001     dynamically created or do we have to have the full path defined in SICF        /sap/bc/srt/scs/sap/e2e_dpc_push?sap-client=001

 

 

 

I have looked at several notes with no success

 

1855064 -  Error occurred when calling DPC web service  (I tries this several times)

 

 

http://wiki.scn.sap.com/wiki/display/SMSETUP/SMS_CHECK_4

 

 

note 1853160  Grey host metrics in Technical Monitoring

 

 

http://scn.sap.com/thread/3408663

 

 

 

 

 

 

 

 

 

Validity option not getting displayed in Bank Information ESS

$
0
0


Hi Experts,

 

Can you please advise how to enable the validity option in the screen for bank bank information. Currently ESS->Personal Profile->Bank Information->Add other bank there is no option to specify the date range eg : create a bank record for a future dated record ( screen shot attached). My understanding is this option is part of the standard and should come towards the bottom of the screen.

 

I have checked the FPM_FORM_UIBB->HRESS_CC_PER_DTL_BANK_AU and it seems all okie. Can you please advise.Your help is highly appreciated.

 

Cheers,

Shyam

SAP BPC - Dimension processing Error - EPM 10

$
0
0

Hi All,

 

We have been having the dimension processing issues for entity dim, how do we troubleshoot issues related to dimension processing and how do we locate which member exactly giving the error.. I know that there are some dimension tables available in back-end... Can anyone help to troubleshoot issues related to dimension processing..

 

dim processing issues in EPM 10.png

How do we find out the required dims on each of the dimension like CATE - Category, Account, Time and Entity dims.

 

Thanks for your help in advance...

Viewing all 8800 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>