April 2024

Commit in RFC function module called in background task (tRFC)

Hello everyone, I’m currently struggling with a design perspective. I need to call a BAPI_GOODSMVT_CREATE in a User-Exit. As we know, it’s strongly recommended to commit the change after the BAPI call with BAPI_TRANSACTION_COMMIT, or, in case of errors, BAPI_TRANSACTION_ROLLBACK. But, it not permitted to commit in User-Exit/BAdI. One of the solutions is to wrap the …

Commit in RFC function module called in background task (tRFC) Read More »

Commit in RFC function module called in background task (tRFC)

Hello everyone, I’m currently struggling with a design perspective. I need to call a BAPI_GOODSMVT_CREATE in a User-Exit. As we know, it’s strongly recommended to commit the change after the BAPI call with BAPI_TRANSACTION_COMMIT, or, in case of errors, BAPI_TRANSACTION_ROLLBACK. But, it not permitted to commit in User-Exit/BAdI. One of the solutions is to wrap the …

Commit in RFC function module called in background task (tRFC) Read More »

How to set different menge during the post WA04?

Hi,experts.I’ve got an issue with adding a different menge during the post.I got a field ZZMENGE with more than 3 decimal digits and i want a price to calculate with this additional field.I found a point in code where does it happends : LMBGBFSU.       FORM wert_preisproportional USING w-stprs LIKE mbew-stprs w-peinh LIKE mbew-peinh …

How to set different menge during the post WA04? Read More »

How to set different menge during the post WA04?

Hi,experts.I’ve got an issue with adding a different menge during the post.I got a field ZZMENGE with more than 3 decimal digits and i want a price to calculate with this additional field.I found a point in code where does it happends : LMBGBFSU.       FORM wert_preisproportional USING w-stprs LIKE mbew-stprs w-peinh LIKE mbew-peinh …

How to set different menge during the post WA04? Read More »

How does valies assigned to fields Menge an BETRAG  at start of FM ‘ mb_calculate_values’ ?

Hi, experts.How does valies assigned to fields Menge an BETRAG. During the posting it goes to MM07MFF9_F_SEGMENTE_GENERIEREN  inside  ENHANCEMENT-SECTION     F_SEGMENTE_GENERIEREN_02 SPOTS ES_SAPMM07M.  The fields are filling with strange values ( MENGE = 1.2000000000000000E+01, BETRAG = 4.9000000000000000E+01 )  And if there an enhancement to change them?

How does valies assigned to fields Menge an BETRAG  at start of FM ‘ mb_calculate_values’ ?

Hi, experts.How does valies assigned to fields Menge an BETRAG. During the posting it goes to MM07MFF9_F_SEGMENTE_GENERIEREN  inside  ENHANCEMENT-SECTION     F_SEGMENTE_GENERIEREN_02 SPOTS ES_SAPMM07M.  The fields are filling with strange values ( MENGE = 1.2000000000000000E+01, BETRAG = 4.9000000000000000E+01 )  And if there an enhancement to change them?

Scroll to Top